Download the PHP package radnan/rdn-database without Composer
On this page you can find all versions of the php package radnan/rdn-database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package rdn-database
RdnDatabase
The RdnDatabase ZF2 module provides a service locator for database adapters.
How to install
-
Use
composer
to require theradnan/rdn-database
package:$ composer require radnan/rdn-database:1.*
-
Activate the module by including it in your
application.config.php
file:
Factories
The module depends on the RdnFactory module and provides a database()
plugin you can use when creating factory classes.
namespace App\Factory\Controller;
use App\Controller;
use RdnFactory\AbstractFactory;
class Index extends AbstractFactory
{
protected function create()
{
$adapter = $this->database('default');
return new Controller\Index($adapter);
}
}
All versions of rdn-database with dependencies
PHP Build Version
Package Version
Requires
radnan/rdn-factory Version
1.*
zendframework/zend-db Version 2.*
zendframework/zend-modulemanager Version 2.*
zendframework/zend-mvc Version 2.*
zendframework/zend-servicemanager Version 2.*
zendframework/zend-db Version 2.*
zendframework/zend-modulemanager Version 2.*
zendframework/zend-mvc Version 2.*
zendframework/zend-servicemanager Version 2.*
The package radnan/rdn-database contains the following files
Loading the files please wait ....