Support the ongoing development of Laravel.io →

4,606 Threads

SoftDelete - Problem

Hi, I am using SoftDelete in many models of my app by defining it like this: class Entries extends E...

0 Likes
0 Replies

Eloquent belongsToMany() with wherePivot() and has() -> SQL ERROR

I've got these two database schemas, I'll dumb them down for now. Schema::create('matchups', functio...

0 Likes
3 Replies

Custom SQL queries

I'm learning Laravel and have a custom query that i'm working on. How do I pass a variable string in...

0 Likes
3 Replies

Getting values from domain tables.

I have the following tables: Time_Tracker time_tracker_id time_tracker_module_id (FK with Modules) t...

0 Likes
2 Replies
Solved

How to show data from different table one to one relationship ?

Terms table term_id name slug Term_taxonomy table term_taxonomy_id term_id description i want to...

0 Likes
0 Replies
posted 10 years ago

Update seeding?

I haven't created a remember_token colum when I created users table. After I created users table I s...

0 Likes
3 Replies

I need get first,last name from table users?

Hello I need get first,last name from table users? in this function public function getAccountList()...

0 Likes
3 Replies

Can't pass data information to the associated view

Hi Everyone I'm attempting to pass whats only needed to a view on my website. Instead of using the a...

0 Likes
1 Replies

Custom Soft Delete Column

Hi guys, I'm in the process of rewriting a REST service, and I've decided to go with Slim Framework...

0 Likes
2 Replies

Can someone explain me use between fillable guarded and hidden in eloquent?

I don't quite undestand the explanations on laravel doc's http://laravel.com/docs/4.2/eloquent betwe...

quyle92 liked this thread

1 Likes
1 Replies

how get data from different tables?

Hello have 4 tables users,agents,users_agents,mt4_users, I am create join between users_agents,mt4...

0 Likes
0 Replies

[Eloquent] Select all and tell if relation exists

Hi guys, I need to select all models and see if relation exists. Here's an example: Let's say I have...

0 Likes
8 Replies

Trying to make some html code only shown to users who registered an email adress

I'm new to laravel/webdevelopement in general, so i thought to start out i'd do a authentication scr...

0 Likes
2 Replies
Solved

Migration not running on correct database

Hi there, I've just created a new laravel app, and I'm trying to run my first migration. Somehow lar...

0 Likes
3 Replies
Solved

Morphable with HasOne - getting the right info

Hi, I have a User model, and polymorphic models to define different user types - eg UserAdmin One of...

0 Likes
2 Replies

Laravel pagination return empty result set

Hi everyone, This is my first post on laravel.io :) I'm getting an issue using the paginate() method...

0 Likes
4 Replies
Solved

Artisan error on migrate using Vagrant

Hi there, I'm not sure if that is the right place for this kind of question. I'm trying to switch fr...

0 Likes
5 Replies
Solved

Many-To-Many Relationship not working across databases

I'm trying to integrate a new Laravel app with an legacy application. That's why I'm in need to use...

0 Likes
6 Replies
Solved

Use of View::composer

Hi. In a controller method i got a patient record from database that i send to a view, so, i need to...

0 Likes
6 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.