Download the PHP package mrkacmaz/laravel-ssp without Composer
On this page you can find all versions of the php package mrkacmaz/laravel-ssp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mrkacmaz/laravel-ssp
More information about mrkacmaz/laravel-ssp
Files in mrkacmaz/laravel-ssp
Package laravel-ssp
Short Description Process server-side processing (SSP) for an Eloquent model, supporting dynamic filtering, sorting, and pagination.
License MIT
Informations about the package laravel-ssp
Laravel SSP-INIT
SSP-INIT is a Laravel package designed to facilitate server-side processing (SSP) for Eloquent models, supporting dynamic filtering, sorting, and pagination. This package simplifies the development of data-intensive applications by abstracting complex server-side operations.
Features
- Dynamic Filtering: Apply filters based on request parameters.
- Sorting: Sort data by any model attribute.
- Pagination: Efficiently paginate the data based on the client's request.
- Eager Loading: Supports eager loading of relationships to optimize query performance.
- Response Encoding: Optionally encode the response data.
Requirements
- PHP ^8.2
- Laravel ^8.0
Installation
To install the SSP-INIT package, run the following command in the root of your Laravel project:
Usage
Here is a basic example of how to use the SSP trait in a Laravel controller:
Controller
Blade File
JS File
In this example, the UserController utilizes the SSP trait to process data for the User model according to the parameters specified in the request.
Configuration
No additional configuration is required to start using SSP-INIT, as it uses Laravel's default configurations.
Support
If you are having issues, please let us know by submitting an issue on GitHub.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
All versions of laravel-ssp with dependencies
illuminate/database Version ^8.0 || ^9.0
illuminate/http Version ^8.0 || ^9.0
illuminate/support Version ^8.0 || ^9.0