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

Laravel Spark work flow and customization

This may be a simple question for people that are using Spark. I was working off of files in the 'vendor' folder and it seems I should not be editing files there but when I modify files in the 'resources' folder and refresh the browser nothing…
Howard
  • 3,648
  • 13
  • 58
  • 86
0
votes
0 answers

Laravel Spark vuejs methods aren't working on events

I've asked in IRC and slack but I can't get anyone to figure out why this isn't working. //test-vue.blade.php @extends('spark::layouts.app') @section('content')
0
votes
1 answer

How can I preload data for vue.js in Laravel Spark?

According to the docs and examples, I have perfectly working code that functions great: Vue.component('admin-competitions-index', { data: function() { return { competitions: [] } }, mounted() { …
Citizen
  • 12,430
  • 26
  • 76
  • 117
0
votes
0 answers

Adding spark-installer to path with zsh

I'm using zsh with oh-my-zsh as my shell and I need to add the Laravel Spark Installer to my path, but I must be missing a step or messing up the syntax I've added spark-installer to my path like this:…
retrograde
  • 2,979
  • 6
  • 28
  • 54
0
votes
1 answer

Use controller data in Vue component

I'm building an app with Laravel (Spark) and Vue. The user can create an entry: form on the left, preview on the right, using v-model to bind the preview to the inputs. That works Now, when the user edits an existing entry, I get the entry in…
Jan Henckens
  • 133
  • 1
  • 7
0
votes
1 answer

How to change the language in Laravel Spark?

How can I change the language of Laravel Spark without editing all the blade-files? I could edit all blade-files and change the labbels/messages with the lang() function, but then I don't get the blade updates anymore (or I have to redo this after…
user3253002
  • 1,521
  • 3
  • 21
  • 43
0
votes
1 answer

How do I use a vuejs plugin with Laravel Spark's build system?

I've been trying to get a datepicker plugin working in my Laravel Spark app with Vuejs. I've tried adding to app.js: var datepicker = require('vuejs-datepicker'); Vue.use(datepicker); But I get plugin.apply is not a function(…) in the JS…
Joe
  • 4,618
  • 3
  • 28
  • 35
0
votes
1 answer

Laravel Spark not logging in

The spark registration page shows up fine. I fill out the form, submit, and there is a new entry in the database. Calling the function to get the current user : $router->get('/user/current',…
Joshua Foxworth
  • 1,236
  • 1
  • 22
  • 50
0
votes
0 answers

Laravel spark chrome csrf invalid

Firefox and IE 11/Edge are behaving correctly. But when I attempt to log in to my Laravel spark app from Chrome, I am able to the first time, but am immediately told my session is expired, it kicks me out to the login screen, then every subsequent…
Zombiesplat
  • 943
  • 8
  • 19
0
votes
1 answer

Can Laravel Spark do this?

If I'm not mistaken, this is a framework that jumpstarts my web app with basic needs? I have an app that will eventually turn enterprise level granted we deliver in a timely manner and the existing version is a complete mess of code, so we've…
Zombiesplat
  • 943
  • 8
  • 19
0
votes
0 answers

Model files and DB interaction in Laravel/Spark

I have been using Laravel for quite few months. I switched to Spark for my new project and got few questions. Where are the Model files in Spark? (I used to have my Model files in app/Model in Laravel) I could not find logic where the DB connection…
Venkat
  • 37
  • 3
0
votes
1 answer

jQuery uncaught reference error $foo is not defined

I'm trying to expand and collapse single divs on click using jQuery on the Laravel Spark framework. My code is mostly coming from the answer to this question. When the selectShow text is clicked, the alert works fine, but the console shows this…
0
votes
2 answers

Laravel spark project create issues

Please help me solve this issue.Everything is fine. Its ubuntu. The spark create new project gives this error.
Shahid Karimi
  • 4,096
  • 17
  • 62
  • 104
0
votes
1 answer

vue.js list ( template ) binding not updating when changing data from directive

First of all : I'm using laravel spark and the given setup of vue that comes with spark. I have a "home" component with the prop "custom". Within custom there's a "passwords" array. (Entry added by code of directive, it's initialized empty) My…
Frnak
  • 6,601
  • 5
  • 34
  • 67
0
votes
1 answer

Inserts into MySQL table going onto separate rows

I'm working within Laravel Spark and am inserting values into a MySQL table. I'm performing a series of inserts such as DB::table('nameOfTable')->insert(['id' => $user['id']]); DB::table('nameOfTable')->insert(['name' => $user['name']]); The…
1 2 3
14
15