Support the ongoing development of Laravel.io →

4,599 Threads

Multiple tables in model

My Index page uses 3 tables in the database: index_slider index_feature footer_boxes I use one con...

0 Likes
9 Replies
Solved

How do you trap a queryexception and display a user friendly page?

If there is a query error while using Eloquent, how do you trap it and redirect the user to a friend...

0 Likes
0 Replies

Convert the query in eloquent ( which relationship to use in user model )

user table id name username email password role id name role_detail role_id -> primary of ro...

0 Likes
2 Replies

Ajax Post to controller with json (array data) and retrieve

Hello friends. I am stuck at a point. I want to post array of user ids to controller from javascript...

0 Likes
0 Replies

GUI Database Designer

im currently building this database designer inspired by laravelsd that works offline, i will releas...

0 Likes
6 Replies

How to make Controller query more beautiful??

Hello, I have this similar code in my 3 controllers, How can i make this code more beautiful?? Thank...

0 Likes
2 Replies
Solved

Relations from USER through USERDATA to LstCOUNTRY/LstAREA? Help

hi, friends sorry for my newbie question. Maybe it is very simply ... I have db-table "users&qu...

0 Likes
0 Replies

Unable to update field of model (column signedBy)

I’ve Model named “Payment”, and want to update 2 field (shipmentStatus and signedBy) $payment->sh...

0 Likes
0 Replies

Raw select using jenssegers Laravel-MongoDB

I add jenssegers Laravel-MongoDB package into my Laravel 4.2 project, and have a one problem. Maybe...

0 Likes
0 Replies

Media Uploading and referencing

As a small side project I'm looking at building a small music application. I want to be able to uplo...

0 Likes
0 Replies

sql to eloquent

query (works true): SELECT User.full_name as user_full_name,Setter.full_name as setter_full_name,st...

0 Likes
4 Replies
Solved

Point New Website Versions to old Websites

Hi, I am developing a website created in Laravel 4. Suppose I have the following websites: website...

0 Likes
0 Replies

Assigning multiple users to a task

Okay so I'm creating a task manager for my company. A user can assign assign a task to multiple othe...

0 Likes
3 Replies

search for permission role

Hi everybody! I'm a newbie in laravel and I'm trying to create a interface to manage users roles and...

0 Likes
2 Replies
Solved
posted 10 years ago

Override/replace \Illuminate\Database\Query\Builder for database queries

Groups::find(1); class Groups extends BaseEloquent { } class BaseEloquent extends Eloquent {...

0 Likes
0 Replies

Same request in laravel and in phpMyAdmin give different result, why ?

Hi I execute a request with Db::raw in my laravel model. When i do the same request in phpmyadmin, t...

0 Likes
0 Replies

Integrity constraint violation

Hi, I try to create a small CRM with "leads", notes about leads", clients" and &...

0 Likes
3 Replies

Using Sentry and Facebook login: Call to undefined method

I'm trying to integrate fb-connect in Laravel using Sentry instead of the default Authentication pac...

0 Likes
0 Replies

Onetomany relation return null in one side

i have a one to many relation that return value on one side and null in the other side !! class Part...

0 Likes
1 Replies

How to create double authentication for 2 tables

I am currently stuck with an issue on my laravel application. The default Auth::filter that came wit...

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.

© 2024 Laravel.io - All rights reserved.