-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
123 changed files
with
1,982 additions
and
10,057 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CELCOIN_LOGIN_URL='https://sandbox.openfinance.celcoin.dev/v5/token' # Your Login Auth here | ||
CELCOIN_API_URL='https://sandbox.openfinance.celcoin.dev' # Your API URL here | ||
CELCOIN_CLIENT_ID='' # Your Client ID here | ||
CELCOIN_CLIENT_SECRET='' # Your Client Secret here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ npm-debug.log | |
yarn-error.log | ||
.gitkeep | ||
.idea | ||
composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Changelog | ||
|
||
All notable changes to `celcoin-laravel` will be documented in this file | ||
|
||
## 0.0.1-beta - 2023-08-24 | ||
|
||
- Initial beta release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) We Dev Tecnologia | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# Celcoin Laravel API Wrapper | ||
|
||
This package is an **UNOFFICIAL** API Wrapper for [Celcoin/Acesso API](https://developers.celcoin.com.br/). | ||
This package is an **UNOFFICIAL** API Wrapper for [Celcoin API](https://developers.celcoin.com.br/). | ||
|
||
## Requirements | ||
PHP >= 8.0 | ||
Laravel >= 8.x | ||
|
||
- PHP >= 8.1 | ||
- Laravel >= 8.x | ||
|
||
## Installation | ||
|
||
|
@@ -15,28 +16,26 @@ composer require wedevbr/celcoin-laravel | |
``` | ||
|
||
After install, just publish your config files: | ||
|
||
```bash | ||
php artisan vendor:publish --provider="WeDevBr\Celcoin\CelcoinServiceProvider" | ||
``` | ||
|
||
## Usage | ||
First you need to set up your credentials. Define yours `CELCOIN_CLIENT_SECRET`, `CELCOIN_CLIENT_ID`, `CELCOIN_LOGIN_URL` and `CELCOIN_API_URL` at .env file. | ||
|
||
### Changelog | ||
|
||
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. | ||
|
||
## Contributing | ||
|
||
Please see [CONTRIBUTING](CONTRIBUTING.md) for details. | ||
First you need to set up your credentials. Define | ||
yours `CELCOIN_CLIENT_SECRET`, `CELCOIN_CLIENT_ID`, `CELCOIN_LOGIN_URL` and `CELCOIN_API_URL` at .env file. | ||
|
||
### Security | ||
|
||
If you discover any security related issues, please email [email protected] instead of using the issue tracker. | ||
If you discover any security related issues, please email [email protected] instead of using the issue | ||
tracker. | ||
|
||
## Credits | ||
|
||
- [We Dev Tecnologia LTDA](https://github.com/wedevbr) | ||
- [Aron Peyroteo Cardoso](https://github.com/aronpc) | ||
- [Vagner Paes](https://github.com/VagnerPaes) | ||
|
||
## License | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,37 @@ | ||
{ | ||
"name": "wedevbr/celcoin-laravel", | ||
"description": "Celcoin API wrapper", | ||
"type": "library", | ||
"license": "MIT", | ||
"autoload": { | ||
"psr-4": { | ||
"WeDevBr\\Celcoin\\": "src/" | ||
"name": "wedevbr/celcoin-laravel", | ||
"description": "Celcoin API wrapper", | ||
"type": "library", | ||
"license": "MIT", | ||
"autoload": { | ||
"psr-4": { | ||
"WeDevBr\\Celcoin\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"WeDevBr\\Celcoin\\Tests\\": "tests/" | ||
} | ||
}, | ||
"require": { | ||
"php": "^8.1", | ||
"laravel/framework": "^9.0|^10.0", | ||
"guzzlehttp/guzzle": "^7.7" | ||
}, | ||
"require-dev": { | ||
"orchestra/testbench": "^7.24.1", | ||
"phpunit/phpunit": "^9.6.9", | ||
"laradumps/laradumps": "^2.0", | ||
"phpstan/phpstan": "^1.10" | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"WeDevBr\\Celcoin\\CelcoinServiceProvider" | ||
], | ||
"aliases": { | ||
"Celcoin": "WeDevBr\\Celcoin\\CelcoinFacade" | ||
} | ||
} | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"WeDevBr\\Celcoin\\": "src/", | ||
"Tests\\": "tests/" | ||
} | ||
}, | ||
"require": { | ||
"php": "^8.1", | ||
"laravel/framework": "^9.52.9|^10.0", | ||
"guzzlehttp/guzzle": "^7.7" | ||
}, | ||
"require-dev": { | ||
"orchestra/testbench": "^7.24.1", | ||
"phpunit/phpunit": "^9.6.9", | ||
"laradumps/laradumps": "^2.0", | ||
"phpstan/phpstan": "^1.10" | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"WeDevBr\\Celcoin\\CelcoinServiceProvider" | ||
], | ||
"aliases": { | ||
"Celcoin": "WeDevBr\\Celcoin\\CelcoinFacade" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.