no debug page ( debug is true )

hi .. i keep getting "Whoops, looks like something went wrong." even tho debug is set to true. the app is working on my local machine. b...
00

How to change env variable / config in Dusk test?

I have a .env variable link to a Laravel config file which toggles certain section in my site. In Dusk testing I want to test that certain function...
02

why use patch where post is done the same job

I have used post to update any model in my project i have basic idea of other http methods like patch put delete but not sure whats the difference...
02

Dump and Die can see variable but I am unable to print it out

I have an array/object and when I try {{ dd($update->author->id) }} it prints dumps the author id no problem. However, wh...
13

Splitting vue/js components

I've got an app where the javascript is getting a bit out of hand (~3mb so far and there's a lot more of the app to go). Most of the JS i...
07

Laravel and security with .git

Hi everyone, I'm curious about something. As you probably know, there's a famous hack which consists in going to yoursite.com...
02

Object of class Razorpay\Api\Payment could not be converted to string

i am trying to insert razorpay attributes but i am getting the above mentioned error DB::table('table_payment')->insert([...
00

Need help to convert general sql query to query builder

Hello guys, my following query is running well. But I am finding it quite difficult to use it as query builder. I am just willing to make equivalen...
00

Listener Queue variable errors

I'm trying to queue an listener using ˜database˜, it works ok with ˜sync˜ but if i use database and send the variable trough the event it fires...
02

setLocale only returning "C" as available Language

Hi, I have multiple Languages installed on the server and calling locale -a returns all of them. Now if I call setlocale(LC_ALL,...
04

Routes not working after new installation

Hey guys, i recently developed a full CRUD social network application using Laravel 5.5, all of which worked fine on my desktop machine. After movi...
02

Join many relationship laravel Query Builder

Hello everyone ! I'm have issue with select result of Query builder. Four Tables musics => [id, title, file, image,...
00

Policy Authorize Redirect Instead of 403

Is there a way to accomplish this: if (Gate::denies('edit', $masterlist)) { return redirect()->route('masterlist.index'); }...
05

Testing upload_max_filesize

Hi, I've got an app with a laravel backend where i like to upload some images and video using my Larvel api/backend. I would like to add a...
00

BelongsToMany relation is not firing Saved event using touches

Lets say I have two models with a pivot table. It is a many to many relationship. When an instance of Model2 is saved, it needs to touch all model1...
03

Change visitor language based on location

Hi i hope this will help for anyone who need to change language based on users location(country name)....
01

What's the correct register/login flow with Socialite?

Right now, I send request to a third party, they redirect user (after giving permission) to my website callback and I render a registration view wi...
00

How can I listen to the db in real time?

Hello, I need to listen the db in real time, how I can do it? crontab - bad idea, because I have a sequence of running systems. long poll? web sock...
06

Laravel 5.7 is actually released or just documentation is updated with version?

I am not sure whether the actual version is released to install laravel 5.7 but its documentation shows that version? So whats the news and whats n...
03

You need to set up the project dependencies using Composer

Ubuntu 16.04 Php PHP 7.1.19-1+ubuntu16.04.1+deb.sury.org+1 Installed Laravel 5.6 via Composer tried vendor/bin/phpunit tests/U...
02