Download the PHP package sferar/laravel-firebird without Composer
On this page you can find all versions of the php package sferar/laravel-firebird. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sferar/laravel-firebird
More information about sferar/laravel-firebird
Files in sferar/laravel-firebird
Package laravel-firebird
Short Description A Firebird database package for the Laravel Framework
License MIT
Informations about the package laravel-firebird
laravel-firebird
To use this package:
Installation
Install the Firebird PDO driver for PHP.
Mariuz's Blog has a very good step by step on this: http://mapopa.blogspot.com/2009/04/php5-and-firebird-pdo-on-ubuntu-hardy.html
Install using composer:
composer require rsfera/laravel-firebird
Update the app/config/app.php
, add the service provider:
'Firebird\FirebirdServiceProvider'.
For Laravel 6.0 and later:
Firebird\FirebirdServiceProvider::class,
You can remove the original DatabaseServiceProvider, as the original connection factory has also been extended.
Declare your connection in the database config, using 'firebird' as the connecion type. Other keys that are needed:
'firebird' => [
'driver' => 'firebird',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE','/storage/firebird/APPLICATION.FDB'),
'username' => env('DB_USERNAME', 'sysdba'),
'password' => env('DB_PASSWORD', 'masterkey'),
'charset' => env('DB_CHARSET', 'UTF8'),
'role' => 'RDB$ADMIN',
'engine_version' => '3.0.4',
],
And add to your .env
DB_CHARSET=UTF8
If necessary, change the UTF8 to any other charset
This package is a branch jacquestvanzuydam/laravel-firebird package and extends its functionality. Tested on Laravel-6.0.
All versions of laravel-firebird with dependencies
ext-pdo Version *
illuminate/support Version ^8.0
illuminate/container Version ^8.0
illuminate/database Version ^8.0
illuminate/events Version ^8.0
doctrine/instantiator Version ^1.2