Learn how to customize your Spark Stripe application.
brand.logo
configuration item within your application’s config/spark.php
configuration file. This configuration value should contain an absolute path to the SVG file of the logo you would like to use:
brand.color
configuration item within your application’s config/spark.php
configuration file. This configuration value should be a valid hex code or correspond to a background color offered by the Tailwind CSS framework:
vendor:publish
Artisan command:
resources/views/vendor/spark/app.blade.php
template, you may define your own font-sans
CSS class at the bottom of the templates head
section:
vendor:publish
Artisan command:
resources/lang/spark/en.json
file containing translation keys and values for the English language. You may copy this file and translate it to the language of your choice. For more information on how to use Laravel’s translation features, please consult the Laravel localization documentation.
add_spark_columns_to_users_table
migration with the columns that will be used by your application’s billable model. For more information on customizing migrations for team billing, checkout our Cookbook documentation.
WebhookReceived
event that is dispatched by Cashier.
First, you should create a listener for the event. Then, inside of the listener’s handle
method, you will receive the WebhookReceived
event which contains the event payload. You may inspect this event’s payload to determine if the given listener should handle the underlying Stripe event: