karim-qaderi / zoroaster-logs
There is no license information available for the latest version (v1.0) of this package.
Provides a Log Viewer for zoroaster
v1.0
2019-02-23 08:01 UTC
Requires
- php: ^7.1.3
- arcanedev/log-viewer: *
This package is auto-updated.
Last update: 2024-11-24 05:08:23 UTC
README
نصب
composer require karim-qaderi/zoroaster-logs
سطح دسترسی
برای اینکه سطح دسترسی رو بزارید فایل app/Providers/ZoroasterServiceProvider.php
رو باز کنید کد زیر رو در boot
قرار دهید.
/** * Bootstrap any application services. * * @return void */ protected function boot() { Gate::define('Zoroaster-log-viewer', function ($user) { return in_array($user->email, [ 'karimqaderi1@gmail.com', ]); }); }