dfytech/worldtime

A simple laravel package that consumes a third-party API to display current local times in a selection of different time zones consuming is https://worldtimeapi.org/

dev-main 2022-06-24 09:34 UTC

This package is auto-updated.

Last update: 2025-05-24 16:32:12 UTC


README

A simple laravel package that consumes a third-party API to display current local times in a selection of different time zones consuming is https://worldtimeapi.org/

Api used

WorldTimeAPI: https://worldtimeapi.org/

Installation

install laravel package using following command

composer create-project laravel/laravel <your-app-name>

You can install this package via composer:

composer require dfytech/worldtime

Install DfytechWeather configuration

php artisan worldtime:install

Publishing vendor

php artisan vendor:publish --tag=worldtime

Use

Package is avilable at:

http://<domain>/worldtime