Download the PHP package jurysosnovsky/doctrine-binary without Composer

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

Doctrine binary functions and bitwise operators

The set of extensions to Doctrine 2 that add support for binary functions and bitwise operators available in MySQL, Oracle, PostgreSQL and SQLite.

Installation

To install with composer:

Usage

For the Symfony please read How to Register custom DQL Functions.

For the standalone usage check out the documentation of Doctrine DQL User Defined Functions.

Most of databases uses common bitwise operators like AND (&) OR (|) NOT(~) etc. All available functions present in config.

MySQL

There are list of the available bitwise operators:

Bitwise AND (a & b) DoctrineBinary\Common\BitAnd

Bitwise OR (a | b) DoctrineBinary\Common\BitOr

Bitwise XOR (a ^ b) DoctrineBinary\Common\BitXor

Bitwise inversion (~a) DoctrineBinary\Common\BitInversion

Right shift (a >> b) DoctrineBinary\Common\LeftShift

Left shift (a << b) DoctrineBinary\Common\RightShift

There are list of the available binary functions:

BIT_COUNT(expr) DoctrineBinary\Mysql\BitCount

BIT_AND(expr) DoctrineBinary\Mysql\BitAnd

BIT_OR(expr) DoctrineBinary\Mysql\BitOr

BIT_XOR(expr) DoctrineBinary\Mysql\BitXor

PostgreSQL

There are list of the available bitwise operators:

Bitwise AND (a & b) DoctrineBinary\Common\BitAnd

Bitwise OR (a | b) DoctrineBinary\Common\BitOr

Bitwise exclusive OR (a # b) DoctrineBinary\Postgresql\BitXor

Bitwise NOT (~a) DoctrineBinary\Common\BitInversion

Right shift (a >> b) DoctrineBinary\Common\LeftShift

Left shift (a << b) DoctrineBinary\Common\RightShift

Oracle

There are list of the available bitwise operators:

Bitwise AND (a & b) DoctrineBinary\Common\BitAnd

Bitwise OR (a | b) DoctrineBinary\Common\BitOr

Bitwise XOR (a ^ b) DoctrineBinary\Common\BitXor

Bitwise NOT (~a) DoctrineBinary\Common\BitInversion

Right shift (a >> b) DoctrineBinary\Common\LeftShift

Left shift (a << b) DoctrineBinary\Common\RightShift

Zero-fill right shift (a >>> b) DoctrineBinary\Oracle\ZeroFill

There are list of the available binary functions:

BitAnd DoctrineBinary\Oracle\BitAnd

BitClear DoctrineBinary\Oracle\BitClear

BitNot DoctrineBinary\Oracle\BitNot

BitOr DoctrineBinary\Oracle\BitOr

BitRotate DoctrineBinary\Oracle\BitRotate

BitSet DoctrineBinary\Oracle\BitSet

BitShift DoctrineBinary\Oracle\BitShift

BitTest DoctrineBinary\Oracle\BitTest

BitXor DoctrineBinary\Oracle\BitXor

SQLite

There are list of the available bitwise operators:

Bitwise AND (a & b) DoctrineBinary\Common\BitAnd

Bitwise OR (a | b) DoctrineBinary\Common\BitOr

Bitwise NOT (~a) DoctrineBinary\Common\BitInversion

Right shift (a >> b) DoctrineBinary\Common\LeftShift

Left shift (a << b) DoctrineBinary\Common\RightShift

Other things

Run tests

Code style fixes

Troubleshooting

If you want add something please send pull request.


All versions of doctrine-binary with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2 || ^8.0
doctrine/orm Version ^2.7
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 jurysosnovsky/doctrine-binary contains the following files

Loading the files please wait ....