PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   Laravel Markdown Blog   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Laravel Markdown Blog
Publish blog posts with content in Markdown format
Author: By
Last change:
Date: 1 year ago
Size: 2,048 bytes
 

Contents

Class file image Download

Laravel Markdown Blog

An example blog application using Laravel, Markdown, Prism JS and Markdown JS - the right way.

Live Demo -

http://laravel-markdown-blog.herokuapp.com

Why I've done this ? Basically I love to write blog articles on my DevsEnv - https://devsenv.com website by Laravel which uses Tiny MCE Editor, but I'm not satisfied with that. I believe, using Markdown is just a much better way to write blog articles.

Versions

  1. PHP - `^7.3|^8.0`
  2. Laravel - `^8.75`

External packages, I used

  1. Laravel Markdown Parser - https://github.com/GrahamCampbell/Laravel-Markdown
  2. JavaScript Markdown Editor - https://github.com/sparksuite/simplemde-markdown-editor
  3. PrismJS - https://prismjs.com/
  4. SimpleMDE - https://simplemde.com/

How to Start

## Clone repository
git clone https://github.com/ManiruzzamanAkash/laravel-markdown-blog.git

## Go to that folder
cd laravel-markdown-blog

## Install composer
composer install

## Create file .env and
Copy .env.example to .env

## Create a database called
laravel_markdown

## Generate Key
php artisan key:generate

# Run migrations and seeder file to seed 1,000 tutorials
php artisan migrate --seed

## Install node, as we've used Tailwind CSS
npm install

## Run tailwind CSS in watch mode to detect any file change
## and automatically generate app.css in public/css/app.css
npm run watch

Screenshots

Tutorial Lists Page

Laravel Markdown Blog

Tutorial Create Page

Laravel Create Tutorial

Tutorial Create Tutorial Fill Data

Tutorial Create Tutorial Fill Data

Tutorial Detail Page

Tutorial View

Tutorial Edit Page

Tutorial Edit Page

After Save Tutorial

After Save Tutorial