Download the PHP package php-objects/php-query-builder without Composer
On this page you can find all versions of the php package php-objects/php-query-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download php-objects/php-query-builder
More information about php-objects/php-query-builder
Files in php-objects/php-query-builder
Download php-objects/php-query-builder
More information about php-objects/php-query-builder
Files in php-objects/php-query-builder
Vendor php-objects
Package php-query-builder
Short Description Query Builder - Making SQL composing easier
License MIT
Package php-query-builder
Short Description Query Builder - Making SQL composing easier
License MIT
Please rate this library. Is it a good library?
Informations about the package php-query-builder
PO Query Builder
Query Builder for easing the SQL composing
Installing
Installing via Composer
Append the lib to your requirements key in your composer.json.
Alternative install
- Learn composer. You should not be looking for an alternative install. It is worth the time. Trust me ;-)
- Follow this set of instructions
Usage
SELECT
This is an example of select query.
- Applies limit
- Applies where
- Applies orderBy
- Applies groupBy
- Applies placeholders
INSERT
- Applies placeholders
UPDATE
- Applies limit
- Applies where
- Applies orderBy
- Applies groupBy
- Applies placeholders
DELETE
- Applies limit
- Applies where
- Applies orderBy
- Applies placeholders
WHERE
Every time a method is called, the condition is added to the query.
ORDER BY
GROUP BY
LIMIT
Using placeholders
Placeholders are a good way for building your queries when you don't know what values are going to be used (because they depend on the result of a query yet to be executed, for instance).
Issues/Features proposals
Here is the issue tracker.
Contributing
Only TDD code will be accepted. Please follow the PSR-2 code standard.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
How to run the tests:
To check the code standard run:
Lincense
MIT
Authors
- Originated by Marcelo Jacobus
- Modified by Sittiphol Phanvilai
All versions of php-query-builder with dependencies
PHP Build Version
Package Version
Requires
php-objects/php-objects Version
0.9.*
The package php-objects/php-query-builder contains the following files
Loading the files please wait ....