Skip to content

Progress is a simple odbc progres service provider for Laravel. It provides odbc Connection by extending the Illuminate Database component of the laravel framework.

License

NoxxieNl/laravel-db-progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel-Db-Progress

Latest Stable Version Total Downloads License

Laravel-Db-Progress is a simple odbc progress service provider for Laravel. It provides odbc connection by extending the Illuminate Database component of the laravel framework. It also provides the grammer changes in order to let everything work.

To connect to the Progress database we utilize the ODBC drivers provided from progress. These must be installed before you can use this package. I found out This website contains all the information you need to install those drivers.


Installation

Add the library using composer:

composer require "noxxie/laravel-db-progress"

Configuration

You can put your Progress credentials into app/config/database.php file using the following php lines:

    'progress' => [
        'driver' => 'progress',
        'host' => env('PROGRESS_DB_HOST', 'localhost'),
        'port' => env('PROGRESS_DB_PORT', 19204),
        'database' => env('PROGRESS_DB_DATABASE', 'forge'),
        'username' => env('PROGRESS_DB_USERNAME', 'forge'),
        'password' => env('PROGRESS_DB_PASSWORD', ''),
        'codepage' => env('PROGRESS_DB_CODEPAGE', 'ISO_8859_1'),
        'schema' =>  env('PROGRESS_DB_SCHEMA', 'PUB'),
    ],

As you can see there is also room to define them in your .env file.

Usage

Consult the Laravel framework documentation. Please be aware that some functionality will not work if you do not run the latest version of openedge. You will get an database exception when this accures. Consult the openedge documentation what was introduced in what version.

About

Progress is a simple odbc progres service provider for Laravel. It provides odbc Connection by extending the Illuminate Database component of the laravel framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages