pointdeb / laravel-common
Common packages to start laravel app.
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/pointdeb/laravel-common
Requires
- php: ^7.1
- illuminate/support: ^5.7
This package is auto-updated.
Last update: 2025-09-13 00:33:38 UTC
README
this package provide common laravel functionality used to begin a project.
Installation
composer require pointdeb/laravel-common
VALIDATORS:
In AppServiceProvider.php add this line in boot function
public function boot() { ... \Pointdeb\LaravelCommon\Validators\HttpValidator::boot(); }
ETAG
- Laravel: in Kernel.php register the middleware
protected $middleware = [ ... \App\Http\Middleware\Etag::class, ];
- Lumen: in app.php register the middleware
$app->middleware([ ... \Pointdeb\LaravelCommon\Middlewares\Etag::class, ]);
Comming soon 😄
LICENCE MIT