This is a Laravel project which uses Laraberg (that created on top of GutenbergJs) as a content editor. So users can create/make beautiful articles (Just like what you do in WordPress) and save them into database as posts. Post model (which represents an article) use Gutenbergable
feature of Laraberg to save rendered content of the editor and then use that later to show the content. Also there's an Articles page which list all of articles created by the user. It uses Fomantic-UI as UI library.
Referring to issue#2, Fomantic-UI (which is based on Semantic-UI), has some conflicts with Laraberg CSS, and it cuses some problems in showing some of the elements, So Даниил Пронин (Grawl) prepared a UIKit version of this codebase and you can find it here: github.com/grawl/laravel-laraberg
-
Clone this repository
git clone https://github.com/mehranabi/laravel-laraberg.git && cd laravel-laraberg
-
Install dependencies by composer:
composer install
-
Create your
.env
file from.env.example
-
Put your database credentials in
.env
-
Run migrations:
php artisan migrate
(You have to use newer versions of MySql that supports Json field type or you'll get error!) -
Run the App:
php artisan serve
-
Now, you can access it on http://localhost:8000
Mehran Abghari - mehran.ab80@gmail.com - github.com/mehranabi
Lisence: MIT
You can do anything with this code :) Hope you enjoy!