meredevelopment meredevelopment
3

Casting to Array in Model strips 'keyed' keys. Manually using `json_decode` doesn't.

I am storing this in a DB column (MariaDB, Text) called "insured_works": {"3000000":{"certificate":3000000,"pids":[22...
Bina00 Bina00
15

UpdateOrCreate tries to find non existing id column

I have a job running in the background about every three hours to update database records according to data published on a different site. Using the Symfony DomCrawler I ge...
Eloquent
15
860
mstnorris mstnorris
61

Guidelines for posting on Laracasts.com

I have started this thread for everyone to favourite and share with others when the OP doesn't conform to, well, these guidelines. They are not meant to be hard and fast ru...
General
61
791
isaackearl isaackearl
42

I need some socket server education.

Hello! I recently starting adding support for push notifications through socket to one of my apps, and then I realized I have no idea about server requirements for s...
Servers
42
179
xuuto xuuto
3

suppose i want to create an organizational website for ngo with laravel.

i want to create a website of ngo with laravel. that website is going to have some features like about us section, what we do, who we are, services etc. some one of...
suncoastkid suncoastkid
1

Laravel and Headless CMS

Is anybody using Laravel with a Headless CMS? If so, can you share your experience? Positive? Not so much? Pitfalls?...
Laravel
1
102
narendra_thapa narendra_thapa
61

Ajax URL

i am trying to use ajax for dynamic change of dropdown box but URL is not directing to the controller function ajax function $.ajax({...
Laravel
61
2368
faizaltkl faizaltkl
2

Vue Component

Hi, Im using Vue in my laravel project.So when im clicking my navbar icon im loading different components, so it is loading twice.What would be the issue?...
Vue
2
63
FareedR FareedR
3

hasManyThrough 3 table .

how can I achieve list of student in from university through campus . db structure universities id name campuses id university_id name users id campus_i...
munazzil munazzil
8

Would like to know Developers Experience(Coding) and Age?

In this forum there are lot of developers, Because of that Can we reply or ask question according to there experiences and age....
General
8
193
tanmay_das tanmay_das
0

Laravel notification is broadcasted when the queue connection is set to database, but not when set to redis

I am facing this weird issue, I have a notification App\Notifications\SomethingHappened. I am using laravel-websockets package. I have my queue connecti...
RIAengine RIAengine
3

spark license with multiple developers

I hired a couple developers to help me with my spark app. But they can't install spark locally without installing from the git repo and they can't do that without joining t...
Spark
3
230
Lestah Lestah
0

I use the make:auth but login nav display is distorted when i @extend

this is the localhost:8000 welcome.blade.php <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body>...
fabioi fabioi
2

A serie on stress testing / load balancing?

Hi! I am really enjoying Laracast and learning a lot. Thanks Jeffrey! I just wanted to ask if in the future you could make a serie on stress testing and load balan...
autefrum autefrum
0

\App\Console\Kernel.php is called by cron - is it run for every http GET also?

Code in my \App\Console\Kernel.php is getting a little complicated. I am worried that it might be executed every time a person hits a http endpoint, or every time an API ca...
vandan vandan
4

Driver [] is not supported.

i am using maatwebsite 3.1 $path=public_path()."C:\Users\Vandan\Downloads"; $file = Excel::store(new UsersExport, 'Sales Register 2019 C...
mpchean mpchean
0

Livewire anyone

I know that it's in the experimental phase but Caleb Porzio's Livewire https://calebporzio.com...
ruhul ruhul
5

Class cookie does not exist laravel 5.2

everything was working perfectly. I tried to add https://laravelcollective.com/docs/5.2/html and u...
Laravel
5
165
AndySong AndySong
2

Maybe a forum diffforhumans(time) bug?

If I create a new thread, when I visit /discuss the subtitle diffforhumans(time) shows correctly, however, when I visit the thread itself page...
mindyerwebsite mindyerwebsite
0

Best Queue Driver for SAAS app.

Hey there, Im looking for a bit of advise around queue drivers and SAAS applications. I am rebuilding a very old SAAS app I built many years ago, at the time...
ralphlaw ralphlaw
2

Help with Custom admin guard with Nova

Hi, Does anyone have some sample code/tutorial/snip showing how to create a custom guard for use with Nova? I have admin users in a separate table from regula...
Nova
2
41
abdelmoughit555 abdelmoughit555
2

saving a record through belongs to many relationship

Hi everyone! I'm trying to save a record using belongsToMany relationship //team model public function users() { return $this->belo...
bballantyne bballantyne
0

Retrieving Client Credentials grant token returns 401 Unauthorized

I'm setting up Laravel Passport's Client Grant and using Guzzle to retrieve a token, but I'm getting a 401 Unauthorized error. The request works from Insomnia though....
megaman megaman
9

use statement without laravel

When using laravel i am used to being able to install laravel packages and other php composer libraries with composer and then do use someauthor/somepackage $...
General
9
104
irankhosravi irankhosravi
4

nth-child not working

I want to change background nth-child for column card. #about .card:nth-child(1):before { background: #7e57c2 url("../images/box.png"); bo...
nikocraft nikocraft
1

Laravel's polymorphic relationships performance vs normal relationships

When it comes to polymorphic relationships are there any hits on performance vs. using standard relationships. Or are polymorphic relationships equally good? I have a case...
zfdeveloper zfdeveloper
9

Get all through pivot table

I have three tables: User, Subscription (pivot), Plan When an user buy a plan I add to subscription user_id and...
General
9
143
FrankWiebe FrankWiebe
2

Notifications in Multi-database

I have multi-tenant multi-database setup and I'm overwriting getConnectionName() to set the connection to the separate database and it's wor...
fabiobettiol fabiobettiol
5

Nova Action: export resource to a customized PDF

Interested in streaming to PDF (not download, and preferable on a new tab) a customized version (with barcode, etc) of the resource, using barryvdh/laralev-dompdf It...
Nova
5
113

Parent and Grandchildren classes in Laravel, using same table?

Hi there! I am rewriting an old program into Laravel at the moment. The old program had items in it. There was a parent class, Items, and then a number of chi...
user9846451 user9846451
2

"Connection refused" when creating Elastic Beanstalk environment

I'm following this tutorial to set up Laravel on an AWS Elastic Beanstalk environment:...
Laravel
2
144
chunterb chunterb
3

Guzzle Http Not Logging In Laravel With Monolog

I have this example: use Monolog\Logger; use GuzzleHttp\HandlerStack; use GuzzleHttp\Middleware; use GuzzleHttp\MessageFormatter; p...
ankaroo ankaroo
1

Best practices for Admin/Member zone (controllers/models/prefix/roles, etc)

Hi ! I have finished the first part of my app by creating CRUD actions on my Many-to-Many relationships (Trainings-Users-Groups) and now I'd like to make the member...
Miko55 Miko55
0

Laravel Passport cookie expire

I have authorization done by consuming API with Javascript, so with cookie. Now I wonder how to set expire? If I close browser and come back I am still logged, only way tha...
coolpraz coolpraz
11

Laravel api route redirect to /home route

Route define under routes/api.php always redirect to /home route in Laravel 5.4 instead returning json output. Route::middleware('auth:api')->get('/user',...
Laravel
11
1449
Create a New Discussion Button