Download the PHP package ivalin-venkov/stripe-watcher without Composer

On this page you can find all versions of the php package ivalin-venkov/stripe-watcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package stripe-watcher

Stripe Watcher

Packagist PHP from Packagist Laravel versions GitHub Workflow Status (main) Total Downloads

Package allowing you to inspect the stripe webhooks payload and result

Installation

You can install the package via Composer:

Stripe Watcher is designed to work alongside Stripe's PHP SDK. The package does not verify webhook signatures itself; verify the request in your existing webhook integration before the capture middleware runs. Composer will suggest stripe/stripe-php, but it is not a required dependency because verification may also be handled by Laravel Cashier or custom application code.

You may publish all of the package's resources at once:

Or, you may publish each resource individually:

Publishing the Configuration File

Publishing and Running the Migrations

Publishing the Views

Publishing the Translations

Publishing the Public Assets

The dashboard ships with a dependency-free responsive stylesheet. Publish the assets when enabling the dashboard; it is loaded from public/vendor/stripe-watcher/stripe-watcher.css. You can customize the published stylesheet without replacing the package views.

Usage

The dashboard is disabled by default. Enable it explicitly in the published configuration file:

The dashboard route is protected with Laravel authorization. Define the configured ability in the application, for example:

The dashboard uses the web, auth, and can:viewStripeWatcher middleware by default. These middleware, the route prefix, and the ability name can be changed in config/stripe-watcher.php.

The package provides a stripe_watcher_webhooks table and model for webhook capture. Publish and run the package migration when you are ready to enable storage. Attach the capture middleware to the application's existing Stripe webhook route; the package does not create a proxy endpoint:

Request and response headers and JSON payloads are redacted at the model boundary before storage. Configure the storage table through storage.table and sanitization through the redaction section of config/stripe-watcher.php. The package migration always creates and rolls back stripe_watcher_webhooks; if you configure a custom storage table, create its migration separately. Redaction fails closed: disabling it omits bodies, headers, and payloads rather than storing them unredacted. Invalid or non-JSON bodies are also omitted.

Request URLs are omitted to avoid persisting secrets embedded in URL paths. If signature verification runs before the capture middleware, set the result on the request using capture.signature_attribute (default: stripe_signature_verified). Captured records include request metadata, response data, exceptions, and processing duration. If the capture middleware does not find a boolean verification result, including when the attribute is missing or contains a non-boolean value, it records the webhook and writes a warning to the application log so the integration can be checked.

Exception messages and traces are omitted when redaction is disabled. Known configured sensitive values and common Stripe secret formats are omitted when redaction is enabled.

The default retention period is 30 days. Prune old records with:

Configure the default with retention.days.

Changelog

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

Contributing

Thank you for considering contributing to Stripe Watcher! Please review our contributing guide to get started.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

Stripe Watcher is open-sourced software licensed under the MIT license.


All versions of stripe-watcher with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/support Version ^12.0||^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ivalin-venkov/stripe-watcher contains the following files

Loading the files please wait ...