2017 © Pedro Peláez
 

symfony-bundle carrier-bundle

Finds carrier by phone number in Guatemala

image

zlabs/carrier-bundle

Finds carrier by phone number in Guatemala

  • Tuesday, November 8, 2016
  • by rodmarzavala
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

ZlabsPhoneCarrierBundle

The ZlabsPhoneCarrierBundle helps you to find carrier name by phone number in Guatemala (+502), (*1)

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*2)

$ composer require zlabs/carrier-bundle "dev-master"

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:, (*3)

``` php <?php // app/AppKernel.php, (*4)

// ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ..., (*5)

        new ZLabs\PhoneCarrierBundle\ZLabsPhoneCarrierBundle(),
    );

    // ...
}

// ...

}, (*6)


Getting Started -------------------------- config.yml:

zlabs_phone_carrier: default_country_code: 502 #Default Country Code, (*7)


Inside a controller:

// This will find the carrier for the default country code: $carrier = $this->get('zlabs_phone_carrier.matcher')->find('47172425');, (*8)

// If you want to find another country code phone number: $carrier = $this->get('zlabs_phone_carrier.matcher')->find('47172425', '502'); ```, (*9)

TODO:

  • New phone number ranges at: /Resources/config/PhoneNumbers

The Versions

08/11 2016

1.0.3

1.0.3.0

Finds carrier by phone number in Guatemala

  Sources   Download

GNU

The Requires

 

The Development Requires

by Rodmar Zavala

carrier phone number bundle

08/11 2016

dev-master

9999999-dev

Finds carrier by phone number in Guatemala

  Sources   Download

GNU

The Requires

 

The Development Requires

by Rodmar Zavala

carrier phone number bundle

08/11 2016

1.0.2

1.0.2.0

Finds carrier by phone number in Guatemala

  Sources   Download

GNU

The Requires

 

The Development Requires

by Rodmar Zavala

carrier phone number bundle

08/11 2016

1.0.1

1.0.1.0

Finds carrier by phone number in Guatemala

  Sources   Download

GNU

The Requires

 

The Development Requires

by Rodmar Zavala

carrier phone number bundle

08/11 2016

dev-master-dev

dev-master-dev

Finds carrier by phone number in Guatemala

  Sources   Download

GNU

The Requires

 

The Development Requires

by Rodmar Zavala

carrier phone number bundle

08/11 2016

1.0.0

1.0.0.0

Finds carrier by phone number in Guatemala

  Sources   Download

GNU

The Requires

 

The Development Requires

by Rodmar Zavala