Download the PHP package jasonej/enhanced-resources without Composer
On this page you can find all versions of the php package jasonej/enhanced-resources. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jasonej/enhanced-resources
More information about jasonej/enhanced-resources
Files in jasonej/enhanced-resources
Download jasonej/enhanced-resources
More information about jasonej/enhanced-resources
Files in jasonej/enhanced-resources
Vendor jasonej
Package enhanced-resources
Short Description Laravel's API Resources enhanced.
License proprietary
Package enhanced-resources
Short Description Laravel's API Resources enhanced.
License proprietary
Please rate this library. Is it a good library?
Informations about the package enhanced-resources
Enhanced Resources
Laravel's API Resources enhanced.
Installation
Usage
Creating an Enhanced Resource
Creating an Enhanced Collection
Appending Attributes
The default behavior of API resources is to return the model's attributes:
Appending an attribute allows you to dynamically append attributes via the model's underlying accessors.
Excluding Attributes
Excluding an attribute allows you to dynamically remove attributes from the resource's output.
Only Attributes
The only method allows you to restrict a resource's output to only the provided set of attributes.
{
"first_name": "John",
"last_name": "Doe"
}
All versions of enhanced-resources with dependencies
PHP Build Version
Package Version
Requires
laravel/framework Version
^5.8
The package jasonej/enhanced-resources contains the following files
Loading the files please wait ....