smart-contact / tracking-application-log
Installs: 1 448
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Language:JavaScript
Requires
- jenssegers/agent: ^2.6
- maatwebsite/excel: ^3.1
This package is auto-updated.
Last update: 2024-10-14 15:08:12 UTC
README
Installation
composer require smart-contact/tracking-application-log
php artisan tracking-application-log:install
php artisan migrate
Define access
protected function gate()
{
Gate::define('view', function ($user) {
//here you can define access
});
}
Add LaravelExcel
On config/app.php add this lines:
'providers' => [
...
Maatwebsite\Excel\ExcelServiceProvider::class,
...
]
'aliases' => [
...
'Excel' => Maatwebsite\Excel\Facades\Excel::class,
...
]