Support the ongoing development of Laravel.io →

4,606 Threads

Can someone reccommend a good backup software

I am looking for an easy to use, reliable backup software. I want an option to what comes with Windo...

0 Likes
0 Replies

Saving in a pivot table

When I try to save data into a pivot table I get this error. SQLSTATE[23000]: Integrity constraint v...

0 Likes
20 Replies
posted 10 years ago

How to cache paginated results ?

This will work $posts = Post::paginate(6); This will not work $posts = Post::paginate(6); Cache::ad...

0 Likes
2 Replies
posted 10 years ago

trouble understanding my polymorphic relationship

I am building a application for a computer repair company. I have a images table: Schema::create('i...

0 Likes
2 Replies
Solved

Method naming convention for eloquent relationships.

I am confused with naming conventions for methods in model relationships.. If I use Camel case, the...

0 Likes
1 Replies

Laravel PostgreSQL issue

Hi all. Laravel 4.1 / PostgreSQL 9.3 / Nginx 1.2.1 / PHP 5.4.4 Recently I had strange problem with l...

0 Likes
0 Replies
posted 10 years ago

How to inverse query many to many relationships with Eloquent ?

Hello i have a many to many relationship between Post and Category class Cat extends Eloquent {...

0 Likes
1 Replies
Solved

Search in laravel 4 issues.

i am writing my app and i have this issues with the search field from the search controller. the sea...

0 Likes
1 Replies

Problem with relations in Eloquent in Laravel 5.0

I am new to Laravel but started from Laravel 5.0. I got 2 tables: Doctors class CreateDoctor...

0 Likes
3 Replies
Solved

How do I install phpmyadmin with Laravel?

I am currently on a macbook and been using laravel 4. I am unsure on how to install and access phpmy...

0 Likes
10 Replies

New to Laravel - Correct way of working

Hi, Bit of background - I have a PHP project, it works ok at the moment. One problem is that its me...

0 Likes
2 Replies
posted 10 years ago

Adding unique column to table that already have data

How to? because migration like this public function up() { Schema::table('posts', function($table)...

0 Likes
2 Replies
Solved

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

I am creating a website that helps users build config files for different applications. How ever, I...

0 Likes
1 Replies

Calling PgSQL function before accessing a Eloquent object property

Hi, I'm using PostgreSQL + PostGIS and I need to call ST_AsText(geom) function when I access a prope...

0 Likes
0 Replies

belongsToMany relationsship on custom pivot model

Hi! I'm facing a problem with a belongsToMany relationsship on a custom pivot model I cannot solve....

0 Likes
8 Replies

Getting ->diffForHumans() to work on other timestamp fields

Hi, I've been raging for a few hours trying to achieve this. 'created_at' and 'updated_at' both have...

0 Likes
4 Replies
Solved

How to get data from json without index

Hello I need get data from json without index to populate data in dropdownlist $agents = DB::table('...

0 Likes
2 Replies

Multiple user have to confirm news in a board

in a message board several users to confirm the entries. how can I realize the easiest? it will also...

0 Likes
0 Replies

Laravel localization

Hi, I'm busy learning laravel's localization and I was wondering is there a way to have the language...

0 Likes
10 Replies

what type array return in view

Hello what type array return in view from this varible $agents=DB::table('users_agents') ->sel...

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.

© 2025 Laravel.io - All rights reserved.