2017 © Pedro Peláez
 

library laravel-openbase

Openbase (OpenSQL) driver for Laravel 5

image

plcosta/laravel-openbase

Openbase (OpenSQL) driver for Laravel 5

  • Wednesday, November 1, 2017
  • by plcosta
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Laravel Openbase (OpenSQL) Database Package

Laravel OpenBase (updated for 5.1)

Openbase is an Openbase Database Driver package for Laravel Framework. Thanks OpenBase Sistemas (http://www.openbase.com.br), (*1)

Please report any bugs you may find., (*2)

Installation Guide

Add plcosta/openbase as a requirement to composer.json:, (*3)

{
    "require": {
        "plcosta/openbase": "0.1.*"
    }
}

And then run composer update, (*4)

Once Composer has installed or updated your packages you need to register OracleDB. Open up config/app.php and find the providers key and add:, (*5)

Plcosta\Openbase\OpenSqlServiceProvider::class,

Finally you need to publish a configuration file by running the following Artisan command., (*6)

$ php artisan vendor:publish

This will copy the configuration file to config/openbase.php, (*7)

Basic Usage

The configuration file for this package is located at 'config/openbase.php'., (*8)

Once you have configured the OracleDB database connection(s), you may run queries using the 'DB' class as normal., (*9)

$results = DB::select('select * from users where id = ?', array(1));

The above statement assumes you have set the default connection to be the oracle connection you setup in config/database.php file and will always return an 'array' of results., (*10)

$results = DB::connection('openbase')->select('select * from ce02 where id = ?', array(1));

See Laravel Database Basic Docs for more information., (*11)

License

Licensed under the MIT License., (*12)

The Versions

01/11 2017

dev-add-todo-readme

dev-add-todo-readme

Openbase (OpenSQL) driver for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pedro Costa

laravel lumen laravel 5 openbase pdo_open

02/05 2016

dev-master

9999999-dev

Openbase (OpenSQL) driver for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pedro Costa

laravel lumen laravel 5 openbase pdo_open

02/05 2016

0.1.4

0.1.4.0

Openbase (OpenSQL) driver for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pedro Costa

laravel lumen laravel 5 openbase pdo_open

04/02 2016

0.1.3

0.1.3.0

Openbase (OpenSQL) driver for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pedro Costa

laravel lumen laravel 5 openbase pdo_open

03/02 2016

0.1.2

0.1.2.0

Openbase (OpenSQL) driver for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pedro Costa

laravel lumen laravel 5 openbase pdo_open

15/12 2015

0.1.1

0.1.1.0

Openbase (OpenSQL) driver for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pedro Costa

laravel laravel 5 openbase pdo_open

15/12 2015

0.1.0

0.1.0.0

Openbase (OpenSQL) driver for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pedro Costa

laravel laravel 5 openbase pdo_open