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

Related Packages

jenssegers/date

A date library to help you work with dates in different languages

11,574,718 1,804
alexeymezenin/laravel-gmt-timezones

Helps manage timezones in Laravel. Includes <select> form builder for timezones....

956 1
kennethllamasares/laravel-timezones

Timezone bundle for Laravel.

876 4
camroncade/timezone

Helps manage timezones in Laravel. Includes form builder for timezones.

1,042,735 159
jaybizzle/laravel-migrations-organiser

A Laravel package to help organise migration files.

416,770 112