Package Data | |
---|---|
Maintainer Username: | dam1r89 |
Maintainer Contact: | damir89@gmail.com (Damir Miladinov) |
Package Create Date: | 2017-03-31 |
Package Last Update: | 2017-04-01 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-15 15:16:43 |
Package Statistics | |
---|---|
Total Downloads: | 2,334 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Adds a webhooks useful for testing
composer require --dev dam1r89/test-hooks
config/app.php
dam1r89\TestHooks\TestHooksServiceProvider::class,
Publish
php artisan vendor:publish --tag="testhooks"
by default it works only on testing
and local
environment.
Supports only mysql database.
Method | Route | Params | Explanation --- | --- | --- | --- GET | /test-hooks/db | | Return list of all states PUT | /test-hooks/db | force - overrides previous state, state - state name | Store state PUT | /test-hooks/db/restore | state - state name | Restore previously saved state GET | /test-hooks/date | | Get curren test date PUT | /test-hooks/date | date - in format '2017-04-01 13:00:13' | Set testing date DELETE | /test-hooks/date | | Clear test date
With extension you can do it from chrome browser. Get it here