rcrowe / laravel-database by rcrowe

Brings some missing functionality to the Laravel Database layer.
17
0
3
Package Data
Maintainer Username: rcrowe
Maintainer Contact: hello@vivalacrowe.com (Rob Crowe)
Package Create Date: 2013-09-23
Package Last Update: 2013-09-23
Language: PHP
License: Unknown
Last Refreshed: 2024-12-22 03:03:01
Package Statistics
Total Downloads: 17
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

Laravel-Database

Provides extra / missing functionality to Laravels database layer.

Installation

Add rcrowe\laravel-database as a requirement to composer.json:

{
    "require": {
        "rcrowe/laravel-sentry": "0.1.*"
    }
}

Update your packages with composer update or install with composer install.

Once Composer has installed or updated your packages you need to register with Laravel itself. Open up app/config/app.php and the existing database service provider 'Illuminate\Database\DatabaseServiceProvider' and replace it with the following:

'rcrowe\Database\DatabaseServiceProvider'

Functionality

This library provides the following extra functionality:

Schema builder

  • character has been added to the schema builder (MySql / Postgre). Use like $table->character('field', 6). Taken from http://forums.laravel.io/viewtopic.php?id=7320