Via Composer Create-Project

composer create-project --prefer-dist laravel/laravel NAME

 

Inside Vagrant

To start the server

vagrant up

To get inside the server

vagrant ssh

 

MySQL

Access mysql inside vagrant

// Passwrod secret
mysql -u homestead -p

Create database

// Passwrod secret
create database NAME

 

Artisan

See Route list

php artisan route:list

Make controller

php artisan make:controller NAME

Database migration

php artisan make:migration create_todo_list_table --table=todo_lists

Posted on

Other library topics

Next/Prev

Worthy of Note

Worthy of Note is a site aimed at Web Designers & Developers. It offers a wide range of resources to help assist anyone in the web industry.

View