PHPackages                             irajul/blogflow - 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. [Admin Panels](/categories/admin)
4. /
5. irajul/blogflow

ActiveLibrary[Admin Panels](/categories/admin)

irajul/blogflow
===============

laravel filament plugin for markdown blog support in panel.

v2.0.0(2mo ago)02.7k[4 PRs](https://github.com/iRajul/blogflow/pulls)MITPHPPHP ^8.2CI passing

Since Jun 15Pushed 1mo agoCompare

[ Source](https://github.com/iRajul/blogflow)[ Packagist](https://packagist.org/packages/irajul/blogflow)[ Docs](https://github.com/irajul/blogflow)[ GitHub Sponsors](https://github.com/iRajul)[ RSS](/packages/irajul-blogflow/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (14)Versions (10)Used By (0)

Laravel Filament plugin for markdown blog support in panel.
===========================================================

[](#laravel-filament-plugin-for-markdown-blog-support-in-panel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2dd2830e2fdff4388267e1cc60dd57dbb4d4ba370054341e9852bf7927d2b2ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6972616a756c2f626c6f67666c6f772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/irajul/blogflow)[![GitHub Tests Action Status](https://camo.githubusercontent.com/6b60e3a27e35b26f9785c3281a62abdede51d4afcda57e4a91a41724d5928ea1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6972616a756c2f626c6f67666c6f772f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/irajul/blogflow/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e6c57a4db53c2ebc42f47dfd25acb37eb0f07fadcfaf95a594b2299e61af89d9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6972616a756c2f626c6f67666c6f772f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/irajul/blogflow/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f2db57e5029130be05610c14eb4dff8f37fa945f77fd676c1f54b684066be3d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6972616a756c2f626c6f67666c6f772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/irajul/blogflow)

[![blogflow](https://private-user-images.githubusercontent.com/1621025/455188491-241e0749-019f-42b9-94d2-494c6974b835.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0OTU3OTksIm5iZiI6MTc3NTQ5NTQ5OSwicGF0aCI6Ii8xNjIxMDI1LzQ1NTE4ODQ5MS0yNDFlMDc0OS0wMTlmLTQyYjktOTRkMi00OTRjNjk3NGI4MzUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDZUMTcxMTM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDlmNWYxMjE3MTM4YTNiZGUxMjIzMTlkMTQwMzVmZDdiODljNjM3Y2Y2MzY1ZTNkOGMzMGUwNWRhMzgwNzRjYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ahcCLmm38VUSTj4b0CzwUhjIM5Zmmu0PgPuHzAERfHM)](https://private-user-images.githubusercontent.com/1621025/455188491-241e0749-019f-42b9-94d2-494c6974b835.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0OTU3OTksIm5iZiI6MTc3NTQ5NTQ5OSwicGF0aCI6Ii8xNjIxMDI1LzQ1NTE4ODQ5MS0yNDFlMDc0OS0wMTlmLTQyYjktOTRkMi00OTRjNjk3NGI4MzUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDZUMTcxMTM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDlmNWYxMjE3MTM4YTNiZGUxMjIzMTlkMTQwMzVmZDdiODljNjM3Y2Y2MzY1ZTNkOGMzMGUwNWRhMzgwNzRjYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ahcCLmm38VUSTj4b0CzwUhjIM5Zmmu0PgPuHzAERfHM)

This is opioniated laravel filament panel plugin to add markdown blog support. This is only backend plugin. As people can use any frontend framework to create frontend for blogflow.

It requires few pre requisites packages to work, so make sure they are available in your project.

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

[](#installation)

You can install the package via composer:

```
composer require irajul/blogflow
```

If you haven't already done so, you need to publish the migration to create the tags table:

```
php artisan vendor:publish --provider="Spatie\Tags\TagsServiceProvider" --tag="tags-migrations"
```

For more information, check out [Spatie's documentation](https://spatie.be/docs/laravel-tags).

```
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="medialibrary-migrations"
```

You must also [prepare your Eloquent model](https://spatie.be/docs/laravel-medialibrary/basic-usage/preparing-your-model) for attaching media.

For more information, check out [Spatie's documentation](https://spatie.be/docs/laravel-medialibrary).

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="blogflow-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="blogflow-config"
```

Use Blog in Filament Panel
--------------------------

[](#use-blog-in-filament-panel)

```
use irajul\Blogflow\Blogflow;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            Blogflow::make()
        ])
}

```

Manage User Relationship
------------------------

[](#manage-user-relationship)

Please ensure user model has relationshio with `Post` Model.

```
