Laravel quickstart gist

Laravel quickstart gist

Here is my quick start bootstrap for creating laravel sites from scratch


cd ~/git
brew install nmp
brew install nodejs
curl -sS https://getcomposer.org/installer | php
composer global require laravel/installer

laravel new 
php atisan migrate:install
php artisan make:auth
php artisan migrate

#api
composer require laravel/passport
php artisan migrate
php artisan passport:install
# stuff from here: https://laravel.com/docs/5.6/passport
php artisan vendor:publish --tag=passport-components
php artisan passport:keys
php artisan migrate
npm install npm@latest -g
npm install
npm run dev

# add vue's to a template somewhere
artisan serve

# create a que using the database
# https://laravel.com/docs/5.6/queues
php artisan queue:table
php artisan migrate

composer require "laravel/cashier":"~7.0"
php artisan make:migration create_subscription_table
php artisan make:migration add_subscription_fields
# follow from here: https://laravel.com/docs/5.6/billing#introduction

php artisan migrate
php artisan vendor:publish