PHPackages                             josueneo/laravel5-sqlanywhere - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. josueneo/laravel5-sqlanywhere

ActiveLibrary[Database &amp; ORM](/categories/database)

josueneo/laravel5-sqlanywhere
=============================

Laravel 5.0^ Driver for the SAP SQLAnywhere database

0.2.7(6y ago)51.9k2[2 issues](https://github.com/josueneo/laravel5-sqlanywhere/issues)MITPHPPHP &gt;=5.6.0

Since Jun 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/josueneo/laravel5-sqlanywhere)[ Packagist](https://packagist.org/packages/josueneo/laravel5-sqlanywhere)[ RSS](/packages/josueneo-laravel5-sqlanywhere/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (8)DependenciesVersions (9)Used By (0)

This project was abandoned as of 2022, it was developed as part of my job at SAP for an internal Laravel app. Development for SQL Anywhere PDO driver seems to be stopped, however, there is support for PHP 8.2, 8.1, 8.0, 7.4, 7.3, 7.2 for prebuilt binaries, and source code is available at: [https://help.sap.com/docs/SUPPORT\_CONTENT/sqlany/3362971282.html](https://help.sap.com/docs/SUPPORT_CONTENT/sqlany/3362971282.html)

laravel5-sqlanywhere 0.2.3
==========================

[](#laravel5-sqlanywhere-023)

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

[](#a-driver-for-sap-sqlanywhere-17-for-use-with-the-laravel-framework-version-5x)

### Pre-requisites

[](#pre-requisites)

1. You need the SQL Anywhere libraries installed in your server, fortunately there is a developer version available at
2. Build and install the PDO\_SQLANYWHERE module from the PECL repo.

```
wget https://pecl.php.net/get/PDO_SQLANYWHERE -O PDO_SQLANYWHERE.tgz
phpize
./configure
make
make install
```

3. 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

```
systemctl edit httpd

```

This will open your text editor, just add the below:

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

```

\###For SLES 11 SP4 and below Edit your sysconfig file and add it there

To be written.

\###For SLES 12 GA and newer versions (Currently SLES 12 SP2) Same strategy as Fedora, Centos or RHEL 7.

To be written.

Installing driver
-----------------

[](#installing-driver)

Install it via composer

```
composer require josueneo/laravel5-sqlanywhere

```

Add service provider, open config/app.php

```
josueneo\laravel5sqlanywhere\SQLAnywhereServiceProvider::class

```

Edit configuration at config/database.php

```
'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.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~120 days

Recently: every ~191 days

Total

8

Last Release

2454d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b07e283f9837378a8b1158689d29f44f825b86c54513e5c5496e76deba5eb172?d=identicon)[josueneo](/maintainers/josueneo)

---

Top Contributors

[![josueneo](https://avatars.githubusercontent.com/u/2286053?v=4)](https://github.com/josueneo "josueneo (12 commits)")

---

Tags

laraveldatabasemodeleloquentsybasesqlanywhere

### Embed Badge

![Health badge](/badges/josueneo-laravel5-sqlanywhere/health.svg)

```
[![Health](https://phpackages.com/badges/josueneo-laravel5-sqlanywhere/health.svg)](https://phpackages.com/packages/josueneo-laravel5-sqlanywhere)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
