Questions tagged [laravel-spark]

Spark is an experimental project primarily intended for building business oriented SaaS applications, and is highly opinionated towards that use case.

The Laravel Spark is an opinionated way of building out business oriented SaaS applications. It features team management, user roles, recurring billing through Stripe, and much more.

Spark is designed with only one goal in mind, to make scaffolding out a billing system for a SaaS app easy.

Links

News laravel/spark

221 questions
1
vote
1 answer

Laravel Spark : how to choose which Plan is offered in trial?

I'm using Spark with Teams. My app has 3 plans : Free, Pro and Agency. When an user signs up, he is placed in a Trial mode for 30 days, on the Free plan. Instead, I'd like to offer the Pro (paid) plan to my users during their trial period. After…
Didier Sampaolo
  • 2,566
  • 4
  • 24
  • 34
1
vote
1 answer

laravel-spark-google2fa Provider class not found after Spark update to v9.0

I recently updated a Laravel/Spark web application to the latest version of Spark (v9.*) via composer. Another package I use is Laravel-Spark-Google2FA which I also updated from v1.* to v2.*. Setup: The laravel-spark-google2fa package has a…
j3py
  • 1,119
  • 10
  • 22
1
vote
1 answer

How do I display both 'individual' and 'team' plans to a user registering?

How do I display both 'individual' and 'team' plans to a user registering? My app requires 1 x paid team plan, and 2 x paid individual plans. In my SparkServiceProvider if I comment out the individual plans, the team plan shows up on the…
1
vote
1 answer

How do you allow existing users to join teams in Laravel Spark?

It seems that spark only allows you to invite new users to join teams, how would existing users join a team?
Elliot
  • 1,457
  • 13
  • 40
1
vote
0 answers

Trouble with Laravel's Spark 'teamSubscribed' middleware with freeTeamPlan

Anyone know why the VerifyTeamIsSubscribed model (->middleware('teamSubscribed');) does not check if the team is on a free plan? It only seems to do onGenericTrial() which just checks if the trial_ends_at column is after today's date, but that…
Will
  • 465
  • 1
  • 3
  • 12
1
vote
1 answer

Laravel 5.7 - Spark API authentication session issues

Just going to preface this question by saying that I'm diving back into Laravel after a while of not using it, it appears there are a lot of changes, and the current project in question is using A LOT of the baked in "Laravel Ecosystem"... so I…
coleman-benjamin
  • 921
  • 1
  • 15
  • 29
1
vote
0 answers

Integrating Laravel Spark with Backpack

This is probably a silly question as i am just starting out with laravel. I have a laravel spark project with laravel backpack up and running. I would like to use the users and teams functionality within backpack to limit what users can see/do…
Craig
  • 11
  • 2
1
vote
0 answers

Laravel Spark Image File Upload Field Issues

I am migrating over to Laravel Spark. On the profile settings page I am trying to add an image upload field. As the profiles use VueJS, I am unsure how to be approach this. I've followed the docs to add normal text fields but can't get image file…
scopeak
  • 545
  • 1
  • 5
  • 22
1
vote
0 answers

modal-dialog appearing behind modal-backdrop

I am attempting to create a modal-dialog that opens on the button click. However, when I do this the modal-dialog opens being the modal-backdrop and the screen becomes grey and unclickable. This also results in the dialog being under the header of…
1
vote
1 answer

Extend a mixins script from vendor in Vuejs and Laravel

I have an original script (stripe.js) in my vendor file. Editing it directly in the vendor file is not a solution. I wish I could change the function (createCardElement) I need. /*stripe.js*/ module.exports = { /** * The mixin's data. */ data()…
Jeremy
  • 1,756
  • 3
  • 21
  • 45
1
vote
1 answer

Laravel Spark - Notifications stuck & Stripe nagging for publishing key that exists

Just curious if anyone else is facing this issue with Laravel Spark where the notifications are intermittently stuck in loading and if there's a simple fix for it? Ie: Also, I'm receiving this Stripe error in my error console whenever I attempt to…
Grant
  • 5,709
  • 2
  • 38
  • 50
1
vote
1 answer

Laravel Spark 6.0 Ajax request unauthenticated

I am building an app from a vanilla Spark 6.0 installation. I can login, access the Kiosk and click around. I have created a new Card section with a form and am using the SparkForm object as directed by the documentation; however every single…
Scott-David Jones
  • 292
  • 1
  • 6
  • 22
1
vote
2 answers

Laravel API Routing Not Doing Throttling - Always Set To Default 60,1

I have a group of endpoints that I want to have a throttle of 10 requests per minute. Currently, my endpoint group looks like this: Route::group([ 'middleware' => 'auth:api', 'throttle:10,1' ], function () { // endpoints here } The issue is…
TytonDon
  • 563
  • 1
  • 5
  • 18
1
vote
1 answer

Array to string conversion when using routeNotificationForDatabase

I've wrote a custom model without any relations to the database that uses the Notifiable trait. To support Database notifications I've added the method routeNotificationForDatabase() to this class as follows: public function…
imadk
  • 51
  • 6
1
vote
0 answers

Laravel Spark license and Heroku Pipeline

So, I have a Laravel Spark license and I recently upgraded my code from Spark version 3 to 6. I decided that before i push that big of a change, I should go ahead and set up a pipeline with a staging app (like I should have done months ago). I am…
Joshua Foxworth
  • 1,236
  • 1
  • 22
  • 50