Download the PHP package ledtest/oracle without Composer

On this page you can find all versions of the php package ledtest/oracle. 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 oracle

Laravel Oracle Database Package

OracleDB (updated for Laravel 8.x)

Latest Stable Version Total Downloads Build Status

OracleDB is an Oracle Database Driver package for Laravel Framework - thanks @taylorotwell. OracleDB is an extension of Illuminate/Database that uses either the PDO_OCI extension or the OCI8 Functions wrapped into the PDO namespace.

NOTE: This package has not been tested in PHP 8.

Please report any bugs you may find.

Installation

With Composer:

During this command, Laravel's "Auto-Discovery" feature should automatically register OracleDB's service provider.

Next, publish OracleDB's configuration file using the vendor:publish Artisan command. This will copy OracleDB's configuration file to config/oracledb.php in your project.

To finish the installation, set your environment variables (typically in your .env file) to the corresponding env variables used in config/oracledb.php: such as DB_HOST, DB_USERNAME, etc.

Additionally, it may be necessary for your app to configure the NLS_DATE_FORMAT of the database connection session, before any queries are executed. One way to accomplish this is to run a statement in your AppServiceProvider's boot method, for example:

Basic Usage

The configuration file for this package is located at config/oracledb.php. In this file, you define all of your oracle database connections. If you need to make more than one connection, just copy the example one. If you want to make one of these connections the default connection, enter the name you gave the connection into the "Default Database Connection Name" section in config/database.php.

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

_NOTE: OCI8 is the default driver. If you want to use the PDO_OCI driver, change the driver value to 'pdo' in the config/oracledb.php file for whichever connections you wish to have utilize PDO_OCI. Setting the driver to 'pdo' will make OracleDB use the PDO_OCI extension. Given any other driver value, OracleDB will use the OCI8 Functions._

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.

Just like the built-in database drivers, you can use the connection method to access the oracle database(s) you setup in config/oracledb.php file.

Inserting Records Into A Table With An Auto-Incrementing ID

Note: When using the insertGetId method, you can specify the auto-incrementing column name as the second parameter in insertGetId function. It will default to "id" if not specified.

See Laravel Database Basic Docs for more information.

Unimplemented Features

Some of the features available in the first-party Laravel database drivers are not implemented in this package. Pull requests are welcome for implementing any of these features, or for expanding this list if you find any unimplemented features not already listed.

Query Builder

Schema Builder

License

Licensed under the MIT License.


All versions of oracle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
illuminate/support Version ^6.0
illuminate/database Version ^6.20.14
illuminate/pagination Version ^6.0
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 ledtest/oracle contains the following files

Loading the files please wait ....