Download the PHP package bambamboole/filament-blog without Composer
On this page you can find all versions of the php package bambamboole/filament-blog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bambamboole/filament-blog
More information about bambamboole/filament-blog
Files in bambamboole/filament-blog
Package filament-blog
Short Description A blog package for Filament, built on top of filament-pages with blocks, SEO, tags, and RSS feed support
License MIT
Homepage https://github.com/bambamboole/filament-blog
Informations about the package filament-blog
Filament Blog
A blog package for Filament, built on top of filament-pages. Posts are block-based content with SEO, tags, RSS feeds, and live preview out of the box.
Requirements
- PHP ^8.4
- Filament ^5.0
- bambamboole/filament-pages ^0.4
Installation
Publish and run the migrations:
Optionally publish the config:
Setup
Register the plugin in your Filament panel provider:
Register the frontend routes in routes/web.php:
Configuration
Set your application's layout so blog views inherit your site's header, footer, and styles:
Other configuration options:
| Option | Default | Description |
|---|---|---|
model |
Post::class |
Override with a custom Post model |
tag_model |
Tag::class |
Override with a custom Tag model |
layout |
null |
Blade layout the blog views extend |
routing.prefix |
blog |
URL prefix for blog routes |
routing.tag_prefix |
tags |
URL prefix for tag routes |
pagination.per_page |
10 |
Posts per page |
feed.enabled |
true |
Enable RSS/Atom feed |
cache.enabled |
false |
Enable response caching |
Plugin Options
Importing Posts
Posts can be imported from YAML files using the filament-pages import command:
YAML format:
Testing
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-blog with dependencies
bambamboole/filament-pages Version ^0.4
spatie/laravel-feed Version ^4.5
spatie/laravel-package-tools Version ^1.15.0