olipacks / mito
A minimal Laravel package for blog publishing
Fund package maintenance!
mito
Requires
- php: ^8.0
- illuminate/contracts: ^8.67
- league/commonmark: ^2.0
- livewire/livewire: ^2.7.2
- spatie/laravel-package-tools: ^1.9.2
- wire-elements/modal: ^1.0
Requires (Dev)
- nunomaduro/collision: ^5.3
- nunomaduro/larastan: ^1.0
- orchestra/testbench: ^6.22
- pestphp/pest: ^1.20
- pestphp/pest-plugin-laravel: ^1.1
- pestphp/pest-plugin-livewire: ^1.0
- spatie/laravel-ray: ^1.23
README
Mito is a blog publishing platform with a minimal UI to manage a markdown blog publication into a new or existent Laravel project.
Mito does not provide its own blog front-end interface, but you may use the Mito\Models\Post
model to get or display your content in controllers or views.
You may also review or use the Personal Blog starter kit as a starting point for a Laravel blog integrated with Mito.
hello.mp4
Demo
You can test and try Mito dashboard on our demo site.
Installation
You may use Composer to install Mito into your new or existent Laravel project:
composer require olipacks/mito
After installing Mito, you may publish its resources using the vendor:publish
Artisan command:
php artisan vendor:publish --tag mito-migrations php artisan vendor:publish --tag mito-assets
Finally, run the migrate
Artisan command:
php artisan migrate
Visit the Dashboard
After performing all these steps, you should be able to visit the Mito Dashboard at /mito
.
Schedule the command
In the console kernel, you should schedule the mito:publish-scheduled-posts
command.
// in app/Console/Kernel.php protected function schedule(Schedule $schedule) { // ... $schedule->command('mito:publish-scheduled-posts')->everyMinute(); }
Updates
After each update, make sure you run these commands:
php artisan vendor:publish --tag mito-assets --force
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.