Skip to content

Instantly share code, notes, and snippets.

@vonglasow
Created October 17, 2016 10:50
Show Gist options
  • Save vonglasow/333151c039d607cd3ed2e51f59cec330 to your computer and use it in GitHub Desktop.
Save vonglasow/333151c039d607cd3ed2e51f59cec330 to your computer and use it in GitHub Desktop.
apigility
{
"name": "zfcampus/zf-apigility-skeleton",
"description": "Skeleton Application for Apigility",
"type": "library",
"license": "BSD-3-Clause",
"keywords": [
"api",
"apigility",
"framework",
"zf2"
],
"homepage": "http://apigility.org/",
"support": {
"email": "apigility-users@zend.com",
"irc": "irc://irc.freenode.net/apigility",
"source": "https://github.com/zfcampus/zf-apigility-skeleton",
"issues": "https://github.com/zfcampus/zf-apigility-skeleton/issues"
},
"config": {
"process-timeout": 5000
},
"extra": {
"branch-alias": {
"dev-master": "1.4-dev",
"dev-develop": "1.5-dev"
}
},
"require": {
"php": "^5.6 || ^7.0",
"zendframework/zend-component-installer": "^1.0 || ^0.3 || ^1.0.0-dev@dev",
"zfcampus/zf-apigility": "^1.3",
"zfcampus/zf-apigility-documentation": "^1.2.2",
"zfcampus/zf-development-mode": "^3.0",
"zfr/zfr-cors": "^1.3",
"zendframework/zend-validator": "^2.8",
"zendframework/zend-session": "^2.7",
"zendframework/zend-modulemanager": "^2.7"
},
"require-dev": {
"zendframework/zend-developer-tools": "^1.1",
"zfcampus/zf-apigility-admin": "^1.5.6",
"zfcampus/zf-asset-manager": "^1.1.1",
"zfcampus/zf-composer-autoloading": "^1.0",
"zfcampus/zf-deploy": "^1.2",
"behat/behat": "^3.2"
},
"suggest": {
"zfcampus/zf-apigility-doctrine": "zfcampus/zf-apigility-doctrine ^2.1 to create Doctrine-Connected REST services",
"zfcampus/zf-http-cache": "zfcampus/zf-http-cache ^1.3 to add HTTP caching to your API",
"zfr/zfr-cors": "zfr/zfr-cors ^1.2 to add CORS support to your API"
},
"autoload": {
"psr-4": {
"Application\\": "module/Application/src/"
}
},
"autoload-dev": {
"psr-4": {
"ApplicationTest\\": "module/Application/test/"
},
"files": [
"src/Apigility/constants.php"
]
},
"scripts": {
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"development-disable": "zf-development-mode disable",
"development-enable": "zf-development-mode enable",
"development-status": "zf-development-mode status",
"serve": "php -S 0.0.0.0:8080 -t public/ public/index.php",
"test": "phpunit"
}
}
@vonglasow
Copy link
Author

/v/w/d/apigility ❯❯❯ cat vendor/zendframework/zend-modulemanager/src/Feature/BootstrapListenerInterface.php                                                                                                                          ⏎
<?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Zend\ModuleManager\Feature;

use Zend\EventManager\EventInterface;

/**
 * Bootstrap listener provider interface
 */
interface BootstrapListenerInterface
{
    /**
     * Listen to the bootstrap event
     *
     * @param EventInterface $e
     * @return array
     */
    public function onBootstrap(EventInterface $e);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment