Looking to hire Laravel developers? Try LaraJobs

laravel-cloudflare-timezone maintained by alignwebs

Description
Laravel app timezone by cloudflare's [CF-IPCountry] HTTP header
Author
Last update
2025/05/02 14:50 (dev-master)
License
Downloads
15

Comments
comments powered by Disqus

Laravel Cloudflare Timezone

Latest Version on Packagist Build Status Quality Score Total Downloads

This laravel package helps you to set your app's timezone in runtime according to Header "CF-IPCountry" value of CloudFlare.

Prerequisite - Cloudflare Setting

Enable "IP Geolocation" from Network tab.

Installation

You can install the package via composer:

composer require alignwebs/laravel-cloudflare-timezone

Usage

php artisan vendor:publish --provider="Alignwebs\LaravelCloudflareTimezone\LaravelCloudflareTimezoneServiceProvider" --tag=config

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email alignwebs@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.