A laravel blog

v0.1.3 2019-04-05 20:32 UTC


Build Status styleci


Package description: Quickly implement a Blog in you your Laravel Application


Basic blog functionality is working but there is still more left to do.


Require the package using composer

composer require daikazu/laravel-blog

Register Service Provider

Note! If you use laravel>=5.7 this package will auto discovery.

Publish Configuration File

This will setup all necessary composer packages, migations, and publish all required files. If Nova is installed follow the installer prompts

php artisan blog:install


Views are located in resources/views/vendor/laravel-blog/ folder. Basic inline styles are added for example. Style to your hearts content.

Nova Features

Nova Trix Field

This uses the Trix Field in Nova to handle image uploads. There is a scheduled task to handle clean up on that.

add BLOG_TASKS_ON=false to your .env file to turn off

Trix Field File Upload Disk:

BLOG_FILE_DISK=s3_public # Default Public

Wordpress Import

Download XML Export file from your WordPress Blog Tools > Export > All Content.

php artisan blog:import --wp --images wordpress_export.2019-02-28.xml

the --images will import featured image to storage using spatie/laravel-medialibrary

Note: This Does Not make any changes to the Post body. Any images and or links in content will have to be updated as needed.


  • pages
  • category parent/children relations
  • tagging
  • json API
  • more tests


If you discover any security related issues, please email instead of using the issue tracker.


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.


This package is bootstrapped with the help of melihovv/laravel-package-generator.