happytodev / blogr
Blogr is a FilamentPHP plugin that adds a powerful blog system to your Laravel application.
Fund package maintenance!
happytodev
Requires
- php: ^8.1
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- nunomaduro/collision: ^8.8
- orchestra/testbench: ^10.0
- pestphp/pest: ^3.8
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
This package is auto-updated.
Last update: 2025-08-20 14:24:41 UTC
README
Blogr is a FilamentPHP plugin that adds a powerful blog system to your Laravel application.
Features
- Create, edit, and delete blog posts
- Edit post in markdown
- Table of contents is automatically generated
- A post can have a TL;DR
- Support code (currently very simple)
- A blog post can have a category
- A blog post can have tags
- A blog post can be published or not
- The slug of blog post is automatically generated but can be customized
- Posts per category page
- Posts per tags page
- Image upload and editing
- Automatic author assignment
- Backend color customizable
Roadmap
Beta 2
- SEO fields (meta title, description, keywords) (Scheduled for beta 2)
- Scheduled publishing (Scheduled for beta 2)
Installation
- Install the package via Composer
composer require happytodev/blogr
- Publish configuration and migration files
php artisan vendor:publish --provider="Happytodev\Blogr\BlogrServiceProvider"
- Run the migrations
php artisan migrate
- Add the plugin in AdminPanelProvider class
Add this line in your file app\Providers\Filament\AdminPanelProvider.php
->plugin(BlogrPlugin::make())
Don't forget to import the class :
use Happytodev\Blogr\BlogrPlugin;
- Install typography plugin
Run npm install -D @tailwindcss/typography
- Add typography plugin in
resources\css\app.css
In resources\css\app.css
, change :
@import 'tailwindcss'; @import '../../vendor/livewire/flux/dist/flux.css'; ...
by
@import 'tailwindcss'; @import '../../vendor/livewire/flux/dist/flux.css'; @plugin "@tailwindcss/typography"; ...
- Access the blog in Filament
The plugin adds a Filament resource for managing blog posts.
Log in to your Filament admin panel and go to the “Blog Posts” section.
Configuration
You can customize the table prefix in the published config file:
config/blogr.php
Support
For questions or bug reports, open an issue on GitHub or contact happytodev.
Sponsor
If you like this project, you can support me via GitHub Sponsors.
License
MIT
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.