![]() After installing theĮxtension you may need to restart your web server. Systems, please consult the relevant documentation. Typically be found in the the php-curl package. ![]() If you will be making web service requests, you must have the PHP In order to use the phar archive, you must have the PHP Require AutoloaderĪfter installing the dependencies, you need to require the Composer autoloaderįrom your code: require 'vendor/autoload.php' Install via PharĪlthough we strongly recommend using Composer, we also provide aĭependencies for GeoIP2. System, composer.json should be added to it. The directory vendor in your project directory. You should now have the files composer.json and composer.lock as well as Run in your project root: php composer.phar require geoip2/geoip2: ~2.0 You should now have the file composer.phar in your project directory. To download Composer, run in the root directory of your project: curl -sS | php We recommend installing this package with Composer. This package provides an API for the GeoIP2 and GeoLite2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |