PHPackages                             kiendaotac/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. kiendaotac/filament-blog

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

kiendaotac/filament-blog
========================

Filament Blog Builder

0.1.6(3y ago)08MITPHPPHP ^8.0|^8.1

Since Feb 19Pushed 3y agoCompare

[ Source](https://github.com/kiendaotac/filament-blog)[ Packagist](https://packagist.org/packages/kiendaotac/filament-blog)[ Docs](https://github.com/stephenjude/filament-blog)[ GitHub Sponsors](https://github.com/stephenjude)[ RSS](/packages/kiendaotac-filament-blog/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (9)Versions (8)Used By (0)

Filament Blog Builder
=====================

[](#filament-blog-builder)

[![Latest Version on Packagist](https://camo.githubusercontent.com/98f789829aec9119ece1f0ac8d2f563ebe2e856efaf4586d30ddb16b95eafeae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374657068656e6a7564652f66696c616d656e742d626c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stephenjude/filament-blog)[![GitHub Tests Action Status](https://camo.githubusercontent.com/67c1bc44a0da6b15dfc79306149354587e6bb4f015c8aa719572bec921793d22/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7374657068656e6a7564652f66696c616d656e742d626c6f672f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/stephenjude/filament-blog/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/78d38df7921926616a2ff45a1e762dd580d39cb9ec1cb9133d0732338938ef2c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7374657068656e6a7564652f66696c616d656e742d626c6f672f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/stephenjude/filament-blog/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/249ead87e9cfc96f7c38abe103eaaf8a63c141924d88564acf9ba15e7e33d0f5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7374657068656e6a7564652f66696c616d656e742d626c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stephenjude/filament-blog)

A faceless blog content manager with configurable richtext and markdown support for filament admin panel.

[![](./art/screen1.png)](./art/screen1.png)

Filament Admin Panel
--------------------

[](#filament-admin-panel)

This package is tailored for [Filament Admin Panel](https://filamentphp.com/).

Make sure you have installed the admin panel before you continue with the installation. You can check the [documentation here](https://filamentphp.com/docs/admin)

Supported Versions
------------------

[](#supported-versions)

PHP: `8.0`

Laravel: `8` &amp; `9`

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

[](#installation)

You can install the package via composer:

```
composer require stephenjude/filament-blog

php artisan filament-blog:install

php artisan storage:link

php artisan migrate
```

Displaying your content
-----------------------

[](#displaying-your-content)

Filment blog builder is faceless, it doesn't have any opinions on how you display your content in your frontend. You can use the blog models in your controllers to display the different resources:

- `Stephenjude\FilamentBlog\Models\Post`
- `Stephenjude\FilamentBlog\Models\Author`
- `Stephenjude\FilamentBlog\Models\Category`

### Posts &amp; Drafts

[](#posts--drafts)

```
$posts = Post::published()->get();

$drafts = Post::draft()->get();
```

### Post Content

[](#post-content)

```
$post = Post::find($id);

$post->id;
$post->title;
$post->slug;
$post->excerpt;
$post->banner_url;
$post->content;
$post->published_at;
```

### Post Category &amp; Author

[](#post-category--author)

```
$post = Post::with(['author', 'category'])->find($id);

$author = $post->author;

$author->id;
$author->name;
$author->email;
$author->photo;
$author->bio;
$author->github_handle;
$author->twitter_handle;

$category = $post->category;

$category->id;
$category->name;
$category->slug;
$category->description;
$category->is_visible;
$category->seo_title;
$category->seo_description;
```

### Configurations

[](#configurations)

This is the contents of the published config file:

```
