Support the ongoing development of Laravel.io →

Best practice when using custom functions with laravel model/controllers

I am a new developer and just started in laravel. I started developing an small app using laravel an...

0 Likes
1 Replies

How to implement a recursive search in Laravel 4?

I also asked this in stackoverflow, if you wanna see better the code here is it> http://stackover...

0 Likes
1 Replies

Route not defined

In my page I have this code <li> {{ link_to_route('test', 'Test Page') }} </li> I...

0 Likes
2 Replies
Solved
posted 10 years ago

Little problem with Pagination.

Hi guyz, I have a little problem with pagination when i delete an entry, the GET parameter (page) st...

0 Likes
0 Replies

session table created in the wrong database

Hi, in my laravel homestead server i have 2 laravel installation in 2 different folders and a Databs...

0 Likes
0 Replies

php error message

Hello there, I just started using Laravel, I just want to know if it is possible to display the erro...

0 Likes
2 Replies
Solved
posted 10 years ago

Button tag name in if statement

I need 3 <button> tags with 3 slightly different actions in a form. But I'm confused as to how...

0 Likes
6 Replies

Parameters in RESTful controllers

Hi, I am using RESTful controllers in my app, in my routes.php file, I have declared this ...Route::...

0 Likes
1 Replies
posted 10 years ago

Laravel 4.2.8 problem with Blade

Hello everyone! I have some problem with Blade engine.There ara display differences in rendering bet...

0 Likes
0 Replies
posted 10 years ago

extends not showing anything

I'm busy creating a laravel site and I have a layouts folder with a file called default.blade.php an...

0 Likes
5 Replies
posted 10 years ago

How to make pagination pretty URLs?

The URLs is http://localhost:1231/public/?page=2&type=it But I want it like that http://localhos...

0 Likes
1 Replies
Solved
posted 10 years ago

How to use dynamic view path

My site use different template for user. Users can switch many template.So, My question is how to ma...

0 Likes
2 Replies
Solved

Can't write image data to path

Hi all, This is the error when i upload the file :Intervention \ Image \ Exception \ NotWritableExce...

0 Likes
2 Replies
Solved
posted 10 years ago

Calculate age from date mysql in query builder

Hi guys i search in forum but not find a solution for this. I need calculate age of a person from da...

0 Likes
2 Replies
Solved

Laravel pagination shows a link for every page

With the help of some research I have done on the Web, I have created a function for creating a cust...

0 Likes
0 Replies

Do laravel has default xss filter or need third party package?

Hi, Just want to know Laravel supporting default input data filter for xss or we need to add third p...

0 Likes
6 Replies

Laravel 4 with forge, environment variables issue

I'm having trouble using forge and environment variables. When I use getenv('DB_NAME') and so furthe...

0 Likes
7 Replies
Solved

Laravel4 is not creating session

I am using Auth::attempt($credentials, $rememberMe) for login user. It was working fine but suddenly...

0 Likes
2 Replies
posted 10 years ago

Eloquent fill with non persistent attributes

I am trying to fill an Eloquent model with attributes from user request. The fillable array is prope...

0 Likes
0 Replies
posted 10 years ago

Model push with many-to-many relation

I am trying to save a many-to-many relationship values using push. What I am doing is: $user = new U...

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.