laravel passport

hi . i want make panel . . for frontend i use vuejs ... I have 3 ways 1 -- i use laravel default auth with make:auth and use \Larav...

Search query issue

Hi. I'm trying to search users using scopes but when trying to search for all, it only returns the wrong data. I.e I have in the searches form a checkbox with "All&quo...

ErrorException: Trying to get property of non-object

i have two table users and messages, i want to show name of user that sent message when i get list of messages. but i get error in line of Accessor in message...

Language setting

Hello, How to set up the language setting? resources/lang/en/en.php return [ 'home' => 'Home', 'profile' => 'Profile', 'about_us...
Laravel
11
79

Save Polymorphic table

I created a polymorphic table for comments, and I can't save/create on this table. this is the models: [code] namespace App; use Illuminate\Database\Eloquent\Model;...
Eloquent
10
396

Filesystem disk per user

Hello, I'm thinking about a solution to store files for authenticated user in separate directories. I was trying to use the 'disks' in the filesystem.php like this. But it...

Wrong file extension after AWS S3 upload

I am trying to upload APK files to AWS S3 Bucket but they are being saved as ZIP files. Laravel 5.6, PHP 7.1.16 This code worked before, but I wanted to change it be...

Best Practice (Service, Controller or something else)

Hi all, I'm a total noob when it comes to design patterns, however I have managed to stay true to Laravels MVC scheme until now. But now I'm at a point where I can't find t...

How to bcc to sender mail?

I tried to keep a copy of mail content by bcc to sender mail but it doesn't work. Is there a way to keep a copy to what sender sent? Mail::send(....., funct...

Forge - change new site default nginx config

Could someone point me in the right direction on where to edit the master copy of the nginx config that gets copied/installed for each new site created in Forge? To...

Manage Assets with Laravel Mix on Package

How to manage assets inside a package with laravel mix?...
Mix
4
23

keep old input data if conditions

i have form that i want to keep the old value if session is show <input id="name" name="name" value="{{old('name')}}">...

How to edit Vagrantfile for Homestead?

Hi guys, I'm getting 100% CPU usage from VBoxHeadless process. After some research, it turns out this setting in Vagrantfile should help: $enable_serial...

Laravel create method inserting timestamp to updated_at column as well

I am trying to insert data with something simple like $data_arr['created_by'] = $this->data['user_id']; $data_table = Model::create($data_arr);...

Indirect modification of overloaded property ... has no effect

Howdy! I'm having trouble with some appended attributes on a model. I get the following error: Indirect modification of overloaded property App\ModelN...

Failed login or failed registering attempt redirects to /(home) on server, but working fine on local server

Hi all, Not sure if this is a Laravel issue or a Server issue. In using the Laravel Auth generated by Artisan and have only made minor changes to the template...

Low request per second with Laravel, Docker, and AWS

Laravel 5.5 Php 7.0 AWS 8 cpu / 16GB Docker with nginx/php inside. I have an api that serves oauth2.0 via passport. It was wo...
Servers
17
95

Laravel - E-Commerce - Suggestion

Hi, I got new project to do which is E-Commerce platform. So I will use Laravel in this project. After long time of research I have found many Open Source E-Commerce...

syntax error, unexpected 'class' (T_CLASS) in Laravel Cart

I am trying to install a this shopping cart using Laravel but I am getting an error and I cannot figure it out...
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels