Download the PHP package network-rail-business-systems/laravel-date-timezone without Composer
On this page you can find all versions of the php package network-rail-business-systems/laravel-date-timezone. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download network-rail-business-systems/laravel-date-timezone
More information about network-rail-business-systems/laravel-date-timezone
Files in network-rail-business-systems/laravel-date-timezone
Package laravel-date-timezone
Short Description A simple package that sets the output of dates to a specific timezone while still maintaining UTC in the database
License MIT
Homepage https://github.com/network-rail-business-systems/laravel-date-timezone
Informations about the package laravel-date-timezone
Output dates in a specific timezone while still maintaining UTC in the database
The package provides a custom cast class that can be applied to your model attributes and will output dates in your desired timezone while maintaining the application's globally set timezone when persisting to the database.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-date-timezone with dependencies
spatie/laravel-package-tools Version ^1.9.2
illuminate/contracts Version ^9.0