Support the ongoing development of Laravel.io →

4,311 Threads

[Package] The Cruddy -- your Eloquent manager

Hi! I would like to introduce you to the project I've been working on past few months -- the Cruddy!...

0 Likes
11 Replies

Subbmiting form with array text fields.

Is there a cleaner way to do this? view.blade.php <form> <input type="text" name=...

0 Likes
1 Replies

table with a timestamp field

Hi.. I'm newbie to php/laravel.. I have created this table.. CREATE TABLE confirmtokens (...

0 Likes
2 Replies

Rename Column and Change Type

Hi, Is there any way to change the column type and rename it. I know it's foolish to be changing the...

0 Likes
0 Replies

Best way to set users permission for restful controller

hi all, i'm developing an app that uses resourceful controller. Every users has some resource to man...

0 Likes
0 Replies
posted 10 years ago

Eloquent truncates base64 string

Hi All I've got a problem with eloquent where it truncates a base64 string being fetched from a mysq...

0 Likes
1 Replies
Solved

Eloquent simple joins

I have 3 tables: Users, Tasks and Records. Users have many tasks Tasks have many records. I'm trying...

0 Likes
2 Replies
Solved
posted 10 years ago

Getting Finite to work with Eloquent

I am using Finite (an FSM - https://github.com/yohang/Finite) along with another handy trait (https:...

0 Likes
6 Replies

ORM where fields have same value with related model field

I have model a with column name value_a and model b column name value_b. model a have hasOne relatio...

0 Likes
1 Replies

Insert dynamic form data via model

Hello, i want to insert dynamic forms into the database. Database table : ID | DEPARTMENT_ID | CATEG...

0 Likes
0 Replies

Raw SQL to Eloquent

Is it possible to translate this UPDATE `questions` SET `sort` = CASE `ID` WHEN '1' THEN 0...

0 Likes
1 Replies

Merge Laravel eloquent model objects

Hi, I have two eloquent queries : $result_name = Item::where('name', 'LIKE', '%'.$key.'%'); $result_...

0 Likes
2 Replies

Database query user meta table.

I am building a filtering system which allows a user to filter other users via setting up some varia...

0 Likes
0 Replies

eloquent ORM in RDBMS comparision

Hello! I am about starting my thesis, I have made an laravel application with eloquent ORM/mySQL now...

0 Likes
0 Replies
posted 10 years ago

View database schema

I'm working on an old project that has been built by several dev's who have since left. In laravel 4...

0 Likes
0 Replies

Using Eloquent with the IoC Container

I have what will likely be a very simple issue to solve for an advanced Laravel user regarding how t...

0 Likes
0 Replies
posted 10 years ago

Extra relations on pivot tables done properly

Hello! I'm new to Laravel and Eloquent. I come from Kohana, and I'm used to the conventions used the...

0 Likes
3 Replies

DB::select and raw not returning model instances?

Hi guys, So I am trying to run this complicated SQL query: $eastern_standings = DB::select(DB::ra...

0 Likes
1 Replies
Solved

Model problem

When I use , for example, User:all(); everything works and give me all records from table that conne...

0 Likes
4 Replies
Solved

Create model urls

Hi guys, I was wondering if it was possible to do a method in the model to get the url of the model?...

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