atog / phpokemon
atog/phpokemon is a PHP 5.5+ wrapper for PokeAPI
v1.0.0
2016-05-14 13:38 UTC
Requires
- php: >=5.5
- atog/simple-api-client: ^1.0
Requires (Dev)
- estahn/phpunit-json-assertions: ^0.4.0
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2024-11-09 19:58:43 UTC
README
atog/phpokemon is a PHP 5.5+ wrapper for PokeAPI. This package is compliant with PSR-1, PSR-2 and PSR-4.
Install
Via Composer
$ composer require atog/phpokemon
Usage
<?php require_once 'vendor/autoload.php'; $client = new \Atog\PHPokemon\Client(); $client->pokemon->find('bulbasaur'); // returns Atog\PHPokemon\Models\Pokemon $client->pokemon->find(2); // returns Atog\PHPokemon\Models\Pokemon $client->moves->find(15); // returns Atog\PHPokemon\Models\Moves
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Security
If you discover any security related issues, please email pascal.kleindienst@posteo.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.