Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 916 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 916 Bytes

Service Module

WIP, do not use yet...

Installation

For the installation of modules Composer is required.

composer require johnnymcweed/luya-module-service:dev-master 

Configuration

return [
    'modules' => [
        // ...
        'service' => 'johnnymcweed\service\frontend\Module',
        'serviceadmin' => 'johnnymcweed\service\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

After adding the persmissions to your group you will be able to edit and add new services.

Example Views

There are default views set up. Use these or create your own custom views.