alex-kalanis / kw_tree_controls
Tree controls in KWCMS
v2.0.0
2024-04-02 16:54 UTC
Requires
- php: >=7.4.0
- alex-kalanis/kw_forms: >=3.0 <4
- alex-kalanis/kw_input: >=3.0 <4
- alex-kalanis/kw_paths: >=4.0 <5
- alex-kalanis/kw_templates: >=3.0 <4
- alex-kalanis/kw_tree: >=3.0 <4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=8.0 <=9
- psr/container: =2.0.2
- shipmonk/composer-dependency-analyser: ^1.4
README
Controls created from tree structure from source. For your own styles you need to wrap them into some element which will allow you to style them with current classes or you need to extend current classes and write them on your own.
PHP Installation
composer.phar require alex-kalanis/kw_tree_controls
(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 controls in "kalanis\kw_tree_controls\Controls" into your app. Extends it for setting your case.
4.) Connect the "kalanis\kw_tree_controls\TWhereDir" into your app for storing the currently known path.
5.) Just call setting and render