Download the PHP package sinri/sinri-database-agent without Composer
On this page you can find all versions of the php package sinri/sinri-database-agent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sinri/sinri-database-agent
More information about sinri/sinri-database-agent
Files in sinri/sinri-database-agent
Download sinri/sinri-database-agent
More information about sinri/sinri-database-agent
Files in sinri/sinri-database-agent
Vendor sinri
Package sinri-database-agent
Short Description Provide a old-style alike quick SQL handler for PHP.
License MIT
Homepage https://github.com/sinri/sinri-database-agent
Package sinri-database-agent
Short Description Provide a old-style alike quick SQL handler for PHP.
License MIT
Homepage https://github.com/sinri/sinri-database-agent
Please rate this library. Is it a good library?
Informations about the package sinri-database-agent
SinriDatabaseAgent
Provide a old-style alike quick SQL handler for PHP. With this toolkit developers could be free from writing fundamental code for database.
Composer
composer require sinri/sinri-database-agent
Usage
- Include the
autoload.php
into your PHP project. -
Declare what you need for convenience.
- General Method
If the following SQL
SELECT X,Y FROM T WHERE KEY>0;
refers to this records:
KEY | X | Y |
1 | x1 | y1 |
2 | x2 | y2 |
If you need to do some modification.
You may want to use transactions.
For Developers
- Use Code Rule
PSR2
, just run./PSR2.sh
before commit and push ifphpcs
andphpcbf
is correctly installed. - Run
php test/test.php
to do Unit Test after correctingtest\config.php
settings.
Check
phpcs --report=full --standard=PSR2 --ignore=vendor .
phpcs --report=summary --standard=PSR2 --ignore=vendor .
Correct
phpcbf --report=full --standard=PSR2 --ignore=vendor .
License
SinriDatabaseAgent is published under MIT License.
All versions of sinri-database-agent with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package sinri/sinri-database-agent contains the following files
Loading the files please wait ....