bencomeau/usertimezone

A simple solution for converting Laravel's default dates attributes to a user's set timezone, for 5.2+
6 1
Install
composer require bencomeau/usertimezone
PHP:>=5.6.0
License:MIT
Last Updated:Oct 14, 2016
Links: GitHub  ·  Packagist
Maintainer: bencomeau

UserTimezone for Laravel 5.2+

Instead of manually writing mutators or making app-wide timezone changes, this package allows one to set a user-based timezone.

It will automatically convert dates using Laravel's "dates" column without the need to write custom mutators for each attribute.

Installation

Usage