Support the ongoing development of Laravel.io →

Dynamic table names using setTable()

To answer http://forumsarchive.laravel.io/viewtopic.php?id=11485 $test = new Test(); $test->setTa...

0 Likes
0 Replies

Securing routes with filter

Hi, how can I secure routes so that user can access only those departments that he belongs to? Basic...

0 Likes
1 Replies
posted 10 years ago

Pagination not showing on category view page

Hi guys, Im using pagination on my categories page. However when im trying to apply pagination links...

0 Likes
2 Replies

Pagination and JOIN with Laravel

I'm having a strange behavior (due to my fault I guess) while trying to paginate some results after...

0 Likes
5 Replies
posted 10 years ago

Error "Call to undefined method Cache::driver()" is driving me crazy

I'm getting a "Call to undefined method Illuminate\Support\Facades\Cache::driver()" whenev...

0 Likes
0 Replies

Tutorials on upcoming Laravel 4.3.

Hi, new tutorials on upcoming Laravel 4.3 are available on codeheaps.com: Laravel 4.3: New Awesome...

0 Likes
0 Replies

Working with Log core and connecting it to redis

Hi guys, well, i am using the laravel's log core. as it's based on Monolog i just wanted to know how...

0 Likes
1 Replies

Help with users and their roles (Laravel + Entrust)

Hello, first thanks for the interest in my topic! Here's my question, I have Laravel and Entrust aut...

0 Likes
3 Replies
Solved
posted 10 years ago

Associate one-to-one relation

How do we associate models related one-to-one? $user->card()->associate($card); // error $user...

0 Likes
2 Replies
posted 10 years ago

How do I mass replace a column value using Eloquent in Laravel 4?

Is there any way I can mass replace a column value ? I am currently using the where clause but it re...

0 Likes
3 Replies

Using Eloquent::with when having a parameter

Hello, I'm Developing a system for displaying a list of mandatories done by a student in a specified...

0 Likes
1 Replies

How to automatically generate documentation for RESTful-API

Hello :) Is there a way to automatically generate a documentation for a RESTful-API provided by a La...

0 Likes
0 Replies

How to do `INSER IGNORE`?

Is it possible to do INSERT IGNORE INTO by standard methods or I need to do custom raw query? In thi...

0 Likes
1 Replies

Only once for first element of a foreach?

I don't know what to say in the if statement. @foreach($posts as $post) @if($p...

0 Likes
1 Replies
Solved
posted 10 years ago

Eloquent ORM dynamic relations

I have a notifications table with a dynamic relationship (where parent table is variable) +---------...

0 Likes
1 Replies
Solved

Generate PDF

Hi. I got an users list shown in a table, so, i can see the user detail and a new page with the user...

0 Likes
3 Replies

Filter search results by tags using eloquent

I have table structure like this posts | posts_tags | tags _________________________ id |...

0 Likes
4 Replies
Solved
posted 10 years ago

Cache::has() and other undefined methods

Hi, I'm trying to get Cache working, but whenever I call to any of its methods as described in docs...

0 Likes
4 Replies

How to Debug Laravel - (Windows platform)

Hellow all. I wrote a tutorial on how to debug PHP using CodeLobster free IDE. I used Laravel projec...

0 Likes
0 Replies
posted 10 years ago

Codeception, Laravel and Exceptions

I guys, I have a question about how Codeception handles errors thrown in functional tests. I’m tryin...

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