Skip to content

Refactor UserModule with composer #19

@dragoonis

Description

@dragoonis

We need to have our modules in our vendor folder to publish new changes to users with little to no interruption to their ppi application.

As a result, packagist package "ppi/user-module" will be installed to ./vendor/ppi/user-module/

All the code we currently have in the skeleton app will be moved to the vendor folder, and the files will remain in the skeletonapp, but they will extend the vendor class.

module 'PPIUserModule' will be in ./vendor/ppi/user-module/.
module 'UserModule' will be in ./modules/ppi/UserModule/

<?php
namespace UserModule\Controller;

use PPIUserModule\Controller\Index as BaseController;

class Index extends BaseController {}

The class body will be entirely empty, and the app developer can override the 'showAction' or 'deleteAction' as necessary.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions