Download the PHP package amish/stripe-test-clock without Composer
On this page you can find all versions of the php package amish/stripe-test-clock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amish/stripe-test-clock
More information about amish/stripe-test-clock
Files in amish/stripe-test-clock
Package stripe-test-clock
Short Description :package_description
License MIT
Homepage https://github.com/amishdev/stripe-test-clock
Informations about the package stripe-test-clock
StripeTestClock
Work with Stripe test clocks in laravel.
Installation
Via Composer
Publish config
Run migrations
Usage
Create a test clock:
Assigning test clocks to your customers.
To assign a clock to a customer for testing use the StripeTestClock::stripeOptions()
method.
This will add the 'test_clock' key to your array if there is an active clock.
It will not add the key if 'enabled' is set to false in your config, or if you don't have a clock active.
From there you can work with the clock from the stripe dashboard or using the cli.
If a test clock is deleted in stripe or expires you can prune using the artisan test-clock:prune
command to delete the models.
When testing locally I recommend using the stripe cli to forward webhook events to your app.
Change log
Please see the changelog for more information on what has changed recently.
Testing
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Author Name
- All Contributors
License
MIT. Please see the license file for more information.