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

Implementations for Laravel 4 Framework

0.1.0 2014-09-26 18:36 UTC

This package is not auto-updated.

Last update: 2023-04-10 19:48:22 UTC


README

Implementations for Laravel 4 Framework

Features

  • Mssql Driver Connection - Using standard features from MSSQL library

Installation

Add erickmcarvalho\anteros as a requirement to composer.json:

{
    "require": {
        "erickmcarvalho/anteros: "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 Anteros and the package it uses (extradb) with Laravel itself. Open up app/config/app.php and find the providers key towards the bottom.

Add the following to the list of providers:

'Anteros\AnterosServiceProvider'

You won't need to add anything to the aliases section.

Configuration

  • Mssql Database

The configuration database is not separate to Anteros. You'll just add a new array to the connections array in app/config/database.php.

		'mssql' => array(
			'driver'   =>   'anteros:mssql',
            'host'     =>   'localhost',
            'database' =>   'database',
            'username' =>   'sa',
            'password' =>   'password',
            'prefix'   =>   ''
		),

Don't forget to update your default database connection.