ozankurt/laravel-modules-blog
A drop-in blog module for Laravel modular applications, providing posts, categories, and admin scaffolding that plugs into your existing module structure with minimal setup.
This is a Laravel "modules" blog package: posts with slugs (via cviebrock/eloquent-sluggable), view counts, and a cached post-by-slug lookup, plus optional Filament admin resources. v2.0.0 is a baseline release — no source changes, only dependency floors — so the day-to-day experience is identical to the previous line except for the platform requirements.
^8.4 and Laravel ^13.0 are hard requirements in v2.0.0. If you are on Laravel 12 or PHP 8.3, stay on the previous major; there is nothing else in 2.0.0 for you.ozankurt/laravel-modules-core ^2.0 and ozankurt/laravel-modules-interactions ^2.0 automatically. It also brings spatie/laravel-package-tools and Eloquent Sluggable ^12 || ^13. Filament is optional — 3, 4, and 5 are all supported on this release./blog/{slug}, then hit it again and verify the second request is served from the post-by-slug cache. Then increment views and confirm the slug cache is not invalidated — that is intentional and unchanged in v2.0.0.Post::where('slug', $slug)->first() bypasses the cache entirely. Use the package's resolver (or route model binding wired to slug) so the cached path is exercised in production the same way it is in tests.laravel-modules-interactions. Because the package is a module and depends on the interactions package, other modules (comments, analytics, search) should hook the blog through interaction contracts rather than reaching into the Post model directly.--ignore-platform-reqs.composer.json and test upgrades of Filament separately from upgrades of this package — they are independent moving parts in the CI matrix.How can I help you explore Laravel packages today?