Package Data | |
---|---|
Maintainer Username: | KABBOUCHI |
Maintainer Contact: | georges.kabbouchi@gmail.com (Georges KABBOUCHI) |
Package Create Date: | 2018-08-23 |
Package Last Update: | 2023-02-20 |
Home Page: | |
Language: | Vue |
License: | MIT |
Last Refreshed: | 2024-11-23 03:00:13 |
Package Statistics | |
---|---|
Total Downloads: | 337,560 |
Monthly Downloads: | 2,004 |
Daily Downloads: | 63 |
Total Stars: | 73 |
Total Watchers: | 6 |
Total Forks: | 17 |
Total Open Issues: | 12 |
A Laravel Nova tool to manage and keep track of each one of your logs files.
Behind the scenes kabbouchi/laravel-ward is used.
You can install the package in to a Laravel app that uses Nova via composer:
composer require kabbouchi/nova-logs-tool
Next up, you must register the tool with Nova. This is typically done in the tools
method of the NovaServiceProvider
.
// in app/Providers/NovaServiceProvder.php
// ...
public function tools()
{
return [
// ...
new \KABBOUCHI\LogsTool\LogsTool(),
];
}
// in app/Providers/NovaServiceProvder.php
// ...
public function tools()
{
return [
// ...
(new \KABBOUCHI\LogsTool\LogsTool())
->canSee(function ($request) {
return true;
})
->canDownload(function ($request) {
return true;
})
->canDelete(function ($request) {
return false;
}),
];
}
Click on the "nova-logs-tool" menu item in your Nova app to see the tool provided by this package.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.