Support the ongoing development of Laravel.io →

991 Threads

google plus share - curly brackets

I need to render a google plus share link in my project. I have the url data in my database and call...

0 Likes
2 Replies
Solved

Laravel import thousand of records from csv file?

I have a csv file with thousand of records. How can I use Eloquent model to import all data?

0 Likes
2 Replies
Solved

SSH::into cant find the SSH key in Vagrant

I have setup my connection in remote.php: 'production' => array( 'host' => '192.168.x.x...

0 Likes
1 Replies
Solved

Eloquent Mutator + DB::raw

This Setter works well... public function setPoligonoAttribute($value) { $this->attributes['polig...

0 Likes
3 Replies
Solved

Laravel4 & PHPMYADMIN

Hi, does anyone know how to manage mysql database via phpmyadmin with laravel4. Thanks

0 Likes
2 Replies
Solved

How do you create a model relationship base on a column value?

Hi guys! I have a comments table and this table has four fields which are : id post_id type_id comm...

0 Likes
1 Replies
Solved

What is the proper way to set up a model to refer to a table in a different database?

Hi guys! I have two databases main and beta. In my database.php file I have setup the connection to...

0 Likes
2 Replies
Solved

Eloquent select from related table where...

Hi, I've read the eloquent docs, but can't seem to find the answer - am I missing something? I am tr...

0 Likes
2 Replies
Solved

Nested query in FROM

Hi! I'm really newbie and I'm not sure how to do queries with Eloquent. My SLQ query is this: SELECT...

0 Likes
4 Replies
Solved

using javascript to set a variabe

i have an form that is set to upload an image and update a database with the image data (if needed)....

0 Likes
2 Replies
Solved

How to get timestamp integer instead of Carbon object

My application has to adapt to an existing database which uses integer timestamps instead of string...

0 Likes
2 Replies
Solved

Search through relationships

Hi! I have a little problem that I'm not quite sure how to solve it. To simplify, lets say that I ha...

0 Likes
4 Replies
Solved

While using Eloquent relationships, user id is not saved

Hello I'm learning Laravel 4, and I came up to Eloquent relationships. I have two models, user and g...

0 Likes
2 Replies
Solved

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
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 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

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

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.