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

ActiveLibrary

jmztaylor/filament-blog
=======================

Filament Blog Builder

02PHP

Since Oct 25Pushed 3y agoCompare

[ Source](https://github.com/JmzTaylor/filament-blog)[ Packagist](https://packagist.org/packages/jmztaylor/filament-blog)[ RSS](/packages/jmztaylor-filament-blog/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#filament-blog-builder)

[![Latest Version on Packagist](https://camo.githubusercontent.com/98f789829aec9119ece1f0ac8d2f563ebe2e856efaf4586d30ddb16b95eafeae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374657068656e6a7564652f66696c616d656e742d626c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jmztaylor/filament-blog)[![GitHub Tests Action Status](https://camo.githubusercontent.com/67c1bc44a0da6b15dfc79306149354587e6bb4f015c8aa719572bec921793d22/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7374657068656e6a7564652f66696c616d656e742d626c6f672f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/jmztaylor/filament-blog/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/78d38df7921926616a2ff45a1e762dd580d39cb9ec1cb9133d0732338938ef2c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7374657068656e6a7564652f66696c616d656e742d626c6f672f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/jmztaylor/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/jmztaylor/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 jmztaylor/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\Course`
- `Stephenjude\FilamentBlog\Models\Category`

### Courses &amp; Drafts

[](#courses--drafts)

```
$courses = Course::published()->get();

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

### Course Content

[](#course-content)

```
$course = Course::find($id);

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

### Course Category

[](#course-category)

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

$category = $course->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:

```
