Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 722 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 722 Bytes

Lara CMS - Content module

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