nhrrob / robinpress
A markdown-powered blog package for laravel
v1.0.1
2021-04-27 19:42 UTC
Requires
- erusev/parsedown: ^1.7
Requires (Dev)
- orchestra/testbench: ^6.17
This package is auto-updated.
Last update: 2024-10-28 04:28:34 UTC
README
A laravel package that generates markdown-powered blog.
Composer Install
composer require nhrrob/robinpress
Usage
-
Run migration:
php artisan migrate
-
Publish vendor:
php artisan vendor:publish --tag=robinpress-config
-
Create your first markdown file under App\blogs folder. Ex. App\blogs\sample-post.md
--- title: My Title description: Description here random: random string --- # Heading Blog post body here
-
run artisan command:
php artisan robinpress:process
Your sample-post.md is now stored in database as a post.
Cheers!
Feel free to contact:
nazmulrobin.com | Twitter | Linkedin | Email
Bonus
Laravel 8 auth using laravel/ui:
composer require laravel/ui
php artisan ui bootstrap —auth
npm install & nom run dev
Thanks to Coder's Tape for this awesome tutorial:
https://www.youtube.com/watch?v=ivrc1ZKFgHI&list=PLpzy7FIRqpGBQ_aqz_hXDBch1aAA-lmgu