Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amsoell/shopify-webhooks
Validate incoming Shopify webhooks via Laravel Middleware
https://github.com/amsoell/shopify-webhooks
Last synced: about 6 hours ago
JSON representation
Validate incoming Shopify webhooks via Laravel Middleware
- Host: GitHub
- URL: https://github.com/amsoell/shopify-webhooks
- Owner: amsoell
- License: mit
- Created: 2023-09-05T08:01:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-29T14:56:57.000Z (10 months ago)
- Last Synced: 2025-01-03T01:08:38.072Z (2 days ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Shopify Webhooks
[![Latest Version on Packagist](https://img.shields.io/packagist/v/amsoell/shopify-webhooks.svg?style=flat-square)](https://packagist.org/packages/amsoell/shopify-webhooks)
[![Total Downloads](https://img.shields.io/packagist/dt/amsoell/shopify-webhooks.svg?style=flat-square)](https://packagist.org/packages/amsoell/shopify-webhooks)
![Tests](https://github.com/amsoell/shopify-webhooks/actions/workflows/tests.yaml/badge.svg)Middleware to [validate incoming Shopify webhooks](https://shopify.dev/docs/apps/webhooks/configuration/https) and optionally log them.
## Installation
```bash
composer require amsoell/shopify-webhooks
```## Usage
[Register the Amsoell\ShopifyWebhooks\Middleware\ValidateShopifyWebhooks middleware](https://laravel.com/docs/middleware#registering-middleware) to the routes that handle incoming Shopify Webhooks.
To log all validated webhooks, update the config file at `config/shopify-webhooks.php` to specify the logging driver and level.
### 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
- [Andy Soell](https://github.com/amsoell)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Laravel Package Boilerplate
This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).