elife / ping
eLife Sciences ping controller
Installs: 11 813
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 0
Open Issues: 4
Requires
- php: ^7.1 || ^8.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.0
- psr/http-server-handler: ^1.0
- symfony/http-foundation: ^3.4 || ^4.4 || ^5.0
Requires (Dev)
- nyholm/psr7: ^1.6
- phpunit/phpunit: ^5.7 || ^6.0 || ^9.6
- pimple/pimple: ^3.0
- silex/silex: ^2.0
- squizlabs/php_codesniffer: ^3.5
- symfony/browser-kit: ^3.4 || ^4.4
- symfony/config: ^3.4 || ^4.4
- symfony/dependency-injection: ^3.4.23 || ^4.4
- symfony/framework-bundle: ^3.4 || ^4.4
- symfony/http-kernel: ^3.0 || ^4.4
Suggests
- silex/silex: ^2.0, to use PingControllerProvider
- symfony/http-kernel: ^2.7 || ^3.0, to use PingBundle
This package is auto-updated.
Last update: 2024-12-17 08:08:48 UTC
README
This library provides a ping controller for the eLife Sciences applications.
Dependencies
- Composer
- PHP 7
Installation
composer require elife/ping
Set up
Silex
use eLife\Ping\Silex\PingControllerProvider; $app->register(new PingControllerProvider());
Symfony
Add eLife\Ping\Symfony\PingBundle
to your application's kernel.
Add to your routing file:
ping: resource: '@PingBundle/Resources/config/routing.php'
Running the tests
vendor/bin/phpunit