opscale-co/nova-webhooks

Add webhooks support triggered by your resource CRUD operations.

1.0.0 2025-03-16 20:57 UTC

This package is auto-updated.

Last update: 2025-03-16 21:00:52 UTC


README

At Opscale, we’re passionate about contributing to the open-source community by providing solutions that help businesses scale efficiently. If you’ve found our tools helpful, here are a few ways you can show your support:

Star this repository to help others discover our work and be part of our growing community. Every star makes a difference!

💬 Share your experience by leaving a review on Trustpilot or sharing your thoughts on social media. Your feedback helps us improve and grow!

📧 Send us feedback on what we can improve at feedback@opscale.co. We value your input to make our tools even better for everyone.

🙏 Get involved by actively contributing to our open-source repositories. Your participation benefits the entire community and helps push the boundaries of what’s possible.

💼 Hire us if you need custom dashboards, admin panels, internal tools or MVPs tailored to your business. With our expertise, we can help you systematize operations or enhance your existing product. Contact us at hire@opscale.co to discuss your project needs.

Thanks for helping Opscale continue to scale! 🚀

Description

Add webhooks support triggered by your resource CRUD operations.

Integrations are everywhere, even managing your operations in your Nova app you will need to communicate with external systems for triggering actions or keep records up to date. Webhooks are the best solution for that!

Webhook creation Wwebhook demo

Installation

Latest Version on Packagist

You can install the package in to a Laravel app that uses Nova via composer:

composer require opscale-co/nova-webhooks

Next up, you must register the tool with Nova. This is typically done in the tools method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvider.php
// ...
public function tools()
{
    return [
        // ...
        new \Opscale\NovaWebhooks\Tool(),
    ];
}

This package uses Laravel Webhook Server internally to fire the webhook event, any further configuration can be done publishing the configuration file using:

php artisan vendor:publish --provider="Spatie\WebhookServer\WebhookServerServiceProvider"

Usage

You will see a "Webhooks" item in your menu by default. You can your webhooks here and they will be triggered after the CRUD operation is completed. Remember to have your queues working.

Testing

npm run test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email development@opscale.co instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.