3Nd_R1m 3Nd_R1m
7

Internationalizing URL while keeping routes name

Good day, I was wondering if I could translates URL in Laravel. Here's what I mean: Given a ressources routes named "Dogs", the URL would appear as follow:...
movepixels movepixels
0

Placeholder in sting

This might be dumb question, but is it possible to save a string to the database with a variable place holder, then when retrieved you fill the var with the actual value?...
shadrix shadrix
1

What kind of Browser/App is this? (Showing Responsive Devices as a Browser)

I'm watching a Tailwind video and saw this: Do you know what this could be? Original source i...
Tips
1
21
moukbel moukbel
6

asset() work with localhost , not with domain.local

hi, I add a virtual host to my project myproject.local the asset() doesn't work <img src="{{ asset('/icons/1.png') }}" alt...
dr-bob dr-bob
12

Spark, Cashier and Stripe SCA considerations

Starting September 14, 2019, European regulation requires Strong Customer Authentication (SCA) for...
Spark
12
454
finchy70 finchy70
2

Vue Select: How do I mark an option as selected dependant on id?

I pass the current id of an object via props (id_check) and loop through an array of objects to populate a select dropdown. I cant pre select the object with the same id a...
Vue
2
39
potentdevelopment potentdevelopment
5

Eager Loading Multiple Relationships Error Thrown

Hello, I am trying to eager load multiple relationships and run a where clause on it here is my code: $menu_group = MenuGroup::with([ 'groupItem...
krishna9720 krishna9720
2

Stripe Error Must provide source or customer laravel and Stripe token response null

Hi experts, I integrate stripe payment gateway to my laravel application Below is the code snippets. ProductController.php public funct...

How to write code in laracast?

I want to write code that cleanly. So nice views. How can I do that?...
Assistance
68
2250
JoeDawson JoeDawson
4

Using whereHas to return results where ALL relations match?

Hello, I currently have the following query: $recipes = Recipe::latest()->whereHas('ingredients', function(Builder $query) {...
me10071990 me10071990
12

If condition is not working

I have many column and applied for file and image(featured) it's working but not for title and content public function store(Request $req...
Laravel
12
161
thebigk thebigk
1

GroupBy and Chunk - How do I go about it?

I've an intermediate table that maintains the performances of the students in the tests. The table structure is as follows - user_id | test_id | question_id...
mada72 mada72
6

user- delivery address - many to many

Hello, I have user-delivery address a relation many-to-many I want to get delivery address in my order but I don't know what the last address is(no last in my DB)...
lukegalea16 lukegalea16
12

Call controller function from another controller

Knowing that calling a controller function from another function is not good practice for Laravel, I tried adding a service which can be used to call another function from...
Laravel
12
141
jay_gorio jay_gorio
11

Flatten laravel nested relationship (parent to descendants)

I have a parent children relationship on my model. What I want is to flatten all those collection including all those descendants of parent. [ { 'na...
Laravel
11
109
codebullet codebullet
3

firstOrCreate on multiple related records from XML feed

Hi all please I need help saving multiple records from XML Feed I am using Rodenastyle/stream-parser to receive the data, I can do updateOrCreate the records My chal...
AnthonyFuller AnthonyFuller
2

PayPal

I would like to try Laracasts for a month but I don't see the option to pay with PayPal. I have saw...
tobyreed tobyreed
6

Submit form

Hello, Is there a quicker way to submit a form without having to use the function 'type' every time I want to type into an input field?...
Eco012390 Eco012390
3

Laravel Echo Private Channel for guest user how?

How do I setup a Laravel private channel for guests? Laravel Echo Echo.private('ticket.1') channels.php Broadcast::ch...
Laravel
3
205
popcone popcone
3

Laravel and Vue

I'm building a large application using laravel and vue. My question is should we include all vue files under 'resources' folder of laravel? Or should I keep frontend and ba...
Vue
3
53
COACHTHEM COACHTHEM
0

ES6 features like arrow function, Array.from() not working after compiling js files with LaravelMix.

ES6 features like arrow function, Array.from() not working after compiling js files. I get this error in IE browser SCRIPT438: Object doesn't support property...
kiasaty kiasaty
0

Database Notification Error on Lumen while sending notifications

Hi. I'm trying to send notifications on Lumen when a new Offering (Model) is created. I added below packages and followed instructions on Laravel documentations:...
Lumen
0
10
INsanityDesign INsanityDesign
0

Q: BroadcastException - Fail gracefully

Hi I got a question regarding failing gracefully in the case the pusher server ist not running. Right now, if the websocket serve is running all...
ihorvorotnov ihorvorotnov
4

Upload a file to a model ID subdir

Hi everyone! I’m creating Exercises in Nova and use native File and Image fields to handle uploads. However, I...
Nova
4
90
MattB MattB
0

updating table column based on paypal package return

Currently, I'm using the Paypal package from srmklive which almost entirely working except I would like it to update a specific column in my database when it returns with t...

Dynamic custom fields: JSON, Pivot, morphToMany?

Hello everybody, I'm currently working on a "custom fields" feature for my Laravel-app. What it's supposed to do Each CustomField...
oliverbusk oliverbusk
2

Managing mass user settings

So I just finished the two part videos https://laracast...
jp1kashyap jp1kashyap
6

Laravel/passport authentication problem

I am getting api_token when login but when i use this token it returns 401. I am facing this problem after moving my site to other server. when it was on old server it was...
rob_utopano rob_utopano
0

Model containing a json field of models

Hey guys, I need to create a Model which has a string property/field which should contain a JSON-Array of serialized models. Is this possible and can i deserialize t...
mlouka mlouka
8

Creating an E-Commerce Website on Laravel

Hello Everyone, I have a client that would like an e-commerce site created, but I don't want to create for him a dinky e commerce application on wordpress (the only...
Laravel
8
879
jinsonjose jinsonjose
2

Google static map generated based on the address inputted.

Google static map generated based on the address inputted. is there any api for this can you help...
kidi kidi
2

Pass array from child to parent

Hi! I have two component. The parent is: Worksheet The child is: ProductCart In the ProductCart there is an array where can I put the items into the ca...
Vue
2
35
iki iki
0

nova with mongodb

anyone got nova to work with mongodb ? when trying to add it says call to function prepare of null , cause they are using transactions , anyone could get it to work...
Nova
0
15
bhagwant.banger bhagwant.banger
2

Is there laracast available on Piped Email

I wish to read incoming emails from ZOHO mail. I was wondering if there is a laracast available....
lokisdio lokisdio
0

BrainTree Cashier

As you can see here: https://laravel.com/docs/5.8/braintree its says to insta...
Create a New Discussion Button