labkito / laravel-helper
A collection of Laravel helper functions (datatable, etc.)
Package info
github.com/LabKito/Laravel-Helper
Language:TypeScript
pkg:composer/labkito/laravel-helper
Requires
- php: >=8.1
- illuminate/console: ^11.0|^12.0
- illuminate/http: ^11.0|^12.0
- laravel/framework: ^11.0|^12.0
README
This package provides a set of helper functions to streamline common tasks in Laravel applications. It includes datatables, encryption, and output standartization features.
Installation
You can install the package via Composer:
composer require labkito/laravel-helper
Generate Template
To generate the necessary template files, run the following Artisan command:
php artisan labkito-helper:install
Documentation
Datatable
The datatable() helper simplifies building dynamic, server-side DataTable responses in Laravel.
It supports filtering, searching, ordering, pagination, custom response mapping, and optional encryption — all in one call.
Encryption
The encryption() helper offers easy-to-use functions for encrypting and decrypting data, ensuring that sensitive information is securely handled.
Output Standartization
The output() standartization helper helps maintain consistent response formats across your application, making it easier to handle API responses and error messages.