atog/phpokemon

atog/phpokemon is a PHP 5.5+ wrapper for PokeAPI

v1.0.0 2016-05-14 13:38 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:03:38 UTC


README

Latest Version on Packagist Software License Build Status HHVM StyleCI Coverage Status Quality Score Total Downloads

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.