ozankurt / modules-blog
Ready to use blog module for laravel.
Requires
- cviebrock/eloquent-sluggable: ^4.2|^5.0|^6.0|^7.0
- graham-campbell/markdown: ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
- ozankurt/modules-core: ^0.4
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-10-15 08:20:27 UTC
README
I tried to extract a simple, reusable blog module to use on my projects. I used two external packages in total. For keeping the URL pretty on every possible page, I added Eloquent Sluggable and for displaying the content of a post I decided to use Laravel Markdown. This can of course be overwritten.
The module includes the following models and each model has a default observer:
PS: Observers are currently not customizable. :(
Category
Tag
Post
Posts have a media type attribute so that the users can choose between a Text Post, Single Image Post, Multiple Image Post or Video Post. Videos support 3 different websites: YouTube, Vimeo, DailyMotion
PS: * This should be able to receive multiple ids sometime.
Comment
Contribution guidelines
Todo: Add contribution guidelines.
Who do I talk to?
Owner:
- Ozan Kurt (ozankurt2@gmail.com)