Laravel Broadcast and makeHidden not working properly?

HI all, In a cards game project I am currently working on there is an event broadcasted to other users when a player draws a card from their hand. I would like to hi...

postgres bulk update

Is there any feature in laravel that allows bulk update? I have set of update statements and I don't want to execute them in a loop one by one. I have tried using CASE WHEN...

Invalid request (Unsupported SSL request) after clear config:cache

[Mon Oct 8 10:49:13 2018] 127.0.0.1:7650 Invalid request (Unsupported SSL request) [Mon Oct 8 10:49:13 2018] 127.0.0.1:7651 Invalid request (Unsupported SSL reque...
Laravel
3
258

How can count table column unique values in Laravel 5.6?

working with laravel 5.6 and mysql. I have following table name as projects id name type 1 tuna bio 2 nhye IT 3 hyuj...

Error in shiow.blade

Hi Folks, thanks to the guys here for all previous help. I'm trying to adapt a php script from a couple of years ago. Having solved most of the issues I've come across one...

How to validate that a field must be true if another field is false

Below is a snippet of my validation currently: 'independent_financial_advisor' => 'required|boolean', 'understand_objective' =>...

Running Laravel Passport Install on production server

Is there a recommended way of getting php artisan passport:install to run automatically when somebody installs my project and when it is deployed on production? I have thou...

How best to insert data into a production database?

I am looking to insert production data into a table. I was wondering if I should be using a migration for this or a seeder?...
Laravel
5
101

laravel blade do not display the fetched id from the database

i fetched data from database using eloquent and i want to display to the view but all fetched data displayed except the id what is the problem my partial controller code is...

how can i add a validation rules in the controller and form

controller <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\models\University; use Auth; use Session; class UniversityContro...

Laravel lang from another path improved

hello guys, i need some help with loading a different lang folder from the default one, so far i did for one path but i want to make it dynamic by checking a var in...

Laravel Validation Session Expired

This is my validation file public function rules() { return [ 'classroom_id' => 'required', 'subject_id' => '...

Laravel Maintenance Mode

Hi everyone, How can I access a live Laravel app while in maintenance mode? I tried adding the --allow flag with my ip address but still can't access it. Am I missin...
Laravel
7
145

API validation not AJAX requests

Hi All, I'm creating a very basic api within an already existing laravel application, however i'm struggling to understand how to perform the validation of data submitted t...

Edit column data

Hello guys, I have a model that consists of three columns: site_title, site_description, keywords. In list.blade.php I have list of "keywords":...

Save and Save & Close in the same form

So, i have the need to add two buttons in a form. "Save" (like "apply"), which will just save the data and get back to the same item edit view....
Laravel
6
146

LOGIN ROUTE PROBLEM

i have this web default route to login return view('login'); });...

Email Verification Not Working on Different Platform

How does Laravel store the email verification token? There are two scenarios Registered my account from my computer, then I tried to activate it using m...

When I'm trying to update image it's works properly but old image doesn't delete.

Here is my code: $post = Post::find($id); $filename = public_path('uploads/posts/').$post->featured; if ($request-&...
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