Building a Laravel Blog

Easy and powerful.

What We'll Build

  • Display blog posts
  • Admin dashboard to manage posts
  • User auth and registration

Database GUI

View data quickly and easily.


  • All: Navicat
  • Mac: Sequel Pro
  • Windows: HeidiSQL
  • Linux: SQuirreL SQL


  • PHP built-in server
  • SQLite
  • Start and view our app

Database Migrations


  • name
  • email
  • avatar
  • username
  • password
  • role


  • user_id
  • title
  • slug
  • image
  • content
  • status
  • published_at

Model Factories

Create sample data quickly.

Seeding Our Database

Fill our database with sample data.

Routing Our App

Top down overview.


  • Home Page
  • Single Page
  • Contact Page


CSS and JS for our application.


  • Using gulp and Laravel Elixir
  • Using Sass
  • Using jQuery
  • Using Bootstrap

Styling the Site

Styling Post Components

Blade Layouts

Simple and extendable views.

Contact Page

  • Showing a Form
  • Processing a form
  • Sending an email


  • Built-in Laravel authentication
  • Creating login/register views

Profile Pages

  • View a user profile
  • Let a user edit their own profile

Admin Dashboard

  • Only admins can access
  • CRUD posts
  • New Dashboard namespace

Dashboard Routes

  • Home page
  • Posts resource controller

List All Posts

Create a Post

Edit a Post

Delete a Post

Authenticating the Dashboard

Only admins can access.

Dashboard Links

Only admins can see.

Laravel Blog App

By Chris Sevilleja

Laravel Blog App

  • 566
Loading comments...

More from Chris Sevilleja