composer require karim-qaderi/zoroaster-backup-tool
برای اینکه سطح دسترسی رو بزارید فایل app/Providers/ZoroasterServiceProvider.php
رو باز کنید کد زیر رو در boot
قرار دهید.
/**
* Bootstrap any application services.
*
* @return void
*/
protected function boot()
{
Gate::define('Zoroaster-backup-tool', function ($user) {
return in_array($user->email, [
'[email protected]',
]);
});
}