grundmanis / laracms-content
Laracms content module
dev-master
2019-10-06 17:34 UTC
Requires
- dimsav/laravel-translatable: >=8.0
- grundmanis/laracms: @dev
This package is auto-updated.
Last update: 2025-03-07 05:03:29 UTC
README
This is a Laracms module. It allows to use translated texts directly from database in your blade files and manage them in laracms dashboard.
How to use
Click on "content" menu point or go to yourhost.com/laracms/content/
, create a new content with unique slug and translated values,
then in blade files, use Content::get($slug, $locale = null)
or helper content($slug, $locale = null)
Installation
Run
composer require grundmanis/laracms-content
and run migration:
php artisan migrate