2017 © Pedro Peláez
 

library laravel5-sqlanywhere

Laravel 5.0^ Driver for the SAP SQLAnywhere database

image

josueneo/laravel5-sqlanywhere

Laravel 5.0^ Driver for the SAP SQLAnywhere database

  • Tuesday, December 19, 2017
  • by josueneo
  • Repository
  • 1 Watchers
  • 3 Stars
  • 104 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 16 % Grown

The README.md

laravel5-sqlanywhere 0.2.3

A driver for SAP SQLAnywhere 17 for use with the laravel framework version 5.x

Pre-requisites

  1. You need the SQL Anywhere libraries installed in your server, fortunately there is a developer version available at https://www.sap.com/cmp/syb/crm-xu15-int-sqldevft/index.html, (*1)

  2. Build and install the PDO_SQLANYWHERE module from the PECL repo., (*2)

wget https://pecl.php.net/get/PDO_SQLANYWHERE -O PDO_SQLANYWHERE.tgz
phpize
./configure
make
make install
  1. If using apache http server, the SQL Anywhere libraries path must exist in LD_LIBRARY_PATH.

For Fedora/CentOS 7/RHEL 7

Override your httpd systemd script with, (*3)

systemctl edit httpd

This will open your text editor, just add the below:, (*4)

[Service]
Environment=LD_LIBRARY_PATH=/opt/sqlanywhere17/lib64

For SLES 11 SP4 and below

Edit your sysconfig file and add it there, (*5)

To be written., (*6)

For SLES 12 GA and newer versions (Currently SLES 12 SP2)

Same strategy as Fedora, Centos or RHEL 7., (*7)

To be written., (*8)

Installing driver

Install it via composer, (*9)

composer require josueneo/laravel5-sqlanywhere

Add service provider, open config/app.php, (*10)

josueneo\laravel5sqlanywhere\SQLAnywhereServiceProvider::class

Edit configuration at config/database.php, (*11)

'sqlanywhere' => [
            'driver' => 'sqlanywhere',
            'dsn' => 'sqlanywhere:',
            'username' => env('DB_USERNAME', 'root'),
            'password' => env('DB_PASSWORD', 'yourpassword'),
            'database' => env('DB_DATABASE_NAME', ''),
            'databasefile' => env('DB_DATABASE', ''),
            'host' => env('DB_HOST', 'localhost'),
            'port' => env('DB_PORT', '2638'),
            'options' => 'ASTOP=no'
        ]

Most of grammar files are based on the cgartner driver written for laravel 4., (*12)

The Versions

19/12 2017

dev-master

9999999-dev

Laravel 5.0^ Driver for the SAP SQLAnywhere database

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

  • php >=5.6.0

database laravel eloquent model sybase sqlanywhere

19/12 2017

v0.2.5

0.2.5.0

Laravel 5.0^ Driver for the SAP SQLAnywhere database

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

database laravel eloquent model sybase sqlanywhere

19/12 2017

v0.2.4

0.2.4.0

Laravel 5.0^ Driver for the SAP SQLAnywhere database

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

database laravel eloquent model sybase sqlanywhere

31/08 2017

v0.2.3

0.2.3.0

Laravel 5.0^ Driver for the SAP SQLAnywhere database

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

database laravel eloquent model sybase sqlanywhere

12/07 2017

v0.2.2

0.2.2.0

Laravel 5.0^ Driver for the SAP SQLAnywhere database

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

database laravel eloquent model sybase sqlanywhere

26/06 2017

v0.2.1

0.2.1.0

Driver for the SAP SQLAnywhere database

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

  • php >=5.6.0

database laravel eloquent model sybase sqlanywhere

14/06 2017

v0.2.0

0.2.0.0

Driver for the SAP SQLAnywhere database

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

  • php >=5.6.0

database laravel eloquent model sybase sqlanywhere

31/01 2017

v0.1.0a

0.1.0.0-alpha

Driver for the SAP SQLAnywhere database

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

  • php >=5.6.0

database laravel eloquent model sybase sqlanywhere

27/01 2017

v0.1.0

0.1.0.0

Driver for the SAP SQLAnywhere database

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

  • php >=5.6.0

database laravel eloquent model sybase sqlanywhere