- PHP 8.1
- Laravel v9.3.1
- Clone repository & move into directory
git clone git@github.com:JasonMortonNZ/HailOAuthExample.git Hail
- Change directory
cd Hail
- Create an
.env
file with bare essentials (HAIL_ entries are important!)
cp .env.example .env
- Generate an app key
php artisan key:generate
- Install composer dependencies
composer install
- Setup local Valet link (optional)
valet link hail --secure # --secure flag for HTTPS (again optional)
- Visit https://hail.test and hit the "Connect to Hail" button
- Follow the OAuth2 flow and upon redirect view the articles!!