Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/auraphp/aura.sqlquery
Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.
https://github.com/auraphp/aura.sqlquery
microsoft-sql-server mysql php postgresql query-builder sqlite
Last synced: 3 days ago
JSON representation
Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.
- Host: GitHub
- URL: https://github.com/auraphp/aura.sqlquery
- Owner: auraphp
- License: mit
- Created: 2013-09-27T18:08:03.000Z (about 11 years ago)
- Default Branch: 3.x
- Last Pushed: 2024-03-14T04:50:32.000Z (9 months ago)
- Last Synced: 2024-10-29T17:38:39.584Z (about 2 months ago)
- Topics: microsoft-sql-server, mysql, php, postgresql, query-builder, sqlite
- Language: PHP
- Size: 1.08 MB
- Stars: 450
- Watchers: 35
- Forks: 86
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Aura.SqlQuery
Provides query builders for MySQL, Postgres, SQLite, and Microsoft SQL Server.
These builders are independent of any particular database connection library,
although [PDO](http://php.net/PDO) in general is recommended.## Installation and Autoloading
This package is installable and PSR-4 autoloadable via Composer as
[aura/sqlquery][].Alternatively, [download a release][], or clone this repository, then map
the `Aura\SqlQuery\` namespace to the package `src/` directory.## Dependencies
This package requires PHP 5.6 or later; it has been tested on PHP 5.6-8.1. We recommend using the latest available version of PHP as a matter of principle.
Aura library packages may sometimes depend on external interfaces, but never on
external implementations. This allows compliance with community standards
without compromising flexibility. For specifics, please examine the package
[composer.json][] file.## Quality
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/auraphp/Aura.SqlQuery/badges/quality-score.png?b=3.x)](https://scrutinizer-ci.com/g/auraphp/Aura.SqlQuery/)
[![codecov](https://codecov.io/gh/auraphp/Aura.SqlQuery/branch/3.x/graph/badge.svg?token=UASDouLxyc)](https://codecov.io/gh/auraphp/Aura.SqlQuery)
[![Continuous Integration](https://github.com/auraphp/Aura.SqlQuery/actions/workflows/continuous-integration.yml/badge.svg?branch=3.x)](https://github.com/auraphp/Aura.SqlQuery/actions/workflows/continuous-integration.yml)This project adheres to [Semantic Versioning](http://semver.org/).
To run the unit tests at the command line, issue `composer install` and then
`./vendor/bin/phpunit` at the package root. This requires [Composer][] to be
available as `composer`.This package attempts to comply with [PSR-1][], [PSR-2][], and [PSR-4][]. If
you notice compliance oversights, please send a patch via pull request.## Community
To ask questions, provide feedback, or otherwise communicate with other Aura
users, please join our [Google Group][], follow [@auraphp][], or chat with us
on Freenode in the #auraphp channel.## Documentation
This package is fully documented [here](./docs/index.md).
[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[PSR-4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md
[Composer]: http://getcomposer.org/
[PHPUnit]: http://phpunit.de/
[Google Group]: http://groups.google.com/group/auraphp
[@auraphp]: http://twitter.com/auraphp
[download a release]: https://github.com/auraphp/Aura.SqlQuery/releases
[aura/sqlquery]: https://packagist.org/packages/aura/sqlquery
[composer.json]: ./composer.json