Download the PHP package enstart/db without Composer
On this page you can find all versions of the php package enstart/db. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor enstart
Package db
Short Description Database extension for maer/enstart framework
License MIT
Package db
Short Description Database extension for maer/enstart framework
License MIT
Please rate this library. Is it a good library?
Informations about the package db
Enstart Extension: Database
Wrapper for mrjgreen/database for the enstart framework.
Dependencies:
enstart/core
version 0.3+- PHP 7.0+ with the PDO extension
Install
composer require enstart/db
Config:
// Database connection settings
'database' => [
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'database',
'username' => 'username',
'password' => 'password',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci'
],
// Register service provider
'providers' => [
...
'Enstart\Ext\Database\ServiceProvider',
],
Access the extension
// Get a copy of the instance
$db = $app->container->make('Database\Connection');
// or through the alias:
$app->db
// or through dependency injection (if you type hint it in your constructor)
use Database\Connection
Read more @ https://github.com/mrjgreen/database
All versions of db with dependencies
PHP Build Version
Package Version
The package enstart/db contains the following files
Loading the files please wait ....