laravel-forum
laravel-forum copied to clipboard
๐ Forum built with Laravel 5.4
Laravel Forum
I'm blogging my way through the advanced Laracast course: Let's Build A Forum with Laravel and TDD
Build an online forum with Laravel
Part 1: Initial Setup and Seeding
Part 2:โCreate routes, views, controllers. Generate auth. Write test
Part 3:โPost and Show Replies to Threads
Part 4: Give the User the ability to create Threads
Part 5: Testing Helpers in Laravelย 5.4
Helpful commands
# Clear cache
$ php artisan cache:clear
# Run tests
$ phpunit
// OR
$ ./vendor/bin/phpunit
# Clear config
$ php artisan config:clear
# Migrate or refresh database
$ php artisan migrate:refresh
$ php artisan migrate:rollback
# Seed database with db seeders
$ php artisan db:seed
# Seed database with model factories
$ php artisan tinker
> factory('App\Thread', 50)->create();