Skip to content

The LUYA CMS module provides a full functional CMS for adding contents based on blocks.

License

Notifications You must be signed in to change notification settings

Antikon/luya-module-cms

 
 

Repository files navigation

LUYA Logo

LUYA Content Management System

LUYA Tests Maintainability Test Coverage Latest Stable Version Total Downloads

The LUYA CMS module provides a full functional Content Management System for adding contents based on blocks.

LUYA CMS MODULE

To use the LUYA CMS module you have to run a LUYA Application which is provided by the LUYA core.

For installation and usage please check: LUYA.IO

Installation

For the installation of modules Composer is required.

composer require luyadev/luya-module-cms

Configuration

Add the frontend and admin module of the cms module to your configuration modules section and bootstrap the cms frontend module:

'modules' => [
    // ...
    'cms' => 'luya\cms\frontend\Module',
    'cmsadmin' => 'luya\cms\admin\Module',
    // ...
]

Initialization

After successfully installation and configuration run the migrate, import and setup command to initialize the module in your project.

1.) Migrate your database.

./vendor/bin/luya migrate

2.) Import the module and migrations into your LUYA project.

./vendor/bin/luya import

Please note that the module names cms and cmsadmin are required and should not be changed!

Developers

If you want to contribute, make sure to read the guidelines.

Unit Testing

  1. cp phpunit.xml.dist phpunit.xml
  2. docker-compose up
  3. docker-compose run luyacmsphpunit tests to run all tests or docker-compose run luyacmsphpunit tests/src/helpers/UrlTest.php to run a specific test.

About

The LUYA CMS module provides a full functional CMS for adding contents based on blocks.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 93.7%
  • JavaScript 4.4%
  • SCSS 1.5%
  • CSS 0.4%
  • Dockerfile 0.0%
  • HTML 0.0%