Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/00f100/fcphp-datasource
Package to manipulate datasource
https://github.com/00f100/fcphp-datasource
Last synced: about 8 hours ago
JSON representation
Package to manipulate datasource
- Host: GitHub
- URL: https://github.com/00f100/fcphp-datasource
- Owner: 00F100
- License: mit
- Created: 2018-08-17T03:35:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T02:01:45.000Z (over 5 years ago)
- Last Synced: 2024-01-12T19:30:05.192Z (10 months ago)
- Language: PHP
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FcPhp Datasource
Abstract class to Datasource FcPhp
[![Build Status](https://travis-ci.org/00F100/fcphp-datasource.svg?branch=master)](https://travis-ci.org/00F100/fcphp-datasource) [![codecov](https://codecov.io/gh/00F100/fcphp-datasource/branch/master/graph/badge.svg)](https://codecov.io/gh/00F100/fcphp-datasource)
[![PHP Version](https://img.shields.io/packagist/php-v/00f100/fcphp-datasource.svg)](https://packagist.org/packages/00F100/fcphp-datasource) [![Packagist Version](https://img.shields.io/packagist/v/00f100/fcphp-datasource.svg)](https://packagist.org/packages/00F100/fcphp-datasource) [![Total Downloads](https://poser.pugx.org/00F100/fcphp-datasource/downloads)](https://packagist.org/packages/00F100/fcphp-datasource)
## How to install
Composer:
```sh
$ composer require 00f100/fcphp-datasource
```or add in composer.json
```json
{
"require": {
"00f100/fcphp-datasource": "*"
}
}
```## How to use
This class is abstract. Have methods default to connect, disconnect, execute Query and get Strategy to use in Query.
See:
- [Datasource Integration Test](tests/Integration/DatasourceIntegrationTest.php)
- [Datasource Interface](src/Interfaces/IDatasource.php)
- [Query Interface](src/Interfaces/IQuery.php)
- [Strategy Interface](src/Interfaces/IStrategy.php)