来自 Laravel 8 从零开始的完成的博客演示项目。
First clone this repository, install the dependencies, and setup your .env file.
git clone [email protected]:JeffreyWay/Laravel-From-Scratch-Blog-Project.git blog
composer install
cp .env.example .envThen create the necessary database.
php artisan db
create database blogAnd run the initial migrations and seeders.
php artisan migrate --seedOf course we only had time in the Laravel From Scratch series to review the essentials of a blogging platform. You can certainly take this many steps further. Here are some quick ideas that you might play with.
status column to the posts table to allow for posts that are still in a "draft" state. Only when this status is changed to "published" should they show up in the blog feed. 暂无开放 Issues,或尚未同步最近议题。