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
2
votes
3 answers

Laravel Spark: How to turn on Team Billing?

Is there known science for turning on Team Billing in Laravel Spark? That is, if you want to use Laravel Spark's team billing features, you need to create your project with the team-billing option. However, (hypothetically, he lied) if you didn't…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
2
votes
2 answers

What is the @ Symbol in a Laravel Spark Vue.js Template?

In Laravel Spark's template files, you'll occasionally see something like this @{{ form.errors.get('name') }} That is, a span that's conditionally toggled visible/invisible…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
2
votes
0 answers

Adding extra fields to Laravel Spark Teams

Building out a project in Laravel Spark and need to add a couple of extra fields to the Teams. I am offering a free trial, the fields on the registration page are the usual user fields and also the team name. I need to also add a 'branch_name' and…
Lovelock
  • 7,689
  • 19
  • 86
  • 186
2
votes
1 answer

Spark: Assigning Roles to Invited Users

Using Laravel Spark, is there a way to -- either via UI or programmatically -- assign a team role to an invited user? That is, Laravel Spark doesn't allow admins to create users. Instead, a owner user invites them. This creates an entry in the…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
2
votes
0 answers

Unable to set the default value of a Vue model by using the query string

I am trying to implement a hidden field to my registration form which would hold an invitation token so I could track whether a user registered via a referral. I am trying to populate the hidden field from a query string, which looks something like…
Lemoncide
  • 79
  • 1
  • 7
2
votes
2 answers

Laravel Spark: Creating a new Settings Tab and Vue Component

In Laravel Spark, most settings panels have a corresponding Vue JS component, invoked via a custom tab
I'm creating a new settings panel. I'd like to…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
2
votes
2 answers

How to get a collection of Laravel Spark developers?

I'm using Laravel Spark and I'm reading the docs, but I can't find any method to get a list of my Spark developers. It looks like the only usage I can find that references the protected $developers variable is the middleware which compares an email…
Citizen
  • 12,430
  • 26
  • 76
  • 117
2
votes
1 answer

this.$http.get is not working inside methods vue js

I am working with Laravel + spark + vue js. Blade file Js file import draggable from 'vuedraggable' module.exports = { data() { return { …
Jass
  • 3,345
  • 3
  • 24
  • 41
2
votes
1 answer

Can Laravel validate markdown mime types?

Trying to validate a file upload to make sure it is a .md / markdown file. I have this: 'mdfile' => 'mimes:text/markdown' But also tried many variations: 'mdfile' => 'mimes:markdown' 'mdfile' => 'mimes:md' But it always fails even if I am…
Lovelock
  • 7,689
  • 19
  • 86
  • 186
2
votes
0 answers

Laravel Spark API Functionality

I am new to laravel spark and I'm trying to figure out the built-in API functionality. I am trying to consume the API within my application but the permissions I am setting seem that are not functioning properly or I am doing something wrong. This…
Geo
  • 3,160
  • 6
  • 41
  • 82
2
votes
1 answer

Getting the Current User

I am sorry for the dumb question, but I am new at this programming thing and having fun. How do I get the current user in a base Laravel Spark project? I know what the Laravel Spark documentation says, but I can't seem to get the information even…
TytonDon
  • 563
  • 1
  • 5
  • 18
2
votes
1 answer

Error while installing spark manually

I have downloaded the spark v1.0.5 and extracted in my laravel-project root with name "spark" then i have updated my composer.json file with repository and the require and laravel-project's composer.json looks like this { "name":…
Mohammed Abrar Ahmed
  • 2,290
  • 3
  • 15
  • 33
2
votes
1 answer

Laravel Spark for an API based (AJAX) web service?

A question: Will Laravel Spark be suitable as the boilerplate for an SaaS app that uses AJAX implementation? It seems nowadays the best way to start building a new web service is to choose such architecture that the backend is used as API for the…
ux.engineer
  • 10,082
  • 13
  • 67
  • 112
1
vote
1 answer

Laravel Spark - Defining a free plan

I am using Laravel Spark Next and I am trying to create a free plan. My application is charging users "Per seat" (# of projects) My application, however, will always have one free project included. That means I need to offer two plans: one free and…
oliverbj
  • 5,771
  • 27
  • 83
  • 178
1
vote
0 answers

Is there a sensible way to modify Laravel Spark to use multiple currencies?

I have a Laravel Spark project in which I'd like to offer plans in multiple currencies dependent on the user's geolocation. I think each plan would have to be 'replicated' for its desired currency so I'm thinking something like the following would…
Adam Thomason
  • 1,118
  • 11
  • 23