alex-kalanis / kw_connect
Connecting lookups into their respective engines
Requires
- php: >=7.4
Requires (Dev)
- alex-kalanis/kw_mapper: >=3.0 <4
- dibi/dibi: ~4.2
- doctrine/dbal: ~3.8
- friendsofphp/php-cs-fixer: ^3.0
- illuminate/database: ^8.50.0
- nette/database: ~3.1
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=8.0 <=9
- shipmonk/composer-dependency-analyser: ^1.4
Suggests
- alex-kalanis/kw_mapper: Mapper for accessing resources in KWCMS
- dibi/dibi: Dibi - smart database abstraction layer
- doctrine/dbal: Doctrine Database Abstraction Layer
- illuminate/database: The Illuminate Database package
- nette/database: A database layer with a familiar PDO-like API but much more powerful
- yiisoft/db: Yii Database Library
README
Contains connection between content lookups like tables and storage engines. Allow you use any of them as the same source and one table engine over everything. The main database engine layer is usually already decided by your framework or existing system. So then you need only to connect this layer before using it with things built over this connector.
PHP Installation
composer.phar require alex-kalanis/kw_connect
(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.) Connect the "kalanis\kw_connect\*" into your app. Use the correct one depending on your connection to datasource (like defined by your framework or environment). When it come be necessary you can define your own. You can extends every library to comply your use-case; mainly for describe your searched inputs.