valentininua/detecttimezonebynumber

detect Timezone By Number

dev-master 2019-01-08 04:09 UTC

This package is not auto-updated.

Last update: 2025-06-19 09:34:19 UTC


README

Usage

composer require valentininua/detecttimezonebynumber dev-master
php bin/console  doctrine:schema:update --force

 
# Doctrine Configuration
doctrine:
    dbal:
        driver: pdo_mysql
        host: '%database_host%'
        port: '%database_port%'
        dbname: '%database_name%'
        user: '%database_user%'
        password: '%database_password%'
        charset: UTF8




AppKernel.php
 
new App\PhoneBundle\PhoneBundle(),

example use 

$dataDetectTimezoneByNumber = $this->get('PhoneService')->detectTimezoneByNumber("+79851234567");