Skip to content

sagsoz06/block-module

Repository files navigation

Block Module

Latest Version Software License Quality Sblock SensioLabs Insight CodeClimate

Total Downloads Total Downloads Total Downloads Slack

Branch Travis-ci
master Build Status

Installation

You can install the Block module with composer:

$ composer require asgardcms/block

Then run the following command to install the database tables:

$ php artisan module:migrate Block

In the backend GUI, go to Users > Roles > Admin. Then the permissions tab, and give the Admin role the permissions for the block module.

Documentation

This is a very simple module to create re-usable blocks of content. The blocks of content are created in the administration. You give it a name and a content.

After this, you'll be able to get the content of a block with the following code:

{!! Block::get('block-name') !!}

Resources

Info

All AsgardCMS modules respect Semantic Versioning.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published