PHP code example of idealistsoft / framework-auth

1. Go to this page and download the library: Download idealistsoft/framework-auth library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

idealistsoft / framework-auth example snippets


   'services' => [
	   // ...
	   'auth' => 'Infuse\Auth\Services\Auth'
	   // ...
   ]
   

   'modules' => [
      'migrations' => [
         // ...
         'Auth'
      ],
      'migrationPaths' => [
         // ...
         'Auth' => 'vendor/infuse/auth/src/migrations'
      ]
   ]
   

   'console' => [
	   // ...
	   'commands' => [
		   // ...
		   'Infuse\Auth\Console\ResetPasswordLinkCommand'
	   ]
   ]
   

   'cron' => [
      // ...
      [
         'id' => 'auth:garbageCollection',
         'class' => 'Infuse\Auth\Jobs\GarbageCollection',
         'minute' => 30,
         'hour' => 1,
         'day' => 1
      ]
   ]