Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bramus/php-database
A (Legacy) Database/Repository Implementation for PHP
https://github.com/bramus/php-database
Last synced: 5 days ago
JSON representation
A (Legacy) Database/Repository Implementation for PHP
- Host: GitHub
- URL: https://github.com/bramus/php-database
- Owner: bramus
- License: mit
- Created: 2022-03-15T14:57:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-21T13:29:08.000Z (over 2 years ago)
- Last Synced: 2024-05-01T23:16:08.809Z (7 months ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `bramus/database`
[![Build Status](https://github.com/bramus/php-database/workflows/CI/badge.svg)](https://github.com/bramus/php-database/actions) [![Source](http://img.shields.io/badge/source-bramus/database-blue.svg?style=flat-square)](https://github.com/bramus/php-database) [![Version](https://img.shields.io/packagist/v/bramus/database.svg?style=flat-square)](https://packagist.org/packages/bramus/database) [![Downloads](https://img.shields.io/packagist/dt/bramus/database.svg?style=flat-square)](https://packagist.org/packages/bramus/database/stats) [![License](https://img.shields.io/packagist/l/bramus/database.svg?style=flat-square)](https://github.com/bramus/php-database/blob/master/LICENSE)
`bramus/database` is a (Legacy) Database/Repository Implementation for PHP.
Built by Bram(us) Van Damme _([https://www.bram.us](https://www.bram.us))_ and [Contributors](https://github.com/bramus/php-database/graphs/contributors)
## Prerequisites/Requirements
- PHP 7.2 or greater
## Installation
Installation is possible using Composer
```
$ composer require bramus/database ~1.0
```## Usage
@TODO
## Testing
`bramus/database` ships with unit tests using [PHPUnit](https://github.com/sebastianbergmann/phpunit/) `~8.0` (@TODO).
- If PHPUnit is installed globally run `phpunit` to run the tests.
- If PHPUnit is not installed globally, install it locally throuh composer by running `composer install --dev`. Run the tests themselves by calling `./vendor/bin/phpunit` or using the composer script `composer test````
$ composer test
```## License
`bramus/database` is released under the MIT public license. See the enclosed `LICENSE` for details.