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

Best practice to separate admin/user controllers

I have a question in mind about separating controllers. For example, let's say I have a website that...

parisan liked this thread

1 Likes
4 Replies
Solved

Validation of array field

My question is the following. I have a system that the User will register the series of a note. How...

0 Likes
1 Replies
Solved

If user logged in redirect to profile. Why use filter?

This works fine why use filter? public function home() { if(Auth::check()) return R...

0 Likes
6 Replies

How can I obfuscate controller, view, js and css files?

How can I obfuscate controller, view files and css, js files. How can I make them compatible with ea...

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

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.