SteamDiesel SteamDiesel
1

VueJS and Vuex updating computed properties fed by state data

Hey team, I have a Tasks Component which I've resused across my app for 3 difference but similar models. The nature of the app means I may want one of each of these models...
Vue
1
24
Chron Chron
1

Is there a pdf version of the docs?

I still have a lot to learn but the internet connection is the problem. The school I'm in doesn't have that. I want to study the framework while I'm at school and still you...
wardaddy wardaddy
3

Property or method is not defined on the instance but referenced during render.

I use laravel 5.7 and vue 2.5.7, I just learned vue.js a few weeks ago, I'm following an advanced series to make a blog using laravel and vue on youtube. I thought I had fo...
Vue
3
264
amrasouli79 amrasouli79
1

Check is value unique when I want update the database

Hello. I have a problem with check the unique values I have a column that name of it is code inside on of my tables. This column should be unique. The validation work fo...
Laravel
1
133
Maks0815 Maks0815
2

Select only specific attributes with eager loading

Hey is it possible to get specific attributes with eager loading, i want to select only one attribute from the role table for example. Thanks in advance:) $u...
danilofer danilofer
1

Array to string conversion

convert string to array with sync. I'm trying to pass two data from a multiple select to an attribute, looking for a way to synchronize them to convert from string to an ar...
Amine-Barh Amine-Barh
0

View components not loading

Hi, i'm trying to make a real-time chat service in my web app, i've followed the tutorial in pusher "...
shihabudheen shihabudheen
3

Access token validate from another server?

I am using laravel passport for making API , and using from java script application. some time, i want to use this access token to identify user from different server whic...
dbos1504 dbos1504
3

Paypal

Hello, I found, well about 1.000 tuts about stripe integration (stripe is not suported in my country), any chance you can make some lessons about paypal integration, though...
Chron Chron
2

app.css reverting back

I want to import fontawesome inside app.scss but whenever it compiles the app.css reverts back....
successdav successdav
2

add unique $table->unique generates error

$table->unique(['user_id', 'subscriber_id', 'subscriber_type', 'active']); The above code generate error when migrating the database; error:...
aufawibowo aufawibowo
6

Base table or view not found

I've been doing Laravel 5.7 From Scratch Part 8 Eloquent Namespacing and MVC but I encounter with Illuminate/Database/QueryException with message 'SQLSTATE[4...
DavidPetrov DavidPetrov
5

Using laravel policy to filter eloquent query

So I recently just got into the concept of gates and policies and totally loved it. However, a natural question that appeared alongside my work was if I could somehow simpl...
Laravel
5
139

Global gate or policy for all controllers

What I'm trying to do sounds quite simple but I can't figure out how to do it. Basically I want a global gate or policy which is applied to all controllers. I want t...
iHridoy iHridoy
2

What Sublime Text Theme and Packages Jeffrey Way used Currently?

What Sublime Text Theme and Packages Jeffrey Way used Currently? Can we get a regularly updated list? TIA...
General
2
174
max_well max_well
0

Sentry in Nova no always propagating correctly

Hi, is anyone using Nova and has also Sentry activated ( https://gith...
Nova
0
11
kiven7l kiven7l
1

laravel spark app

any tutorial about creating laravel spark app please ?...
Spark
1
30
mikkelbfriis mikkelbfriis
3

Laravel collection merge removes an item?

Hiya, casts! I've recently been trying to figure out why my eloquent->merge removes an item? $value['city'] = 'KĂžbenhavn'; $advertisements = App\Adverti...
joshblevins joshblevins
2

Auto Refresh Div with query Filters

I have followed this tutorial to build a filter on one of my pages.......
angelorigo angelorigo
0

Nuxtjs and Lumen API

Hi, Would be nice to have a series of videos about constructing an application using Lumen as API and NuxtJs as the front end....
Vue
0
16
aufawibowo aufawibowo
5

composer install without 'composer.json', is that possible?

I got a laravel project which I'm about to clone, but the problem is, it contains no 'composer.json'. Only 'composer.lock'. Is that possible to do composer i...
floweringmind floweringmind
2

Trying to get distances between two geocode points

I am trying to compare one user's Latitude and Longitude against the rest of the users in my database table profiles. This SQL works: SELECT...
leonvr leonvr
4

API Call not returning a response

This works fine: http://127.0.0.1:8000/api/all //api.php: Route:...
xtremer360 xtremer360
2

Theme Assets To Compile With Mix

I have just recently purchased a new theme to brand with my application and I am trying to consider the best way to go about storing the assets that are needed to make the...
Mix
2
28
lambooni lambooni
1

Laravel database transactions across chained queues (Horizon/Redis)

I have searched for hours on this and am thinking its maybe simply not possible? Is If a job in my queue chain fails, can I rollback all database transactions that have occ...
nipun nipun
4

Adding new field into to User table

I have updated the laravel users table by adding few more field.usertype was one of it. Then I have updated the User model fillable field and also I have added required inp...
cristian9509 cristian9509
4

Slow queries with Eloquent, always over 1600ms

I have two Lumen apps in production (both AWS, EC2) and from time to time I see random queries that take exactly over 1600ms. I am using DB::listen to log the query includi...
GoldeNx3 GoldeNx3
0

Sort by morph author

Hello! I have query like: Offer::with(['author', 'offerCategory', 'attribute', 'metaPremium'])->latest()->paginate(20); My offers can...
ottz0 ottz0
1

CORS using Laravel and Axios

I'm using Laravel and Axios but am getting CORS issues. I'm going around in circles and getting very confused, so if someone can help me that would be great I can ge...
Vue
1
46
mouzak mouzak
7

Foreign key

hi,how to automatically retrieve the primary key from the table 'salaries'. knowing it's foreign key in the table'paie'. paie model namespace App; use Illumin...
milosradic milosradic
2

Problem with pagination in combination with adding new records

Hi all, I have a problem with my pagination. I have posts that are paginated (10 per page - i have load more button on page and it loads next 10 posts on same page e...
timgavin timgavin
11

Trouble with defining relationships

I'm having a hard time figuring out the relationships between my tags and posts. I created a tagging system that would store tags in one table (tags) an...
mlutz mlutz
5

Problem with german date format

Hello, i have problems with german date format and postgresql. this is part of json request to the API: trainingsdate: "21.02.2019" Validatio...
Lumen
5
59
joshblevins joshblevins
2

Using array in search filters

I have followed this tutorial to build a filter on one of my pages.......
joshblevins joshblevins
6

Request returns last row only.

I have a form where the user can add rows to add multiple rows of data at one time. When I dump the array, I get the last row only. I can't seem to see where the fl...
Create a New Discussion Button