happytodev/blogr

Blogr is a FilamentPHP plugin that adds a powerful blog system to your Laravel application.

0.2.1 2025-08-20 14:23 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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

  1. Install the package via Composer
composer require happytodev/blogr
  1. Publish configuration and migration files
php artisan vendor:publish --provider="Happytodev\Blogr\BlogrServiceProvider"
  1. Run the migrations
php artisan migrate
  1. 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;
  1. Install typography plugin

Run npm install -D @tailwindcss/typography

  1. 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";
...
  1. 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.