zablose / allog
Log all requests to the database.
2.1.0
2021-04-20 13:56 UTC
Requires
- php: ~7.4|^8.0
- ext-curl: *
- ext-json: *
- ext-pdo: *
- zablose/dotenv: ^1.2.1
Requires (Dev)
- facade/ignition: ^2.8.3
- fakerphp/faker: ^1.14.1
- fideloper/proxy: ^4.4.1
- fruitcake/laravel-cors: ^2.0.3
- guzzlehttp/guzzle: ^7.3.0
- laravel/framework: ^8.37.0
- laravel/tinker: ^2.6.1
- mockery/mockery: ^1.4.3
- nunomaduro/collision: ^5.4.0
- phpunit/phpunit: ^9.5.4
README
Log all requests to the database, including some data from $_SERVER array, all data from $_GET and $_POST.
Protected keys from the config will be replaced with '*' for $_POST data only.
Server Config
Name | Value | Description |
---|---|---|
ALLOG_DEBUG | false | |
ALLOG_SERVER_NAME | allog | |
ALLOG_DB_CONNECTION | mysql | |
ALLOG_DB_HOST | localhost | |
ALLOG_DB_PORT | 3306 | |
ALLOG_DB_DATABASE | allog | |
ALLOG_DB_USERNAME | allog | |
ALLOG_DB_PASSWORD | ||
ALLOG_DB_CHARSET | utf8mb4 | |
ALLOG_DB_PREFIX |
Client Config
Name | Value | Description |
---|---|---|
ALLOG_DEBUG | false | |
ALLOG_CLIENT_STATE | ||
ALLOG_CLIENT_NAME | ||
ALLOG_CLIENT_TOKEN | ||
ALLOG_SERVER_URL | https://www.allog.zdev/ | |
ALLOG_PROTECTED_1 | _token | |
ALLOG_PROTECTED_2 | password | |
ALLOG_PROTECTED_3 | password_confirmation | |
ALLOG_PROTECTED_* | another_field | You need to protect of being recorded as is. |
License
This package is free software distributed under the terms of the MIT license.