Download the PHP package mozartdigital/filament-blog without Composer
On this page you can find all versions of the php package mozartdigital/filament-blog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mozartdigital/filament-blog
More information about mozartdigital/filament-blog
Files in mozartdigital/filament-blog
Package filament-blog
Short Description An advance blog package for Filament Admin Panel
License MIT
Informations about the package filament-blog
Firefly Filament Blog
The Filament Blog Plugin is a feature-rich plugin designed to enhance your blogging experience on your website. It comes with a variety of powerful features to help you manage and customize your blog posts effectively.
Features
- Easy Installation: Simple and straightforward installation process.
- User-Friendly Interface: Intuitive and user-friendly interface for easy management of blog posts.
- SEO Meta Extension: Enhance your blog's search engine optimization with built-in meta tag customization.
- Post Scheduled for Future: Schedule your blog posts to be published at a future date and time.
- Social Media Share Feature: Allow users to easily share your blog posts on social media platforms.
- Comment Feature: Enable comments on your blog posts to encourage engagement and discussion.
- Newsletter Subscription: Integrate newsletter subscription forms to grow your email list.
- New Post Published Notification: Notify subscribers when a new blog post is published.
- Category Search: Categorize your blog posts for easy navigation and search.
- Support: Laravel 11 and Filament 3.x
Demo Video
Upgrade Note
Important: If you are upgrading from version 1.x to 2.x, please follow the steps below:
- Backup your database before running the migration. This is just for safety purposes.
Now you can add prefix on blog tables from the config file.
- After set the prefix please run the migration by running the following command:
php artisan filament-blog:upgrade-tables
Installation
If your project is not already using Filament, you can install it by running the following commands:
Install the Filament Blog Plugin by running the following command:
Usage
After composer require, you can start using the Filament Blog Plugin by runing the following command:
This command will publish filamentblog.php
config file and create_blog_tables.php
migration file.
` If you have a different url for the home page, you can set it in the
homekey in the
routeconfiguration. Before running the migration, you can modify the
filamentblog.php` config file to suit your needs.
If you want to publish config, views, components, and migrations individually you can run the following command:
What if you have already a User model?
- If you already have a User model, you can modify the
filamentblog.php
config file to use your User model. - Make sure the name column is the user's
name
column. - If you have already
avatar
column in your User model, you can set it in thefilamentblog.php
config file inuser.columns.avatar
key. - If you want to change
foreign_key
column name, you can modify thefilamentblog.php
config file.
Migrate the database
After modifying the filamentblog.php
config file, you can run the migration by running the following command:
Storage Link
After running the migration, you can create a symbolic link to the storage directory by running the following command:
Attach filament blog panel to the dashboard
You can attach the Filament Blog panel to the dashboard by adding the following code to your panel provider:
Add Blog::make()
to your panel passing the class to your plugins()
method.
Manage user relationship
If you want to manage the user relationship, you can modify the User
model to have a relationship with the Post
model.
Allow user to comment
If you want to allow users to comment on blog posts, you can modify the User
model to add a method canComment()
.
Now you can start using the Filament Blog Plugin to manage your blog posts effectively.
You can change the route prefix in the filamentblog.php
config file.
Social Media Share
For social media share, please visit Sharethis and generate the JS Script and HTML code and save from our share snippet section.
Recaptcha
To add the recaptcha to the blog comment form, you can add environment variables in your .env
file.
And make sure enabled is set to true
in the filamentblog.php
config file.
Credits
- Firefly
- Asmit Nepali
- Awcodes
- All Contributors
Security
If you discover a security vulnerability within this package, please send an e-mail to [email protected], All security vulnerabilities will be promptly addressed.
🤝 Contributing
Please see CONTRIBUTING for details.
📄 License
The MIT License (MIT). Please see License File for more information.
Made with love by Firefly IT Solutions, Nepal - thefireflytech.com
All versions of filament-blog with dependencies
filament/support Version ^3.2
awcodes/filament-tiptap-editor Version ^3.2
malzariey/filament-daterangepicker-filter Version ^3.1