Skip to content

pointdeb/laravel-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LARAVEL COMMON

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages