Download the PHP package napp/apicore without Composer
On this page you can find all versions of the php package napp/apicore. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package apicore
Napp API Core
Use as a foundation for APIs.
Features
- Full request cycle
- APU auth guard
- Transform request input based on model api mapping
- Validate transformed data
- Transform response output (with support for nested relationships using
TransformAware
) - Correct HTTP responses backed into ApiController
- Exception handling with two renderers (dev and prod)
- Standard Exceptions
- ETag middleware for cache responses (Not Modified 304)
- Internal Router for internal api requests
- API Proxy to use easy request handling
Usage
Transform Mapping
Being able to hide database fields from the outside exposed API. With auto type casting.
Factory
Using a factory pattern.
Requests
Extending the ApiRequest
will automatically transform the input and validate it if Laravel rules are defined.
API Controllers
API Controllers can use the requests, the factory for creating a model, transforming the output and finally deliver the correct reponse.
Internal router
Using the Internal router to request APIs.
All versions of apicore with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2|^8.0
ext-json Version *
illuminate/container Version ^5.8|^6.0|^7.0|^8.0
illuminate/contracts Version ^5.8|^6.0|^7.0|^8.0
illuminate/database Version ^5.8|^6.0|^7.0|^8.0
illuminate/http Version ^5.8|^6.0|^7.0|^8.0
illuminate/routing Version ^5.8|^6.0|^7.0|^8.0
illuminate/support Version ^5.8|^6.0|^7.0|^8.0
illuminate/validation Version ^5.8|^6.0|^7.0|^8.0
illuminate/pagination Version ^5.8|^6.0|^7.0|^8.0
ext-json Version *
illuminate/container Version ^5.8|^6.0|^7.0|^8.0
illuminate/contracts Version ^5.8|^6.0|^7.0|^8.0
illuminate/database Version ^5.8|^6.0|^7.0|^8.0
illuminate/http Version ^5.8|^6.0|^7.0|^8.0
illuminate/routing Version ^5.8|^6.0|^7.0|^8.0
illuminate/support Version ^5.8|^6.0|^7.0|^8.0
illuminate/validation Version ^5.8|^6.0|^7.0|^8.0
illuminate/pagination Version ^5.8|^6.0|^7.0|^8.0
The package napp/apicore contains the following files
Loading the files please wait ....