fuzz / felk-php
This package is abandoned and no longer maintained.
No replacement package was suggested.
0.3.12
2018-05-03 17:14 UTC
Requires
- php: >=7.1
- elasticsearch/elasticsearch: ~5.0
- jsq/amazon-es-php: ^0.2.0
- laravel/framework: ^5.1.0
- nesbot/carbon: ~1.18
Requires (Dev)
This package is not auto-updated.
Last update: 2024-05-12 22:30:14 UTC
README
FELK is a helper library which can take data from a Laravel request/response and push it to a store (currently ElasticSearch, hence Fuzz ELK). It is intended to only be used in development environments to debug and run analytics on API requests/responses.
Installation
$ composer require fuzz/felk-php
Configuration
- Add the service provider to
config/app.php
'providers' => [ ... /* * Application Service Providers... */ \Fuzz\Felk\Providers\FelkServiceProvider::class, ... ],
- Publish the vendor config
$ php artisan vendor:publish --provider="Fuzz\Felk\Providers\FelkServiceProvider"
- Configure the configuration variables in
config/felk.php
- Add the Felk middleware to the middleware stack in
app/Http/Kernel.php
/** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware = [ ... \Fuzz\Felk\Middleware\FelkMiddleware::class, ... ];
- Check ElasticSearch.