PHPackages                             slatyo/laravel-pokemontcg - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. slatyo/laravel-pokemontcg

ActiveLibrary[API Development](/categories/api)

slatyo/laravel-pokemontcg
=========================

A wrapper for the pokemontcg.io API

1.2.1(2y ago)54MITPHPPHP ^8.0CI failing

Since Nov 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Slatyo/laravel-pokemontcg)[ Packagist](https://packagist.org/packages/slatyo/laravel-pokemontcg)[ Docs](https://github.com/slatyo/laravel-pokemontcg)[ RSS](/packages/slatyo-laravel-pokemontcg/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (4)Dependencies (8)Versions (5)Used By (0)

Laravel Pokemontcg
==================

[](#laravel-pokemontcg)

[![Latest Version on Packagist](https://camo.githubusercontent.com/934b8bcd001e8dda78d45092735aa849ba03ad52e8dd6b06cd68d5d14d2a251a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f536c6174796f2f6c61726176656c2d706f6b656d6f6e7463672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/slatyo/laravel-pokemontcg)[![Total Downloads](https://camo.githubusercontent.com/8bfdc542e0a7480dc3460efde3286312ef5553a34dbbdeb58a87ec4571af54db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f536c6174796f2f6c61726176656c2d706f6b656d6f6e7463672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Slatyo/laravel-pokemontcg)[![run-tests](https://github.com/Slatyo/laravel-pokemontcg/actions/workflows/main.yml/badge.svg)](https://github.com/Slatyo/laravel-pokemontcg/actions/workflows/main.yml)[![CodeFactor](https://camo.githubusercontent.com/858f99747792dd7f7adecad28445a3f07214d3d8327b45707d76afb22f7d1ae7/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f736c6174796f2f6c61726176656c2d706f6b656d6f6e7463672f6261646765)](https://www.codefactor.io/repository/github/slatyo/laravel-pokemontcg)[![codecov](https://camo.githubusercontent.com/c1c3acd5dbd2c8d26f44d2ec205bc653d2e86432e0ac31ee6e59ff64f166a23f/68747470733a2f2f636f6465636f762e696f2f67682f536c6174796f2f6c61726176656c2d706f6b656d6f6e7463672f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4644473751363831574c)](https://codecov.io/gh/Slatyo/laravel-pokemontcg)

This package is a simple API laravel wrapper for [Pokemontcg](https://pokemontcg.io) with a sleek Model design for API routes and authentication.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require slatyo/laravel-pokemontcg
```

The package will automatically register its service provider.

To publish the config file to `config/pokemontcg.php` run:

```
php artisan vendor:publish --provider="Slatyo\LaravelPokemontcg\LaravelPokemontcgServiceProvider"
```

Default content of `config/pokemontcg.php`:

```
