Download the PHP package sndpbag/blog without Composer
On this page you can find all versions of the php package sndpbag/blog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package blog
Of course! Here is a professional, user-friendly README.md file for your sndpbag/blog package, written in English.
sndpbag/blog - A Laravel Blog Package 📝
sndpbag/blog is a powerful and easy-to-use blog package built for Laravel applications. It is designed to work seamlessly with sndpbag/admin-panel, providing you with a complete and feature-rich blog management system out of the box.
## ✨ Features
This package is packed with modern features to make your blogging experience fast, efficient, and enjoyable:
- ✍️ Full Post Management: A complete CRUD interface in the dashboard for creating, editing, and deleting blog posts.
- 🗂️ Category System: Manage categories to organize your posts effectively, complete with soft-delete (trash) functionality.
- 🏷️ Tagging System: Add relevant tags to posts for better organization, searchability, and SEO.
- 👤 Multi-Author Support: Built with Polymorphic Relationships, allowing any model (like
User,Member, orAdmin) to be an author. - 🖼️ Advanced Image Handling:
- Easy featured image uploads for each post.
- Direct image uploads from within the rich-text editor for a smooth writing experience.
- 📝 Powerful Rich-Text Editor: A beautiful WYSIWYG editor that supports text formatting, links, tables, and media embeds to create stunning content.
- 🚀 SEO Optimized: Includes fields for Meta Title and Meta Description for each post to improve search engine rankings.
- 📊 Built-in Analytics: Automatically tracks view and like counts for each post.
- 💬 Interactive Frontend:
- Clean and responsive designs for the blog list and single post pages.
- AJAX-powered like system for real-time interaction.
- A nested comment and reply system for user discussions.
Follow these steps to get started:
bash php artisan vendor:publish --tag="blog-config" bash php artisan vendor:publish --tag="blog-views" bash php artisan vendor:publish --tag="blog-assets" bash php artisan vendor:publish --provider="Sndpbag\Blog\Providers\BlogServiceProvider" bash php artisan migrate bash php artisan vendor:publish --tag="admin-panel-config"
2. Now, open the `config/admin-panel.php` file in your project and add the following entry to the `sidebar` array:
### Accessing the Blog Section
You can now access the blog management dashboard at `your-app.com/dashboard/blog`.
## 🎨 Frontend Integration
The package includes frontend routes and views to display your blog.
- **Blog Index Page:** `your-app.com/blog`
- **Single Post Page:** `your-app.com/blog/{slug}`
- **Category Page:** `your-app.com/blog/category/{slug}`
You can customize the frontend views by publishing them and editing the files in `resources/views/vendor/blog/`.
## 📦 What's Included?
- **Migrations:** For `blogs`, `blog_categories`, `comments`, and `blog_likes` tables.
- **Models:** `Blog`, `BlogCategory`, `Comment`, `BlogLike`.
- **Controllers:** Backend controllers for managing posts and categories, and frontend controllers for displaying the blog.
- **Views:** Blade templates for both the backend dashboard and the public-facing frontend, built with TailwindCSS.
- **Routes:** Pre-configured web routes for backend and frontend functionality.
## 🤝 Contributing
Contributions are welcome\! If you find a bug or have a feature request, please open an issue on GitHub. If you'd like to contribute code, please fork the repository and submit a pull request.
## 📜 License
The `sndpbag/blog` package is open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.