grundmanis/laracms-content

Laracms content module

dev-master 2019-10-06 17:34 UTC

This package is auto-updated.

Last update: 2024-04-07 02:58:25 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.

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