Support the ongoing development of Laravel.io →

Can't populate dropdown menu with associated array.

Full Array Array ( [0] => Array ( [id] => 1 [label] => Home [li...

0 Likes
0 Replies
posted 6 years ago

Cakephp interview questions

CakePHP is a model–view–controller (MVC) based PHP web framework that provides rapid development of...

0 Likes
0 Replies
posted 6 years ago

Kotlin Interview Questions

Kotlin was introduced in 2011 by JetBrains, who were using Java earlier. There were two reasons for...

0 Likes
0 Replies
posted 6 years ago

Scheduled Tasks Stopped Running at Midnight

We have two identical Laravel environments, running the exact same configuration even the same Larav...

0 Likes
0 Replies
posted 6 years ago

reduce database query to one and avoid load() null error

I have this function: public function show($id) { if (count($post = Post::find($id)))...

0 Likes
0 Replies
posted 6 years ago

How to check unique key validation on Update

While adding a record we can check a unique key field with unique:<table>,<column> valid...

0 Likes
4 Replies
posted 6 years ago

Problem with laravel 5.8

Hi, I have a problem and I am a newbie. My code worked perfectly in laravel 5.7 but now in 5.8 an er...

0 Likes
2 Replies

[FIXED] Artisan denied access to database with correct de...

Something very strange is happening. I'm using MAMP to locally host my project, and that is able to...

0 Likes
0 Replies
posted 6 years ago

Create custom headers in zend soap server WSDL

Is there a way of creating an WSDL custom header with the auto-discovery function zend-soap server?...

0 Likes
0 Replies

Model split response on column true.

I have a query that I was previously calling with Quote::with(['detail.orders'])->findOrFail($id)...

0 Likes
1 Replies
posted 6 years ago

User and Profile tables

Hi guys. I'm developing a social network for training laravel and i have doubts about how I should o...

0 Likes
1 Replies
posted 6 years ago

Email Verification Woes

Hi all! I've been trying to get Laravel 5.7 email verification working for a few days now without su...

0 Likes
1 Replies
posted 6 years ago

Auto create database tables from Models? e.g. Like TypeORM?

I'm new to Laravel. Is there anything like TypeORM in Laravel that helps automatically create databa...

0 Likes
0 Replies
posted 6 years ago

Difficulties with Laravel passport API and Vue

Hello, When I send an API request in this group: Route::group(['prefix' => 'v1'], function() { Ro...

0 Likes
2 Replies

Please help to install Forms & HTML package

Dear freinds! I try to install Forms & HTML package Server Software CentOS release 6.10 (Final)...

0 Likes
4 Replies
posted 6 years ago

SQLSTATE[21000]: Cardinality violation: 1222 The used SELECT

Anyone encouter this error? SQLSTATE[21000]: Cardinality violation: 1222 The used SELECT statements...

0 Likes
0 Replies
posted 6 years ago

Having problem understanding methods in Laravel

Hello, I am a bit lost on this. I created a logout function with the passport API and would like to...

0 Likes
5 Replies

Check user settings before sending an email notification

I have a receiveEmail boolean field in the User model of a Laravel application. How do I ensure that...

0 Likes
2 Replies

Blade Template / Liquid Template Engine

HI All, I would like to check a few things, is there github repository for Blade or it's a built in...

0 Likes
2 Replies
posted 6 years ago

Pluralization via Translation Files

I cannot get the simple method of pluralization working. 'apples' => 'There is one apple|There ar...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.