A laravel blog
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
Note! If you use laravel>=5.7 this package will auto discovery.
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.
This uses the Trix Field in Nova to handle image uploads. There is a scheduled task to handle clean up on that.
BLOG_TASKS_ON=false to your
.env file to turn off
Trix Field File Upload Disk:
BLOG_FILE_DISK=s3_public # Default Public
Download XML Export file from your WordPress Blog
Tools > Export > All Content.
php artisan blog:import --wp --images wordpress_export.2019-02-28.xml
--images will import featured image to storage using
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.
- category parent/children relations
- 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.