Support the ongoing development of Laravel.io →

4,603 Threads

Custom column in eloquent based on sum

Hello, I have a query which is extracting some 'ordered items' between two specific dates. For each...

0 Likes
1 Replies
posted 8 years ago

Stored procedure in laravel

Which will be better performance? stored procedure OR Laravel functions.

0 Likes
1 Replies
posted 8 years ago

DB Structure

I'm interested in some thoughts on how I should structure what will be a rather "data heavy&quo...

0 Likes
1 Replies

How to make Many-Many Pivot table as entity

I have this four tables Experiments() Users() Participants(id, experiment_id, user_id) - as pivot ta...

0 Likes
0 Replies

show related table columns in all select of model laravel

I want show related table columns (customers.name) in all select of model (User) laravel. I use acce...

0 Likes
0 Replies
posted 8 years ago

best way to run string functions over returned database object ?

I want to run various string functions over the data returned from a database query before I send it...

0 Likes
1 Replies

SQL Server 2012 DB connection with Laravel 4.2

So I'm trying to connect a SQL Server 2012 with Laravel and I get an error. PDOException (08001) SQL...

0 Likes
5 Replies
Solved

Wait until information is saved into DB

Hello, I'm currently trying the following: I'm having a form, where a user can add additional inform...

0 Likes
2 Replies
Solved

Model not found (Class 'App\Http\Controllers\App\Work' not found)

Somehow my model cannot be found, I also did try with use; This is in a normal controller public fun...

0 Likes
1 Replies
Solved

Add additional information for user

I'm using Laravel for a little app. In this app I added the auth things of Laravel (verison 5.3), so...

0 Likes
4 Replies
Solved
posted 8 years ago

laravel 5.3 : Undefined property: Illuminate\Database\Eloquent\Collection Error

I have one table called doctor (staff_id,specialization) and another table is staff (staff_id,passwo...

0 Likes
1 Replies

How to upload file/s (specifically pdf)?

Hi, can someone help me with the uploading of file/s. . .

0 Likes
3 Replies
Solved

How to properly create a custom query builder method

I have a custom method that I'd like to use globally. It is similar to increment and decrement but i...

quyle92 liked this thread

1 Likes
7 Replies

Many to many with additional columns / FK's

Hi there, Since a few months i'm working with Laravel and i love it, came from codeigniter. I have a...

0 Likes
4 Replies

Very Confusing MethodNotAllowedHttpException on a put request laravel

So far all attempts to modify the routing methods have failed. Been following some documentation on...

0 Likes
3 Replies

slug, str_slug

I added a collumn in the table users I call slug, no errors or anything, it just doesn't add. Should...

0 Likes
2 Replies
Solved

Create a json file and populate it with mysql data.

Hi everyone, what am trying to achieve with the code below is to fetch data from mysql database, the...

0 Likes
0 Replies

How to use multiple database connections in laravel project?

I want to use mysql and mongoDB in my laravel project, I know I can define multiple connections arra...

0 Likes
1 Replies
Solved

Laravel 5 : Displaying the column data of third table from first table where both tables are connected to a second table

I have three tables namely 1.Product 2.Category and 3.Attribute and each category have different att...

0 Likes
0 Replies

Update related model on model save

Hi Laravels, I have a sublet model that has its own table, but I have 2 more tables to store sublet...

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.