Download the PHP package tallieutallieu/dry-dbi without Composer
On this page you can find all versions of the php package tallieutallieu/dry-dbi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package dry-dbi
DRY Dbi
Improved DRY databases
Index
- Installation
- Usage
- Testing
- Documentation
- Changelog
Installation
Usage
Define service provider
Repository definition
Extend from BaseRepository for some default behaviour.
Use repository
Testing
Run the test suite using Pest PHP:
This will execute all tests in the tests/ directory through Docker. For more information about testing, see tests/README.md.
Release Management
Releases are automatic, through dry-ci: merging a pull
request into master with a merge commit tags the next version and adds its section to
CHANGELOG.md. The pull request title, a Conventional Commit, decides the version:
| Pull request title | Release |
|---|---|
feat!: … (any type with !) |
major |
feat: … |
minor |
fix: … or any other type |
patch |
See how dry-ci works.
Criteria
| Name | Description |
|---|---|
| Equals($column, $value) | Check if column equals specific value |
| GreaterThan($column, $value) | Check if column is greater than specific value |
| GreaterThanOrEqual($column, $value) | Check if column is greater than or equals specific value |
| GroupBy($column) | Create a group by on a column |
| In($column, $values) | Check if column value is in array of values |
| IsFalse($column) | Check on falsy value |
| IsNull($column) | Check on NULL |
| IsTrue($column) | Check on truthy value |
| LessThan($column, $value) | Check if column is less than specific value |
| LessThanOrEqual($column, $value) | Check if column is less than or equals specific value |
| LimitOffset($limit, $offset) | Create a limit/offset on query |
| NotEquals($column, $value) | Check if column and value are not equals |
| NotNull($column) | Check on NOT NULL |
| OrEquals($column, $value) | Check if column equals value with OR connector |
| OrderBy($column, $order = 'ASC') | Order by column with default ordering ASC |
| Raw($value, $bindings) | Build a custom query |
All versions of dry-dbi with dependencies
PHP Build Version
Package Version
The package tallieutallieu/dry-dbi contains the following files
Loading the files please wait ...