{"id":18310694,"url":"https://github.com/visualappeal/laraveldatabaselogger","last_synced_at":"2025-10-18T14:23:32.607Z","repository":{"id":62544658,"uuid":"81719233","full_name":"VisualAppeal/LaravelDatabaseLogger","owner":"VisualAppeal","description":"Laravel package to log messages into the database instead of, or in addition to, a file.","archived":false,"fork":false,"pushed_at":"2020-04-03T15:18:54.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T23:09:17.378Z","etag":null,"topics":["database","laravel","laravel-5-package","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VisualAppeal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-12T10:48:06.000Z","updated_at":"2021-06-11T09:32:15.000Z","dependencies_parsed_at":"2022-11-02T22:00:29.359Z","dependency_job_id":null,"html_url":"https://github.com/VisualAppeal/LaravelDatabaseLogger","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualAppeal%2FLaravelDatabaseLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualAppeal%2FLaravelDatabaseLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualAppeal%2FLaravelDatabaseLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualAppeal%2FLaravelDatabaseLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VisualAppeal","download_url":"https://codeload.github.com/VisualAppeal/LaravelDatabaseLogger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247383872,"owners_count":20930362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","laravel","laravel-5-package","php"],"created_at":"2024-11-05T16:15:16.540Z","updated_at":"2025-10-18T14:23:27.572Z","avatar_url":"https://github.com/VisualAppeal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel DatabaseLogger\n\nLaravel package to log messages into a database.\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require visualappeal/databaselogger\n```\n\n## Usage\n\nAdd the following lines in your `config/logging.php`:\n\n```\n'db' =\u003e [\n    'driver' =\u003e 'custom',\n    'via' =\u003e VisualAppeal\\DatabaseLogger\\DatabaseLogger::class,\n    'level' =\u003e env('LOG_LEVEL', 'debug'), // Optional\n    'connection' =\u003e env('LOG_DATABASE', 'mysql'), // Optional\n    'table' =\u003e env('LOG_TABLE', 'logs'), // Optional\n    \n    // Encryption requires sodium: https://secure.php.net/manual/en/book.sodium.php\n    'encrypt' =\u003e env('LOG_ENCRYPT', false), // Optional, encrypt the context part of the log message before inserting it into the database\n    'encrypt_key' =\u003e env('LOG_ENCRYPT_KEY', env('APP_KEY', '')), // Optional, only used if encrypt is true\n],\n```\n\nDatabase migrations are automatically registered, you only have to call `php artisan migrate` after installing the package.\n\n## Security\n\nIf you discover any security related issues, please email tim@visualappeal.de instead of using the issue tracker.\n\n## Credits\n\n- [VisualAppeal][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/VisualAppeal/DatabaseLogger.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/VisualAppeal/DatabaseLogger\n[link-author]: https://github.com/visualappeal\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisualappeal%2Flaraveldatabaselogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisualappeal%2Flaraveldatabaselogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisualappeal%2Flaraveldatabaselogger/lists"}