Package Data | |
---|---|
Maintainer Username: | SCollins |
Package Create Date: | 2016-05-31 |
Package Last Update: | 2016-08-23 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-18 03:02:20 |
Package Statistics | |
---|---|
Total Downloads: | 68 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 3 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
This package allows you to use Expose in Laravel with support for caching ad queuing.
First grab a copy with composer
$ composer require scollins/laravel-expose
You can also manually add it to your composer.json and run composer update
{
"require": {
"scollins/laravel-expose": "^1.0"
}
}
Add the service provider to your config\app.php
file
SCollins\LaravelExpose\ExposeServiceProvider::class
Add the facade
'Expose' => SCollins\LaravelExpose\Facades\Expose::class
Add the Middleware to your kernel.php
\SCollins\LaravelExpose\Middleware\Expose::class
It should now run on any requests with input and add the Job to your queue. While your queue is running it will analyse the requests and log any high values.
It uses the Cache to store the requests which could contain sensitive information, use the ignore config option to exclude this.
Laravel Expose is licensed under The MIT License (MIT).