alex-kalanis / kw_modules_mapper
Selecting correct modules - use mapper from KWCMS
Requires
- php: >=7.4.0
- ext-json: *
- ext-mbstring: *
- alex-kalanis/kw_mapper: >=3.0 <4
- alex-kalanis/kw_modules: >=2.0 <3
Requires (Dev)
- alex-kalanis/kw_storage: >=5.0 <6
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=8.0 <=9
- shipmonk/composer-dependency-analyser: ^1.4
Suggests
- alex-kalanis/kw_files: Accessing stored entries as files on preset volume
- alex-kalanis/kw_storage: Key-value storage for accessing data
This package is auto-updated.
Last update: 2024-12-04 23:22:44 UTC
README
Modules with Mapper
Use mapper as source of information about modules. And then the usual stuff as with the normal kw_mapper.
PHP Installation
composer.phar require alex-kalanis/kw_modules_mapper
(Refer to Composer Documentation if you are not familiar with composer)
PHP Usage
1.) Use your autoloader (if not already done via Composer autoloader)
2.) Add some external packages with connection to the local or remote services.
3.) Connect the "\kalanis\kw_modules_mapper\ModulesLists\Mapper" into your app and set necessary params.
4.) Extend your libraries by interfaces inside the package.
5.) Just include it into your bootstrap od DI - use instead of usual kw_mapper
Caveats
This package needs some storage, usually DB or file. So you need to set it to conform your use case.