Lines Matching +full:- +full:composer +full:-
8 ## Installation (Composer) ##
10 We recommend installing this package with [Composer](https://getcomposer.org/).
12 ### Download Composer ### argument
14 To download Composer, run in the root directory of your project:
17 curl -sS https://getcomposer.org/installer | php
20 You should now have the file `composer.phar` in your project directory.
27 php composer.phar require maxmind-db/reader:~1.0
30 You should now have the files `composer.json` and `composer.lock` as well as
32 system, `composer.json` should be added to it.
36 After installing the dependencies, you need to require the Composer autoloader
45 If you don't want to use Composer for some reason, a custom
50 require('/path/to/MaxMind-DB-Reader-php/autoload.php');
62 RPMs are available in the [official Fedora repository](https://apps.fedoraproject.org/packages/php-…
67 dnf install php-maxminddb
74 yum install php-maxminddb
90 $databaseFile = 'GeoIP2-City.mmdb';
95 print_r($reader->get($ipAddress));
99 print_r($reader->getWithPrefixLen($ipAddress));
101 $reader->close();
106 MaxMind provides an optional C extension that is a drop-in replacement for
115 file](https://github.com/maxmind/libmaxminddb/blob/master/README.md#installing-from-a-tarball).
117 top-level directory of this distribution:
136 php5-dev for Debian-based systems or php-devel for RedHat/Fedora-based ones.
138 ## 128-bit Integer Support ##
140 The MaxMind DB format includes 128-bit unsigned integer as a type. Although
141 no MaxMind-distributed database currently makes use of this type, both the
143 requires gmp or bcmath to read databases with 128-bit unsigned integers.
153 …his code using the [GitHub issue tracker](https://github.com/maxmind/MaxMind-DB-Reader-php/issues).
167 Patches and pull requests are encouraged. All code should follow the PSR-1 and
168 PSR-2 style guidelines. Please include unit tests whenever possible.
176 This software is Copyright (c) 2014-2019 by MaxMind, Inc.