sandervanhooft/vaporize-spark-mollie
Composer 安装命令:
composer require sandervanhooft/vaporize-spark-mollie
包简介
Run Spark for Mollie on Laravel Vapor
README 文档
README
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.
Installation
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
Important!
Ensure you have wired up the Vapor NPM package as documented here.
Configuration (optional)
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, ];
Changelog
Please see the releases for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email info@sandervanhooft.com instead of using the issue tracker.
Credits
This package was inspired by this thread on Laracasts.com, and this great blog post by Sandulat.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-09