guanguans / laravel-api-response
Normalize and standardize Laravel API response data structures.
Fund package maintenance!
Wechat
Requires
- php: >=7.4
- ext-json: *
- laravel/framework: ^8.83 || ^9.0 || ^10.0 || ^11.0
- spatie/laravel-package-tools: ^1.12
Requires (Dev)
- brainmaestro/composer-git-hooks: ^2.8 || ^3.0
- driftingly/rector-laravel: ^1.2
- ergebnis/composer-normalize: ^2.43
- ergebnis/license: ^2.4
- ergebnis/php-cs-fixer-config: dev-main
- ergebnis/rector-rules: ^1.0
- guanguans/ai-commit: dev-main
- guanguans/monorepo-builder-worker: ^1.4
- hyperf/composer-plugin: ^1.0
- icanhazstring/composer-unused: ^0.8
- laravel-lang/http-statuses: ^3.2
- maglnet/composer-require-checker: ^3.8 || ^4.0
- mockery/mockery: ^1.6
- orchestra/testbench: ^6.46 || ^7.0 || ^8.0 || ^9.0
- pestphp/pest: ^1.23 || ^2.0
- pestphp/pest-plugin-faker: ^1.0 || ^2.0
- pestphp/pest-plugin-laravel: ^1.2 || ^2.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^1.12
- phpstan/phpstan-deprecation-rules: ^1.2
- rector/rector: ^1.2
- spatie/pest-plugin-snapshots: ^1.1 || ^2.0
- spaze/phpstan-disallowed-calls: ^3.4
Suggests
- laravel-lang/http-statuses: Provide localized message for HTTP status code.
This package is auto-updated.
Last update: 2024-09-05 12:00:51 UTC
README
Normalize and standardize Laravel API response data structures.
Features
- Support for ...
Related Links
Requirement
- PHP >= 7.4
Installation
composer require guanguans/laravel-api-response --ansi -v
Configuration
Publish files(optional)
php artisan vendor:publish --provider="Guanguans\\LaravelApiResponse\\ApiResponseServiceProvider" --ansi -v
Configure channels in the config/api-response.php
and .env
file
...
Usage
...
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
Thanks
License
The MIT License (MIT). Please see License File for more information.