Running Spark for Mollie requires you to make a few modifications before it fully runs on Laravel Vapor.
The default installation Spark will break the profile photo upload (teams and users) and the invoice pdf download. This package takes care of that.
It is recommended to use this package on a fresh installation of Spark for Mollie.
You can install the package via composer:
composer require "sandervanhooft/vaporize-spark-mollie:^1.0"
Next, install the required files with:
php artisan vendor:publish --provider="SanderVanHooft\VaporizeSparkMollie\VaporizeSparkMollieServiceProvider" --force
Run the migrations. This adds the required field to the users and teams tables.
php artisan migrate
Ensure you have wired up the Vapor NPM package as documented here.
You can use the published config file (config/vaporize-spark-mollie.php
) to swap out the used classes with your own customized ones.
This is what's in the config file:
return [
/**
* These custom classes override the default Spark InvoiceController classes.
*/
'user_invoice_controller' => UserInvoiceController::class,
'team_invoice_controller' => TeamInvoiceController::class,
/**
* These custom classes override the default Spark UpdateProfilePhoto and UpdateTeamPhoto interactions.
*/
'user_update_photo_interaction' => UpdateProfilePhoto::class,
'team_update_photo_interaction' => UpdateTeamPhoto::class,
];
Please see the releases for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email info@sandervanhooft.com instead of using the issue tracker.
This package was inspired by this thread on Laracasts.com, and this great blog post by Sandulat.
The MIT License (MIT). Please see License File for more information.