Installed class via composer, need help using. |
01-21-2017, 11:10 AM
(This post was last modified: 01-21-2017, 11:13 AM by enlivenapp. Edit Reason: formatting fail ) (01-19-2017, 03:09 PM)merger Wrote: I installed https://github.com/phpWhois/phpWhois through composer and turned on the autoload feature, but I can't figure out usage based on the documentation. The README for the repo has good examples, the CI specific part not included is where it's a little confusing for new folks. basically you can use it in any controller or model... Below should get you started. In a CI3 controller (models are basically the same): PHP Code: <?php |
Messages In This Thread |
Installed class via composer, need help using. - by merger - 01-19-2017, 03:09 PM
RE: Installed class via composer, need help using. - by skunkbad - 01-19-2017, 08:26 PM
RE: Installed class via composer, need help using. - by enlivenapp - 01-21-2017, 11:10 AM
|