Step by Step to install Voyager and a Voyager Frontend
Prerequisites
- PHP >= 7.2.3 or ^8.1
- PHP extension sqlite3 (required for teamtnt/tntsearch)
- Node & NPM
- Composer
- Laravel Requirements
- Install Laravel + Voyager (Replace the $VARs with your own values)
- composer create-project --prefer-dist laravel/laravel $DIR_NAME
- cd $DIR_NAME && composer require tcg/voyager
- cp .env.example .env
- php artisan key:generate
- php artisan voyager:install
- php artisan voyager:admin $YOUR_EMAIL --create
- composer require pvtl/voyager-frontend
- composer dump-autoload && php artisan voyager-frontend:install
- npm run dev
- echo "SCOUT_DRIVER=tntsearch" >> .env