Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damax-solutions/php-chargeable-api
Charge credit for API calls.
https://github.com/damax-solutions/php-chargeable-api
api bundle payment php symfony symfony-bundle
Last synced: 3 months ago
JSON representation
Charge credit for API calls.
- Host: GitHub
- URL: https://github.com/damax-solutions/php-chargeable-api
- Owner: damax-solutions
- Archived: true
- Created: 2018-07-02T14:05:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-17T14:49:37.000Z (almost 6 years ago)
- Last Synced: 2024-09-26T04:33:03.360Z (3 months ago)
- Topics: api, bundle, payment, php, symfony, symfony-bundle
- Language: PHP
- Homepage:
- Size: 93.8 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Damax Chargeable API
[![Build Status](https://travis-ci.org/damax-solutions/php-chargeable-api.svg?branch=master)](https://travis-ci.org/damax-solutions/php-chargeable-api) [![Coverage Status](https://coveralls.io/repos/damax-solutions/php-chargeable-api/badge.svg?branch=master&service=github)](https://coveralls.io/github/damax-solutions/php-chargeable-api?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/damax-solutions/php-chargeable-api/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/damax-solutions/php-chargeable-api/?branch=master)
Charge credit for API calls. Provides integration with [Symfony Framework](https://github.com/symfony/symfony).
See [example](examples/processor.php).
## Features
- Withdraw credit from user's wallet for specific URLs of your API.
- Deny access to the service if user has insufficient funds.
- Specify different prices for various endpoints.
- Use console commands to review user's balance, deposit and withdraw credit.
- Support for various wallets: _Redis_, _MongoDB_, wallet with _fixed_ credit amount or implement your own.
- Subscribe to API purchase events to notify your application and act accordingly.## Documentation
Topics:
- [Installation](doc/installation.md)
- [Concepts](doc/concepts.md)
- [Configuration](doc/configuration.md)
- [Usage](doc/usage.md)## Contribute
Install dependencies and run tests:
```bash
$ make
```