Support the ongoing development of Laravel.io →
posted 10 years ago

App::before session

I want to set the prefix of route group by session: App::before(function(){ Session::put('lang',...

0 Likes
1 Replies
posted 10 years ago

Form Submit with Bootstrap Modal

Hi I have a form with the following fields in the displayed page fields inside a bootstrap modal...

0 Likes
1 Replies
Solved
posted 10 years ago

Get URL segments within controller index?

While I started this portion of my project using GET input variables, it would work better for the p...

0 Likes
6 Replies
Solved
posted 10 years ago

Can't connect to Homestead without disabling wifi

I'm having a weird issue I've only started to experience recently. When running vagrant up on Homest...

0 Likes
6 Replies

Using an artisan command outside of command line

Hello! I have written a very useful artisan command line function, but it seems that now it makes se...

0 Likes
1 Replies

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

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.