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
3
votes
1 answer

How Do Laravel Spark Forms Submit?

Laravel Spark has a number of forms in its settings area. Here's one that adds teams. If I look at the source code of this form, I see the following. The HTML source for this form looks like the following
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
3
votes
1 answer

Why is Laravel Spark being installed in project root, then symlinked into vendor?

I've noticed a (to me) weird pattern that Laravel Spark is using to install itself and I cannot really figure out as why this should be done or is being considered good practice. The behaviour Given we create a Spark application in directory…
thormeier
  • 672
  • 9
  • 25
3
votes
0 answers

Laravel 5.2 Validator::Make throws exception 'Argument 2 passed to Illuminate\Validation\Factory::make() must be of the type array, object given'

I keep getting this exception using laravel's custom validation and I have no idea why. Here is the full exception message: local.ERROR: exception 'ErrorException' with message 'Argument 2 passed to Illuminate\Validation\Factory::make() must be of…
3
votes
1 answer

How do I setup the Laravel Installer & Laravel Spark Installer's bash PATH?

I am struggling with the Laravel & Spark Installers with regard to the bash 'PATH' update step. I have always used Composer to setup my Laravel projects manually. I am working with Ubuntu 14.04 on a Vagrant Box.
ATLChris
  • 3,198
  • 7
  • 39
  • 65
2
votes
1 answer

Can you combine Strip and Paddle in a single Laravel Spark application?

I already have an existing Laravel Spark site running that employs the Stripe payment provider. I noticed that the newest Laravel Spark supports PayPal using the Paddle payment provider. On the spark website, it says: Supported Payment…
helloworld
  • 223
  • 1
  • 7
  • 24
2
votes
1 answer

Using Sanctum with Laravel Spark conflict

My setup Laravel 8 Laravel Spark Mollie I'm constantly hitting a brick wall when calling API requests with Spark & Sanctum. I've installed Sanctum with no problem and migrated. I've added use Laravel\Sanctum\HasApiTokens; to app/Models/User.php…
2
votes
3 answers

Axios response.data return HTML instead of an object

I need help about Axios. I develop a SPA webapp on Laravel 6 (with package SPARK) and VueJS (version 2). On a Vue component, I want to retrieve datas from my bdd. So, I use Axios to make a get request on an API uri. But, when I call Axios request,…
CDpro
  • 31
  • 1
  • 1
  • 4
2
votes
0 answers

Upgrading Laravel Spark to v5.0 from v4.0

I upgraded my application from Laravel v5.4 to v5.5. I need to upgrade Laravel Spark from v4.0 to v5.0 as Spark 5.0 is a free upgrade for Spark applications and provides compatibility with Laravel 5.5. The best and easiest way to upgrade Spark is…
Debiprasad
  • 5,895
  • 16
  • 67
  • 95
2
votes
1 answer

Stripe subscription plan name is "default"

I have set up a product and subscription plan on stripe and have a matching plan on Laravel Spark. I was able to charge the subscription through a test card number and everything seems to be working fine. However, the "name" field for the…
Joshua Foxworth
  • 1,236
  • 1
  • 22
  • 50
2
votes
1 answer

Laravel Spark Dynamic Developers (for Kiosk)

The Spark Documentation states that a dynamic list can be used in place of the $developers array, but there is no hint on where to place this: Spark::developers($developers); I can easily retrieve a specific team's emails to pass as the parameter,…
parker_codes
  • 3,267
  • 1
  • 19
  • 27
2
votes
2 answers

Laravel Spark, only showing the cancel subscription option after adding a subscription plan

After connecting the stripe payment system with my Laravel Spark installation I quickly setup some subscription options. Next, I subscribed to one of them using the test credit cards. Everything seems fine at the Stripe dashboard. However, if go the…
helloworld
  • 223
  • 1
  • 7
  • 24
2
votes
1 answer

Cannot override Laravel Spark authentication with own implementation

During the login process of Laravel Spark I need to request a token of a remote API. This API stores the exact same users and passwords as the Laravel Spark application. Therefore I need to get the username and non hashed password of the user during…
Yokovaski
  • 178
  • 11
2
votes
1 answer

Laravel Spark: CSRF Failure on Login Page

Using Laravel Spark (or any Laravel login form with CSRF protection), if a user leaves the login page open for a period of time (like, say, leaving the window open at work and returning to it later) and then attempts to login, they're presented with…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
2
votes
1 answer

multiple $http.get calls must update row as they come

I have a table that holds information from multiple sources (websites). Each row is a different source. The user can refresh the data for each individual row/source/website by clicking a refresh icon, or, the user can update ALL rows by clicking the…
2
votes
1 answer

Where does `billlable` come from in Laravel Spark's `update-payment-method-stripe` Component?

If Laravel Spark, there's a vue component with the following inline template /* ... */
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
1 2
3
14 15