Support the ongoing development of Laravel.io →

4,606 Threads

Order results

I want to order the result of a decreasing form of consultation. I'm trying this: $call = App\Call::...

0 Likes
4 Replies
Solved

Laravel 5 Builtin login with custom login

Hi I am using the build in login that ships with Laravel 5 for my admin login. I now need to add a l...

0 Likes
3 Replies
Solved
posted 9 years ago

Migrations in Production (with existing data)

Hello! I have a short question about migrations in production environments, where I have a lot of da...

0 Likes
1 Replies

How do I access pivot table columns?

Following the code below and it keeps saying the pivot property is NULL. There must be something wro...

0 Likes
3 Replies

Change SQL query on Auth, Laravel 5.1

When logging in, the query fails, because "email" is not on "usuario", it's in &...

0 Likes
6 Replies

Manage multiple database in one app

I don't know if this is possibile, but is there a way to manage more than one database if i have one...

0 Likes
1 Replies

MongoDB Error

Having issue of setting up a server for an existing app. Made sure all versions were the same on the...

0 Likes
0 Replies

Error "Missing argument 2" on a Constraining Eager Load closure

Hi, I'm using a Constraining Eager Load closure to filter a query, but when I use a second argument...

0 Likes
1 Replies
Solved

Complicated Query and Data Request

I will try to explain as best I can. I have a options table which is a tree structure like: Colors...

0 Likes
0 Replies

belongsToMany through belongsToMany with 'faked' pivot table (using an SQL View)

So, this question has been asked a lot, but there has to be a better way of doing it. Using a typica...

0 Likes
1 Replies

c9.io and laravel

hello i can't find .env file in root dir of my workspace and iwant to create one Failed to rename fi...

0 Likes
2 Replies
Solved

tinker parsed my error T_PAAMAYIM_NEKUDOTAYIM

I'm trying to insert data using tinker compact method here is my tinker snippet $post = App\Post::cr...

0 Likes
2 Replies
Solved
posted 10 years ago

Converting existing database to Laravel 5 migrate

Hi I'm using Laravel 5. I've already have a clean database with structures, relations and forign key...

0 Likes
4 Replies

How to pass data to a master.blade.php

I have a master.blade.php and I want a universal navbar that will take the titles of all blog posts...

0 Likes
4 Replies

Eloquent Model for one-to-many relationship that joins another table

Hello, I am new to Laravel and I'm trying to rebuild my corporate legacy system using PHP and Larave...

0 Likes
1 Replies

how to select datas from a relation in a collection or change their names before being turned into JSON

I have been stuck on this for a while even after reading other questions & docs from Laravel. I...

0 Likes
5 Replies
Solved

How to check a large list of Indexed URL in search engine using a Java Program

Hi Guys, I am trying to check thousands of URLs from search engine index, If they are existing or no...

0 Likes
1 Replies

Auto-generate and auto-update timestamps in Eloquent

I am new to Laravel and I am working on my database migrations. For one table, I've included the $ta...

0 Likes
1 Replies

getting results from db table charset utf-8

Hi, when retrieving data from a db table, results are not being decoded as utf-8 for example, I have...

0 Likes
9 Replies

How to get records from a table using records from other table as keys?

I have 3 tables: stores, settingkeys and settings. The 'stores' table stores the store names (and ot...

0 Likes
1 Replies
Solved

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.