michalsn / codeigniter-htmx-demo

This is a demo for CodeIgniter HTMX helper library.
https://michalsn.github.io/codeigniter-htmx/
MIT License
60 stars 13 forks source link

Call to undefined method CodeIgniter\HTTP\IncomingRequest::isHtmx() #7

Closed SpectraX07 closed 1 year ago

SpectraX07 commented 1 year ago

have done whatever was suggested for the demo public $psr4 = [ APP_NAMESPACE => APPPATH, // For custom app namespace 'Config' => APPPATH . 'Config', 'Michalsn\CodeIgniterHtmxDemo' => APPPATH . 'ThirdParty/htmx-demo/src', ]; but still getting that error, do I have to load anything else?

michalsn commented 1 year ago

Have you installed the library itself?

composer require michalsn/codeigniter-htmx
SpectraX07 commented 1 year ago

nah manual installation, as mentioned in doc.

michalsn commented 1 year ago

What is your CodeIgniter version?

SpectraX07 commented 1 year ago

I got it thanks, but the doc is a bit confusing right, On the Manual installation section it's not even mentioned I have to run composer syntax in order to run the demo.

It's working now

michalsn commented 1 year ago

Okay, thank you. I will try to update the introduction to be more clear about it.