alex-kalanis / kw_routed_paths
Paths for accessing targets from routes in KWCMS
Requires
- php: >=7.4.0
- ext-mbstring: *
- alex-kalanis/kw_paths: >=4.0 <5
Requires (Dev)
- alex-kalanis/kw_input: >=3.0 <4
- 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_input: Inputs put in the same way - basic interfaces
This package is auto-updated.
Last update: 2024-10-31 00:38:26 UTC
README
Define paths in router of KWCMS. Parse them from REQUEST_URI or other sources. Also allows you to make links for that router. More at tests and examples.
PHP Installation
composer.phar require alex-kalanis/kw_routed_paths
(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_routed_paths" into your app. Extends it for setting your case.
4.) Connect library into your bootstrap process.
5.) Just use class "kalanis\kw_routed_paths\StoreRouted" as data storage
This package contains example file from KWCMS bootstrap. Use it as reference.