πŸ”Developer Gate

we have a developer gate to ensure that only trusted developers can access the feature, it can be used to make some features only for the developer.

How to use

we added some helpers to make it easy, so in your controller method you can use this helper to check if the user is a developer or not

public function index(Request $request)
{
   if(is_developer()){
    //Do THIS
   }
   
   return developer_redirect();
}

and it will redirect it to enter the password of the developer and you change this password just from the config file.

Last updated