• Stars
    star
    502
  • Rank 87,851 (Top 2 %)
  • Language
    PHP
  • Created over 3 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The completed blog demo project from Laravel 8 From Scratch.

Laravel From Scratch Blog Demo Project

http://laravelfromscratch.com

Installation

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 .env

Then create the necessary database.

php artisan db
create database blog

And run the initial migrations and seeders.

php artisan migrate --seed

Further Ideas

Of 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.

  1. Add a 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.
  2. Update the "Edit Post" page in the admin section to allow for changing the author of a post.
  3. Add an RSS feed that lists all posts in chronological order.
  4. Record/Track and display the "views_count" for each post.
  5. Allow registered users to "follow" certain authors. When they publish a new post, an email should be delivered to all followers.
  6. Allow registered users to "bookmark" certain posts that they enjoyed. Then display their bookmarks in a corresponding settings page.
  7. Add an account page to update your username and upload an avatar for your profile.

More Repositories

1

council

An open source forum built on Laravel.
PHP
619
star
2

laravel-mix-tailwind

mix.tailwind()
JavaScript
352
star
3

Laravel-Model-Validation

This Laravel package auto-validates a model on save.
PHP
276
star
4

Vagrant-Setup

My Vagrant install script
Shell
253
star
5

Laravel-Test-Helpers

Easier testing in Laravel.
PHP
220
star
6

laravel-elixir-vueify

This is a very thin wrapper for Laravel Elixir and the Browserify Vueify plugin.
JavaScript
158
star
7

laravel-elixir-webpack-official

JavaScript
88
star
8

Build-Modern-Laravel-Apps-With-Inertia

PHP
86
star
9

laravel-elixir-stylus

Elixir Wrapper Around Stylus
JavaScript
77
star
10

laravel-mix-example

JavaScript
55
star
11

PHPUnit-Wrappers

Use Assert and Should in your PHPUnit tests.
PHP
45
star
12

laravel-elixir-vue

Laravel Elixir Vue integration.
JavaScript
40
star
13

MessageBox

Your standard jQuery plugin for fancy message box confirmations, notifications, etc.
JavaScript
39
star
14

Laravel-Testing-Decoded

This project is exclusively for reporting typos and errors in the book, "Laravel Testing Decoded."
35
star
15

laravel-webpacker

More Details Coming Soon.
JavaScript
33
star
16

Laravel-Selenium-Extension

PHP
29
star
17

Laravel-Elixir-Rollup

Official Rollup extension for Laravel Elixir. (Includes support for .vue files).
JavaScript
29
star
18

Laravel-Elixir-v6-Vue-example

JavaScript
25
star
19

laravel-elixir-browsersync-official

Laravel Elixir Browsersync Integration
JavaScript
24
star
20

Laravel-4-Generators

Rapidly speed up your Laravel workflow with generators
PHP
23
star
21

vimfiles

Vim Script
20
star
22

laravel-elixir-codeception

Laravel Elixir wrapper for Codeception
JavaScript
17
star
23

laravel-elixir-browserify

Laravel Elixir Browserify Integration
JavaScript
16
star
24

Wordle-Workshop

Source code for the "Wordle Workshop" Laracasts series.
PHP
15
star
25

Email-Notifications-With-Mailchimp

PHP
12
star
26

Laracasts-Bugs

Exclusively for user-submitted bugs and errors at laracasts.com
9
star
27

Elixir-webpack-non-laravel-example

npm install && gulp
JavaScript
8
star
28

laracasts-window-size-raycast-extension

Raycast extension for Laracasts instructors.
AppleScript
7
star
29

laravel-elixir-coffeescript

Laravel Elixir CoffeeScript Support
JavaScript
6
star
30

jeffreyway.github.com

JavaScript
6
star
31

example

PHP
4
star
32

5-6-issue

PHP
3
star
33

issue

PHP
2
star
34

Codeception-issue

Codeception json_encode issue
PHP
1
star