Support the ongoing development of Laravel.io →

4,587 Threads

Bulk insertions on db table

Hi, I have to insert in a table something like 18000 records. I didn't try to use Eloquent, but usin...

0 Likes
7 Replies
Solved

Intranet help

Hello In my job, we developed 7 years ago an Intranet without a PHP framework. The project has grown...

0 Likes
3 Replies
posted 10 years ago

You can create this query

You can create this query SELECT * FROM users AS t1 LEFT JOIN installs AS t2 ON (t1.id = t2.usuario_...

0 Likes
2 Replies
Solved
posted 10 years ago

Seeder not seeding my table

###Here is my seeder table class class DataClassificationTableSeeder extends Seeder{ //Data Classi...

0 Likes
3 Replies
Solved

one-to-many relationship without actual foreign key in database

I want to mak a one-to-many relationship like in the tutorial. One To Many An example of a one-to-m...

0 Likes
1 Replies
Solved

what time format does "DB::getQueryLog()" return?

I read the "API" and it says pretty much nothing, doesn't give a clue about what DB::getQu...

0 Likes
1 Replies

Handling Unique Short Code Representitives

Lets say I have a list of Status 1 - Pending Submit 2 - Submitted 3 - Extra Images Uploaded 4 - Com...

0 Likes
1 Replies
posted 10 years ago

Why cross-database acces support?

Laraval is awesome in almost every way. The only thing i don't understand. Laravel supports cross-d...

0 Likes
0 Replies

SQL Storing Searchable Meta Data

I am creating a bug tracking tool for mainly personal/in-house usage. BugSnag is kind of the motivat...

0 Likes
6 Replies

What will be the best way to extend Sentry2 user model?

Hello, In my laravel 4 application, I need to add more fields in user table. I made new migration fi...

0 Likes
3 Replies
Solved

SQL where in Eloquent

i realize the question sounds very rudimentary, but coming in from the front end side of development...

0 Likes
2 Replies
Solved

Who's online Laravel 4 Session

Hi everyone, i'm trying to implement in my Laravel 4 app, a script that shows me which users are onl...

0 Likes
8 Replies

Trying to understand Migration workflow

At this point I have two files in my migration folder, one to create the table with its columns, and...

0 Likes
3 Replies
Solved
posted 10 years ago

General Performance Expectations, loading 8 rows using ->all() takes ~1second

Hello Guys and Girls. I am currently developing a small web-app using laravel. In general, I am very...

0 Likes
3 Replies
Solved
posted 10 years ago

Paginating an Eager Loaded Relationship

public function getCategory($category_id) { $category = Category::with(['products' => fun...

0 Likes
3 Replies

Call to undefined method Illuminate\Database\Query\Builder::firstOrFail()

I have a server running php 5.3.22. When I make a call to an eloquent model I get an error: $email =...

0 Likes
2 Replies

Many To Many Polymorphic Relationship?

Hey guys, I'm trying to figure out if this is the best way to go about this. I have a tv_shows table...

0 Likes
8 Replies
Solved

Use avg() in eloquent for OrderBy

Hi ! I have a lists on articles that I get from a simple Eloquent query Article::where('state', '=',...

0 Likes
4 Replies
Solved
posted 10 years ago

Image upload to SQLite

Hi. I have looke all over github but i didn't manage to find an app that uses SQLite and image uploa...

0 Likes
0 Replies

pivot table with 3 columns

Hi Models : There is Party (should be renamed 'game') User can register to Party then user has a reg...

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