{"action":"opened","issue":{"url":"https://api.github.com/repos/php-pm/php-pm/issues/102","repository_url":"https://api.github.com/repos/php-pm/php-pm","labels_url":"https://api.github.com/repos/php-pm/php-pm/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/php-pm/php-pm/issues/102/comments","events_url":"https://api.github.com/repos/php-pm/php-pm/issues/102/events","html_url":"https://github.com/php-pm/php-pm/issues/102","id":148323090,"number":102,"title":"Any quick start manual how to use it with custom framework?","user":{"login":"nazar-pc","id":928965,"avatar_url":"https://avatars.githubusercontent.com/u/928965?v=3","gravatar_id":"","url":"https://api.github.com/users/nazar-pc","html_url":"https://github.com/nazar-pc","followers_url":"https://api.github.com/users/nazar-pc/followers","following_url":"https://api.github.com/users/nazar-pc/following{/other_user}","gists_url":"https://api.github.com/users/nazar-pc/gists{/gist_id}","starred_url":"https://api.github.com/users/nazar-pc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazar-pc/subscriptions","organizations_url":"https://api.github.com/users/nazar-pc/orgs","repos_url":"https://api.github.com/users/nazar-pc/repos","events_url":"https://api.github.com/users/nazar-pc/events{/privacy}","received_events_url":"https://api.github.com/users/nazar-pc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-14T10:53:17Z","updated_at":"2016-04-14T10:53:17Z","closed_at":null,"body":"I've seen few articles, read source code and multiple issues in repository. Still, I can't quite get how to use it in custom application (not Symfony, not Zend, not Laravel, not Drupal, etc.).\r\n\r\nHow I use ReactPHP: [entry point](https://github.com/nazar-pc/CleverStyle-CMS/blob/e899d87fb4f2686e42435edb4390488d9070aa9e/components/modules/Http_server/run_server.php#L31) and [request processing](https://github.com/nazar-pc/CleverStyle-CMS/blob/e899d87fb4f2686e42435edb4390488d9070aa9e/components/modules/Http_server/Request.php\r\n)\r\n\r\nIn my case asynchronous requests withing single process are not supported, but generally performance boost is huge (nothing is recreated from scratch if possible) and there are no memory leaks as far as I know.\r\n\r\nPHP-PM is interesting for managing workers and hot code reload. Currently I have simple script that starts pool of workers and as soon as any worker crashes it starts new one, but there is no graceful shutdown and reload on code change.\r\n\r\nIt would be really helpful to see some simple integration example separately from any framework to see general idea about how it works and what is the difference from plain ReactPHP."}}