Laravel Artisan for Every Day Driving
A demo Laravel Project highlighting Laravel Artisan Created for the Omaha Laravel Meetup group
by: @BeardAboutIt
- Set up any pre-requisites ( MySQL, Apache, PHP ) for a local Laravel project.
- Clone the repository to wherever you keep projects locally.
git clone [email protected]:laravel-omaha/cat-friends.git
- Head into the cat-friends project directory.
cd cat-friends
- Install the Composer dependencies.
composer install
- Copy
.env.example
to.env
- Set any necessary details in
.env
such as your database user and password. - Generate a local application key.
php artisan key:generate
- Run your migrations and set up some smaple data.
php artisan cats:fresh
- The Presentation Notes contain the outline of the talk.
To see a finished version of the repository:
- Checkout the Dry Run branch.
git checkout dryrun
- Re-Run your migrations and refresh your sample data.
php artisan cats:fresh