zephir / luya-module-cms
The LUYA CMS module provides a full functional Content Management System for adding contents based on blocks.
Installs: 1 195
Dependents: 0
Suggesters: 0
Security: 0
Stars: 33
Watchers: 13
Forks: 47
Open Issues: 23
Type:luya-core
Requires
- php: >=8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.2
- luyadev/luya-module-admin: ^5.0.0
- luyadev/luya-testsuite: ^3.1.4
- phpstan/phpstan: ^1.7
- rector/rector: ^0.14.2
- twbs/bootstrap: ^4.3.0
- unglue/client: ^1.3
- dev-master
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.0
- 4.5.3
- 4.5.2
- 4.5.1
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.1
- 4.1.0
- 4.0.x-dev
- 4.0.0
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.7
- 3.3.6
- 3.3.5
- 3.3.4
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.x-dev
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.x-dev
- 2.0.0
- 1.0.x-dev
- 1.0.9.1
- 1.0.9
- 1.0.8
- 1.0.7.2
- 1.0.7.1
- 1.0.7
- 1.0.6
- 1.0.5.1
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-RC4
- 1.0.0-RC3
- 1.0.0-RC2
- 1.0.0-RC1
- 1.0.0-beta8
- 1.0.0-beta7
- 1.0.0-beta6
- dev-no-filter-apply
This package is auto-updated.
Last update: 2024-09-06 11:35:43 UTC
README
LUYA Content Management System
The LUYA CMS module provides a full functional Content Management System for adding contents based on blocks.
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
cp phpunit.xml.dist phpunit.xml
docker compose up
docker compose run luyacmsphpunit tests
to run all tests ordocker compose run luyacmsphpunit tests/src/helpers/UrlTest.php
to run a specific test.