PHP code example of chrisreedio / socialment-bastion-azure
1. Go to this page and download the library: Download chrisreedio/socialment-bastion-azure 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/ */
chrisreedio / socialment-bastion-azure example snippets
$panel
->plugins([
// ... Other Plugins
\ChrisReedIO\Bastion\BastionPlugin::make(),
\ChrisReedIO\Socialment\SocialmentPlugin::make()
->registerProvider('azure', 'fab-microsoft', 'Azure Active Directory'),
])
use Spatie\Permission\Traits\HasRoles;
class User extends Authenticatable
{
use HasRoles;
}
$this->call([
// ... Other Seeders
RoleSeeder::class,
]);