PHP code example of entegration / laravel-entra-id
1. Go to this page and download the library: Download entegration/laravel-entra-id 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/ */
entegration / laravel-entra-id example snippets
// In callback method
return redirect('/dashboard'); // Change this to your desired route
bash
php artisan entra:install
bash
php artisan migrate