2017 © Pedro Peláez
 

library silex-mobility-detector-light-provider

Detect mobile device

image

exs/silex-mobility-detector-light-provider

Detect mobile device

  • Tuesday, June 30, 2015
  • by rumpranger
  • Repository
  • 8 Watchers
  • 2 Stars
  • 301 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

EXS-silex-mobility-detector-light-provider

Simple regex methods used to determine if the useragent comes from a mobile, tablet or desktop device., (*1)

Installing the MobilityDetectorLightProvider in a Silex project

The installation process is actually very simple. Set up a Silex project with Composer., (*2)

Once the new project is set up, open the composer.json file and add the exs/silex-mobility-detector-light-provider as a dependency: ``` js //composer.json //... "require": { //other bundles "exs/silex-mobility-detector-light-provider": "1.0.*@dev", (*3)

Or you could just add it via the command line:

$ composer.phar require exs/silex-mobility-detector-light-provider: v1.0.*, (*4)


Save the file and have composer update the project via the command line: ``` shell php composer.phar update

Composer will now update all dependencies and you should see our bundle in the list: ``` shell - Installing exs/silex-mobility-detector-light-provider (dev-master 463eb20) Cloning 463eb2081e7205e7556f6f65224c6ba9631e070a, (*5)


Update the app.php to include our provider: ``` php //app.php //... $app->register(new \EXS\MobilityDetectorLightProvider\Providers\MobilityDetectorLightProvider());

MobilityDetectorLightProvider is ready to use, inject the service where you need it. php $container['exs.serv.mobility.detector.light'];, (*6)

Contributing

Anyone and everyone is welcome to contribute., (*7)

If you have any questions or suggestions please [let us know][1]., (*8)

The Versions

30/06 2015

dev-master

9999999-dev https://github.com/ExSituMarketing/EXS-silex-mobility-detector-light-provider.git

Detect mobile device

  Sources   Download

MIT

The Requires

 

silex provider detector mobile device

29/06 2015

v1.0.0

1.0.0.0 https://github.com/ExSituMarketing/EXS-silex-mobility-detector-light-provider.git

Detect mobile device

  Sources   Download

MIT

The Requires

 

silex provider detector mobile device