PHPackages                             afea/filament-blog - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. afea/filament-blog

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

afea/filament-blog
==================

Blog module for the Afea Filament CMS package ecosystem: blog posts, categories, tags with SEO, media and polymorphic forms.

v0.1.0(3mo ago)036↓50%1MITPHP ^8.4

Since Apr 21Compare

[ Source](https://github.com/AfeaSoftware/filament-blog)[ Packagist](https://packagist.org/packages/afea/filament-blog)[ RSS](/packages/afea-filament-blog/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependencies (12)Versions (2)Used By (1)

afea/filament-blog
==================

[](#afeafilament-blog)

Blog module for the Afea Filament CMS package ecosystem.

Ships:

- `BlogPost`, `Category`, `Tag` models (SEO + polymorphic forms + media thumbnail via Spatie)
- Filament v4 resources for each model
- `BlogPlugin` — register in your `AdminPanelProvider` to mount the resources
- Public-facing routes registered per the configured routing strategy (slug / resource / localized)
- `BlogController` + overridable Blade views
- `afea:install:blog` — Laravel Prompts installer

Installation
------------

[](#installation)

```
composer require afea/filament-blog
php artisan afea:install:blog
```

Then in your `AdminPanelProvider`:

```
->plugin(\Afea\Cms\Blog\Filament\BlogPlugin::make())
```

Config highlights
-----------------

[](#config-highlights)

```
return [
    'models' => [
        'blog_post' => \Afea\Cms\Blog\Models\BlogPost::class,
        'category' => \Afea\Cms\Blog\Models\Category::class,
        'tag' => \Afea\Cms\Blog\Models\Tag::class,
    ],
    'user_model' => \App\Models\User::class,
    'routing_strategy' => env('AFEA_BLOG_ROUTING_STRATEGY', 'resource'),
    'prefix' => env('AFEA_BLOG_PREFIX', 'blog'),
    'views' => [
        'index' => 'afea-blog::index',
        'show' => 'afea-blog::show',
    ],
    'media' => [
        'disk' => env('AFEA_BLOG_MEDIA_DISK', null),
        'thumbnail_collection' => 'blog-posts/thumbnails',
        'preview_size' => [300, 300],
    ],
];
```

Three common scenarios
----------------------

[](#three-common-scenarios)

### 1. Switch routing strategy without re-installing

[](#1-switch-routing-strategy-without-re-installing)

Set `AFEA_BLOG_ROUTING_STRATEGY=slug` in `.env` and your posts now live at `/{slug}`. No migrations, no code changes.

### 2. Override the BlogPost model

[](#2-override-the-blogpost-model)

```
// app/Models/BlogPost.php
namespace App\Models;

class BlogPost extends \Afea\Cms\Blog\Models\BlogPost
{
    public function scopeFeatured($query)
    {
        return $query->where('is_active', true)->whereNotNull('published_at');
    }
}
```

```
// config/afea-blog.php
'models' => ['blog_post' => \App\Models\BlogPost::class],
```

### 3. Use your own Blade theme

[](#3-use-your-own-blade-theme)

```
php artisan vendor:publish --tag=afea-blog-views
```

Edit `resources/views/vendor/afea-blog/show.blade.php` freely. Point `afea-blog.views.*` at your own templates for more control.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance82

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

94d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12434217?v=4)[Ahmet Özrahat](/maintainers/ahmetozrahat)[@ahmetozrahat](https://github.com/ahmetozrahat)

---

Tags

laravelcmsblogfilamentafea

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/afea-filament-blog/health.svg)

```
[![Health](https://phpackages.com/badges/afea-filament-blog/health.svg)](https://phpackages.com/packages/afea-filament-blog)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M246](/packages/laravel-ai)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)[promethys/revive

A 'RecycleBin' page where users can restore or delete permanently soft-deleted models.

163.1k1](/packages/promethys-revive)[tapp/filament-form-builder

User facing form builder using Filament components

132.4k5](/packages/tapp-filament-form-builder)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
