Download the PHP package uepg/laravel-sybase without Composer

On this page you can find all versions of the php package uepg/laravel-sybase. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-sybase

Sybase ASE based Eloquent module extension for Laravel

Packagist Version PHP from Packagist Packagist GitHub contributors GitHub

Install

Add the following in the require section of your composer.json:

Laravel 5.1, 5.2, 5.3

Laravel 5.4, 5.5, 5.6, 5.7, 5.8, 6.x, 7.x, 8.x, 9.x

Laravel 10.x

Update the package dependencies executing:

Add the following entry to your providers array in config/app.php file, optional in Laravel 5.5 or above:

Add the following entry to your aliases array in config/app.php file, optional in Laravel 5.5 or above:

Update your config/database.php's default driver with the settings for the sybase or your custom odbc. See the following example:

Update your .env with the settings for the sybase or your custom odbc. See the following example:

Configuration of freetds driver

In Linux systems the driver version must be set in freetds.conf file to the right use of charset pages.

The file is usualy found in /etc/freetds/freetds.conf. Set the configuration at global section as the following example:

Configuring the charset between the database and the application

To configure the charset between the database and the application, add the fields DB_CHARSET and APPLICATION_CHARSET in .env file, see the following example:

Configuring the cache

As the library consults table information whenever it receives a request, caching can be used to avoid excessive queries

To use the cache, add the fields SYBASE_CACHE_COLUMNS and SYBASE_CACHE_COLUMNS_TIME to the .env file, see the following example:

Setting to use numeric data type

In the migration file you must replace use Illuminate\Database\Schema\Blueprint; with use Uepg\LaravelSybase\Database\Schema\Blueprint;. See the following example:


All versions of laravel-sybase with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
doctrine/dbal Version ^3.5.1
illuminate/database Version ^10
illuminate/support Version ^10
ext-pdo Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package uepg/laravel-sybase contains the following files

Loading the files please wait ....