mxmbsocket/composer.json
RafaelKa 7ab8f8702e composers autoload order for compatibility with TYPO3 Flow framework
This small change allow using the cboden/Ratchet out of the box with TYPO3 Flow .

Unfortunately TYPO3 Flow can not load second entry given in the manifest for autoloading (Source: http://docs.typo3.org/flow/TYPO3FlowDocumentation/stable/TheDefinitiveGuide/PartIII/PackageManagement.html#using-3rd-party-packages )

Only one of both tricks is needed in Flow's Settings.yaml:

:1. excluding annotations
------
TYPO3:
  Flow:
    reflection:
      ignoredTags: ['event', 'temporary', 'type', 'note']
------
:2. excluding this package from Object Framework (Note: this makes AOP for Ratchet off)
------
TYPO3:
  Flow:
    object:
      excludeClasses:
        'cboden.Ratchet': ['Ratchet\\.*']
------
).
2013-08-26 17:15:56 +02:00

34 lines
903 B
JSON

{
"name": "cboden/Ratchet"
, "type": "library"
, "description": "PHP WebSocket library"
, "keywords": ["WebSockets", "Server", "Ratchet", "Sockets"]
, "homepage": "http://socketo.me"
, "repository": "https://github.com/cboden/Ratchet"
, "license": "MIT"
, "authors": [
{
"name": "Chris Boden"
, "email": "cboden@gmail.com"
, "role": "Developer"
}
]
, "support": {
"forum": "https://groups.google.com/forum/#!forum/ratchet-php"
, "issues": "https://github.com/cboden/Ratchet/issues"
, "irc": "irc://irc.freenode.org/reactphp"
}
, "autoload": {
"psr-0": {
"Ratchet": "src",
"Ratchet\\Tests": "tests"
}
}
, "require": {
"php": ">=5.3.3"
, "react/socket": "0.2.*"
, "guzzle/http": "3.6.*"
, "symfony/http-foundation": "~2.1"
}
}