This is the Laravel Testing 101 demo application. for more information please visit https://laraveltesting101.com.
You can also read the free articles I publish regarding this ebook at https://youghourta.com/blog/
- Clone this repo:
git clone https://github.com/djug/laraveltesting101.git cd laraveltesting101/- Install the dependencies:
composer install - Create a new database and create/update your
.envfile accordingly. You can copy the.env.examplefile (cp .env.example .env) - run the migrations
php artisan migrateand the seedersphp artisan db:seed - generate an encryption key
php artisan key:generate - Lunch the built-in PHP webserver
php artisan serve - Visit http://127.0.0.1:8000/ to see the demo homepage
Directories within the storage and the bootstrap/cache directories should be writable by your web server or the application might not run correctly.