Download the PHP package saritasa/dingo-api-custom without Composer
On this page you can find all versions of the php package saritasa/dingo-api-custom. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package dingo-api-custom
Dingo API customization
Custom settings and extensions for Dingo/Api package
See https://github.com/dingo/api
Laravel 5.x/6x
Install the package:
If you use Laravel 5.4 or less,
or 5.5+ with package discovery disabled,
add the BladeDirectivesServiceProvider service provider in config/app.php
:
Customizations
Registers CustomArraySerializer instead of ArraySerializer:
- Does not add 'meta' key for metadata, all metadata output to root.
Registers custom ApiExceptionHandler with specific handling of exceptions, defined in saritasa/php-common package
Changes format of JSON output for handled validation exceptions.
Contributing
- Create fork, checkout it
- Develop locally as usual. Code must follow PSR-1, PSR-2 - run PHP_CodeSniffer to ensure, that code follows style guides
- Cover added functionality with unit tests and run PHPUnit to make sure, that all tests pass
- Update README.md to describe new or changed functionality
- Add changes description to Semantic Versioning convention to determine next version number.
- When ready, create pull request
Make shortcuts
If you have GNU Make installed, you can use following shortcuts:
- (instead of ) - run static code analysis with PHP_CodeSniffer to check code style
- (instead of ) - fix code style violations with PHP_CodeSniffer automatically, where possible (ex. PSR-2 code formatting violations)
- (instead of ) - run tests with PHPUnit
-
- instead of
- or just without parameters - invokes described above install, cs, test tasks sequentially - project will be assembled, checked with linter and tested with one single command
Resources
- Bug Tracker
- Code
- Changes History
- Authors
All versions of dingo-api-custom with dependencies
api-ecosystem-for-laravel/dingo-api Version ^4.2
illuminate/http Version >=5.5 <12.0
laravel/framework Version >=5.5 <12.0
saritasa/transformers Version 1.2.2