Skip to content
Gabriel Mainginski edited this page May 9, 2016 · 5 revisions

Method 1

Open prompt/bash/whatever in your laravel's folder project and run: composer require uepg/laravel-sybase:1.*

Method 2

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.
Clone this wiki locally