noxxie / laravel-db-progress
Progress is a simple odbc progress service provider for Laravel. It provides odbc Connection by extending the Illuminate Database component of the laravel framework.
Requires
- php: ^7.4|^8.0
- illuminate/database: ^6.0|^7.0|^8.0
This package is auto-updated.
Last update: 2025-03-09 21:04:17 UTC
README
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.