-
Notifications
You must be signed in to change notification settings - Fork 19
Installation
Gabriel Mainginski edited this page May 9, 2016
·
5 revisions
Open prompt/bash/whatever in your laravel's folder project and run:
composer require uepg/laravel-sybase:1.*
Initially, open your laravel's folder project and edit the composer.json and go to require section. It will have a structure like this:
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.1.*",
"illuminate/html": "^5.0"
}
You must add "uepg/laravel-sybase": "1.*"
, like this:
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.1.*",
"illuminate/html": "^5.0",
"uepg/laravel-sybase": "1.*"
}
Save and open prompt/bash/whatever in your laravel's folder project and run:
composer update
##Add dependencies and config
- Add to your providers in ./config./app.php:
Uepg\LaravelSybase\Database\SybaseServiceProvider::class
- Update your ./config./database.php's default driver to
sqlsrv
or your custom odbc.