2017 © Pedro Peláez
 

symfony-bundle weinre-bundle

Symfony Weinre bundle

image

kgilden/weinre-bundle

Symfony Weinre bundle

  • Saturday, March 15, 2014
  • by kgilden
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

KGWeinreBundle

Build Status, (*1)

KGWeinreBundle integrates Weinre with your Symfony2 application to enable mobile debugging., (*2)

NB! To make this work with your mobile devices you still need to install Weinre, please consult their docs on how to do that., (*3)

Installation

Add KGWeinerBundle to your app with Composer:, (*4)

$ php composer.phar require kgilden/weinre-bundle:~1.0

Or add it manually to composer.json, (*5)

{
    "require": {
        "kgilden/weinre-bundle": "~1.0"
    }
}

... and then install our dependencies using:, (*6)

$ php composer.phar install

Finally enable the bundle in the dev environment:, (*7)

getEnvironment()) {
        $bundles[] = new KG\WeinreBundle\KGWeinreBundle();
    }
}

?>

Configuration

By default the bundle expects your Weinre server to run on the same machine. For example, if the application runs at 198.51.100.0, the target script is expected to be at "http://198.51.100.0:8080/target/target-script-min.js". You can override this by configuring the bundle (each value is optional):, (*8)

kg_weinre:
    scheme: https        # defaults to 'http'
    host:   203.0.113.0  # defaults to server address
    port:   8000         # defaults to '8080'
    path:   /foo.js      # defaults to '/target/target-script-min.js'

Requirements

  • PHP >= 5.3.8
  • symfony/http-kernel >= 2.0.0
  • symfony/event-dispatcher >= 2.0.0
  • symfony/dependency-injecton >= 2.0.0
  • symfony/config >= 2.0.0

Contributing

See CONTRIBUTING.md file., (*9)

Running the Tests

You can run unit tests by simply executing, (*10)

phpunit

Credits

Thanks to Inoryy for the project skeleton., (*11)

...., (*12)

License

KGWeinreBundle is released under the MIT License. See the bundled LICENSE file for details., (*13)

The Versions

15/03 2014