Download the PHP package shaunfreeman/php-mysql-xdevapi without Composer
On this page you can find all versions of the php package shaunfreeman/php-mysql-xdevapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shaunfreeman/php-mysql-xdevapi
More information about shaunfreeman/php-mysql-xdevapi
Files in shaunfreeman/php-mysql-xdevapi
Package php-mysql-xdevapi
Short Description PSR-11 library for easy setup of MySQL X DevAPI into Laminas.
License BSD-3-Clause
Informations about the package php-mysql-xdevapi
Welcome to PHP MySQL XDevApi
This is a PSR-11 library for easy setup of MySQL XDevAPI into Laminas. To use this library you must have the PECL mysql_xdevapi installed, see https://www.php.net/manual/en/book.mysql-xdevapi.php on how to install this extension.
Installation
Run the following to install this library:
if you haven't got the 'laminas/laminas-component-installer' installed then in your config/config.php
file add \XDevApi\ConfigProvider::class
to the ConfigAggregator like:
Configuration
After installing php-mysql-xdevapi, you will need to first enable the component, and then optionally configure it.
We recommend adding a new configuration file to your autoload directory,
config/autoload/xdevapi.local.php
. To begin with, use the following contents:
Support
- Issues https://github.com/shaunfreeman/php-mysql-xdevapi/issues
- Source https://github.com/shaunfreeman/php-mysql-xdevapi
Known Issues
There seems to be a bug when running mysql_devapi
with OPcache
, where CollectionFind::limit()
and CollectionFind::offset()
will return bool
when the OPcache
is enabled.
To workaround this make sure the OPcache
extension is loaded before the mysql_xdevapi
extension.
You may also need to add the line below to your opcache.ini
file or at the end of your php.ini
file
All versions of php-mysql-xdevapi with dependencies
ext-json Version *
ext-mysql_xdevapi Version *
psr/container Version ^1.0
laminas/laminas-paginator Version ^2.8
laminas/laminas-hydrator Version ^3.0