2017 © Pedro Peláez
 

symfony-bundle push-symfony-bundle

Symfony PushBundle

image

authbucket/push-symfony-bundle

Symfony PushBundle

  • Tuesday, July 5, 2016
  • by hswong3i
  • Repository
  • 5 Watchers
  • 2 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 17 Versions
  • 0 % Grown

The README.md

AuthBucket\Bundle\PushBundle

Build
Status Coverage
Status Dependency
Status Latest Stable
Version Total
Downloads License, (*1)

The primary goal of AuthBucket\Bundle\PushBundle is to develop a library for sending out push notifications to mobile devices; secondary goal would be develop corresponding wrapper Symfony2 Bundle and Drupal module., (*2)

This library bundle with a Silex based AuthBucketPushServiceProvider for unit test and demo purpose. Installation and usage can refer as below., (*3)

Demo

The demo is based on Silex and AuthBucketPushServiceProvider. Read though Demo for more information., (*4)

You may also run the demo locally. Open a console and execute the following command to install the latest version in the push-symfony-bundle directory:, (*5)

$ composer create-project authbucket/push-symfony-bundle push-symfony-bundle "~0.0"

Then use the PHP built-in web server to run the demo application:, (*6)

$ cd push-symfony-bundle
$ php app/console server:run

If you get the error There are no commands defined in the "server" namespace., then you are probably using PHP 5.3. That's ok! But the built-in web server is only available for PHP 5.4.0 or higher. If you have an older version of PHP or if you prefer a traditional web server such as Apache or Nginx, read the Configuring a web server article., (*7)

Open your browser and access the http://127.0.0.1:8000 URL to see the Welcome page of demo application., (*8)

Also access http://127.0.0.1:8000/admin/refresh_database to initialize the bundled SQLite database with user account admin:secrete., (*9)

Documentation

Push's documentation is built with Sami and publicly hosted on GitHub Pages., (*10)

To built the documents locally, execute the following command:, (*11)

$ vendor/bin/sami.php update .sami.php

Open build/sami/index.html with your browser for the documents., (*12)

Tests

This project is coverage with PHPUnit test cases; CI result can be found from Travis CI; code coverage report can be found from Coveralls., (*13)

To run the test suite locally, execute the following command:, (*14)

$ vendor/bin/phpunit

Open build/logs/html with your browser for the coverage report., (*15)

References

License

The Versions