Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MacsiDigital/laravel-stripe
Stripe API with Laravel Eloquent type syntax
https://github.com/MacsiDigital/laravel-stripe
hacktoberfest
Last synced: 3 months ago
JSON representation
Stripe API with Laravel Eloquent type syntax
- Host: GitHub
- URL: https://github.com/MacsiDigital/laravel-stripe
- Owner: MacsiDigital
- License: mit
- Created: 2019-08-25T15:49:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-25T15:04:20.000Z (almost 4 years ago)
- Last Synced: 2024-05-01T11:27:43.413Z (6 months ago)
- Topics: hacktoberfest
- Language: PHP
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - MacsiDigital/laravel-stripe - Stripe API with Laravel Eloquent type syntax (PHP)
README
# Laravel package for Stripe Payments
A little Laravel package to communicate with Stripe.
## Installation
You can install the package via composer:
```bash
composer require macsidigital/laravel-stripe
```The service provider should automatically register for For Laravel > 5.4.
For Laravel < 5.5, open config/app.php and, within the providers array, append:
``` php
MacsiDigital\Stripe\Providers\StipeServiceProvider::class
```## Configuration file
Publish the configuration file
```bash
php artisan vendor:publish --provider="MacsiDigital\Stripe\Providers\StripeServiceProvider"
```This will create a xero/config.php within your config directory. Check the Stripe documentation for the relevant values in the config.php file.
Ensure that the location of the RSA keys matches.## Usage
Everything has been setup to be similar to Laravel syntax.
### Testing
At present there is no PHP Unit Testing, but we plan to add it in the future.
## Todo
- [ ] Tests, tests, tests
### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Colin Hall](https://github.com/macsidigital)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.