Support the ongoing development of Laravel.io →

Dynamically set timezone at runtime.

I am using the same codebase to spin up different sites which may exist in different timezones. The...

0 Likes
1 Replies

[Package] Command Validator - Validate Laravel console commands input

Simple and lightweight package to let your Laravel console commands validate the input they receive....

0 Likes
0 Replies
posted 9 years ago

Laravel ACL

I can't get $request->user() in my CheckRoles middleware. it always null after loging and redirec...

0 Likes
0 Replies

sublime text plugin phpfmt asking for update php to 5.6

Hi I am using sublime text 3 with plugin phpfmt now it's asking for update php to 5.6 I am using wam...

0 Likes
0 Replies

Laravel 5.1. File upload issue

I've a site and CMS built on top of Laravel 5.1. The file images larger than 1mb are not being uploa...

0 Likes
1 Replies
posted 9 years ago

Add column

So two questions. I was thinking, I've created a webbapp before, just not with a framwork, and I had...

0 Likes
4 Replies
Solved

A question so basic I can't even come up with a thread name

Outside Laravel I may would defined a variable as $validation and asigned it a zero integer, and if...

0 Likes
1 Replies

Save Many form Request from array (Shop Open hours)

Hello everybody I hope someone can help me. Problem A shop should be able to save its opening times....

0 Likes
0 Replies

Class App\Http\Controllers\AuthController does not exist

I recently found that the registration of new users, login and such, should be in the AuthController...

0 Likes
2 Replies
Solved

Redirect is rendering template rather than stopping execution in PHPUnit

I have a Laravel 4 application where I check if the user is authenticated and if not it redirects th...

0 Likes
0 Replies

Moving unhashed passwords to hashed Laravel users table

I've got an old users table that has user info with unhashed passwords. I want to migrate all of tho...

0 Likes
1 Replies
posted 9 years ago

Using Request in a BaseController constructor instead of children classes' methods

In a Laravel 5.2 application I have a BaseController (all other controllers inherits from this) with...

0 Likes
0 Replies

belongsToMany showing linked data along parent data

How would i go about showing data formatted nicely in json allowing the parent data and linked data...

0 Likes
1 Replies
Solved

Unable to open database file

Hello, I'm writing here in regarding to problem which I have got. Yesterday I started my adventure w...

0 Likes
0 Replies

L4.0, (CSRF) TokenMismatchException when uploading large files

OS: Ubuntu 12.04 x64 php(s): 5.3.10 (and tested with 5.5.3) apache(s) 2.2.22 (and tested with 2.4.6)...

0 Likes
6 Replies
Solved

File Field - Accept either single/multiple field.

So I have this form that on the main website, that uses file[] for the form field. That works fine....

0 Likes
0 Replies

Trouble installing brand new Laravel 5.2.x project -- (php artisan optimize returns error)

Hi All, I am trying to do a fresh install of Laravel and I am using the following command: composer...

0 Likes
3 Replies
Solved
posted 9 years ago

Service provider ignored

I create a new service provider by running php artisan make:provider ComposerServiceProvider. After...

0 Likes
1 Replies
Solved
posted 9 years ago

How to specify the field name to look for in hasone relationship

Hi, I have a table with: id employee_name manager_id In this table, manager id is a foreign key to i...

0 Likes
1 Replies

Blacklist URLs with validation

Hey, i have a form that accepts only URLs, and i use the validation function accordingly to only all...

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.