Download the PHP package riculum/php-pdo without Composer

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

PHP-PDO

A complete database toolkit written in PHP to handle PDO statements

Installation

Use the package manager composer to install the library

Initial setup

Credentials

The basic database settings can be set through environment variables. Add a .env file in the root of your project. Make sure the .env file is added to your .gitignore so it is not checked-in the code. By default, the library looks for the following variables:

More information how to use environment variables here

Configuration

Import vendor/autoload.php and load the .env settings

Statements

The select statement is used to return an array containing all the result set rows

The single statement is used to fetch the next row from a result set

The insert statement is used to insert new records in a table

The insertAssoc statement is used to insert new records in a table using an associative array

The update statement is used to modify the existing records in a table

The updateAssoc statement is used to update records in a table using an associative array and a where clause

The delete statement is used to delete existing records in a table

Use statement for other operations not mentioned

Transactions

Transaction are used to run a series of operations within an entity. If an exception is thrown between beginTransaction and commit, the transaction will automatically be rolled back.

Bugreport & Contribution

If you find a bug, please either create a ticket in github, or initiate a pull request

Versioning

We adhere to semantic (major.minor.patch) versioning (https://semver.org/). This means that:

In your automation or procedure you can always safely update patch & minor versions without the risk of your application failing.


All versions of php-pdo with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4.0
vlucas/phpdotenv Version ^5.3
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 riculum/php-pdo contains the following files

Loading the files please wait ....