|
| 1 | +# laravel-api-response |
| 2 | + |
| 3 | +[![Latest Version on Packagist][ico-version]][link-packagist] |
| 4 | +[![Software License][ico-license]](LICENSE.md) |
| 5 | +[![Build Status][ico-travis]][link-travis] |
| 6 | +[![Coverage Status][ico-scrutinizer]][link-scrutinizer] |
| 7 | +[![Quality Score][ico-code-quality]][link-code-quality] |
| 8 | +[![Total Downloads][ico-downloads]][link-downloads] |
| 9 | + |
| 10 | +A Laravel wrapper for thephpleague's Fractal package |
| 11 | + |
| 12 | +## Install |
| 13 | + |
| 14 | +Via Composer |
| 15 | + |
| 16 | +``` bash |
| 17 | +composer require lykegenes/laravel-api-response |
| 18 | +``` |
| 19 | + |
| 20 | +## Usage |
| 21 | + |
| 22 | +``` php |
| 23 | +$skeleton = new Lykegenes\ApiResponse(); |
| 24 | +echo $skeleton->echoPhrase('Hello, Lykegenes!'); |
| 25 | +``` |
| 26 | + |
| 27 | +## Testing |
| 28 | + |
| 29 | +``` bash |
| 30 | +composer test |
| 31 | +``` |
| 32 | + |
| 33 | +## Credits |
| 34 | + |
| 35 | +- [Patrick Samson][link-author] |
| 36 | +- [All Contributors][link-contributors] |
| 37 | + |
| 38 | +## License |
| 39 | + |
| 40 | +The MIT License (MIT). Please see [License File](LICENSE.md) for more information. |
| 41 | + |
| 42 | +[ico-version]: https://img.shields.io/packagist/v/lykegenes/laravel-api-response.svg?style=flat-square |
| 43 | +[ico-license]: https://img.shields.io/packagist/l/lykegenes/laravel-api-response.svg?style=flat-square |
| 44 | +[ico-travis]: https://img.shields.io/travis/Lykegenes/laravel-api-response/master.svg?style=flat-square |
| 45 | +[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/lykegenes/laravel-api-response.svg?style=flat-square |
| 46 | +[ico-code-quality]: https://img.shields.io/scrutinizer/g/lykegenes/laravel-api-response.svg?style=flat-square |
| 47 | +[ico-downloads]: https://img.shields.io/packagist/dt/lykegenes/laravel-api-response.svg?style=flat-square |
| 48 | + |
| 49 | +[link-packagist]: https://packagist.org/packages/lykegenes/laravel-api-response |
| 50 | +[link-travis]: https://travis-ci.org/lykegenes/laravel-api-response |
| 51 | +[link-scrutinizer]: https://scrutinizer-ci.com/g/lykegenes/laravel-api-response/code-structure |
| 52 | +[link-code-quality]: https://scrutinizer-ci.com/g/lykegenes/laravel-api-response |
| 53 | +[link-downloads]: https://packagist.org/packages/lykegenes/laravel-api-response |
| 54 | +[link-author]: https://github.com/lykegenes |
| 55 | +[link-contributors]: ../../contributors |
0 commit comments