very/laravel-database

This package is abandoned and no longer maintained. No replacement package was suggested.

Use laravel database as the mysql connection in Laravel

v1.0.12 2016-08-26 06:12 UTC

This package is auto-updated.

Last update: 2022-07-08 21:56:48 UTC


README

这是一个为了兼容老的项目对数据库的操作,比如getRow,getAll等开发的laravel扩展,对项目有一定的针对性,不一定适合所有项目

Requirements

  • PHP 5.5.9+
  • [PDO]
  • Laravel 5.2

Installation

Add the dependency to composer.json:

"require": {
    "very/laravel-database": "1.*"
}

Add the DatabaseServiceProvider to config/app.php (comment out built-in DatabaseServiceProvider):

...
'providers' => array(
    ...
    Very\Database\DatabaseServiceProvider::class,
    ...
),
...