{"id":23673615,"url":"https://github.com/lapinskas/roadrunner-ubiquity","last_synced_at":"2025-09-02T02:32:30.445Z","repository":{"id":54880332,"uuid":"240954902","full_name":"Lapinskas/roadrunner-ubiquity","owner":"Lapinskas","description":"RoadRunner and Ubiquity integration","archived":false,"fork":false,"pushed_at":"2021-03-20T19:36:28.000Z","size":51,"stargazers_count":9,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T12:30:29.442Z","etag":null,"topics":["php","roadrunner","ubiquity"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lapinskas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-16T19:46:16.000Z","updated_at":"2021-07-27T19:24:19.000Z","dependencies_parsed_at":"2022-08-14T05:31:15.669Z","dependency_job_id":null,"html_url":"https://github.com/Lapinskas/roadrunner-ubiquity","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lapinskas%2Froadrunner-ubiquity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lapinskas%2Froadrunner-ubiquity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lapinskas%2Froadrunner-ubiquity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lapinskas%2Froadrunner-ubiquity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lapinskas","download_url":"https://codeload.github.com/Lapinskas/roadrunner-ubiquity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231737294,"owners_count":18418992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","roadrunner","ubiquity"],"created_at":"2024-12-29T12:30:27.302Z","updated_at":"2024-12-29T12:30:48.105Z","avatar_url":"https://github.com/Lapinskas.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [RoadRunner][link_roadrunner] and [Ubiquity][link_ubiquity] Integration\n[![Version][badge_packagist_version]][link_packagist]\n\nMakes [the fastest PHP framework][link_php_bench] even faster.\n\n## Installation\n### Automatic installation\nJust tell Ubiquity to run with RoadRunner\n```shell\n$ Ubiquity serve -t=roadrunner\n```\nAll required components (except of PHP-CGI) will be installed at the first launch.\n\n### Manual installation\nIf you need package for your own projects, just require it via composer\n```shell\n$ composer require lapinskas/roadrunner-ubiquity\n```\n\n## Dependencies\n### Ubiquity\nGet [Ubiquiry Framework](https://github.com/phpMv/ubiquity) if you have not done it yet\n\n### PHP-CGI\nphp-cgi 7.4 is required for this package. \n\u003e Please note it's php-cgi, not php, so most probably you have not it installed by default.\n\n#### php-cgi installation on Ubuntu 18.04 LTS\nAs of today, PHP 7.4 is not available in Ubuntu default repositories. In order to install it, you will have to get it from third-party repositories.\n```shell\n$ sudo add-apt-repository ppa:ondrej/php\n```\n\nThen update and upgrade to PHP 7.4\n```shell\n$ sudo apt update\n```\n\nand install php-cgi\n```shell\n$ sudo apt-get install php7.4-cgi\n```\n\n## Usage\nAs an example of a basic usage, let's create default Ubiquity project and run it using RoadRunner\n\n### Create sample Ubiquity project\nLet's create new project called 'firstProject' in a folder of your choice.\nFlag -a adds rather powerful UbiquityMyadmin application that we can use for usage testing.\n```shell\n$ Ubiquity new firstProject -a\n$ cd firstProject\n```\n\u003e Note: if Ubiquity is not in your path, you can find it at ~/.composer/vendor/phpmv/ubiquity-devtools/src/Ubiquity\n\n### Run Ubiquity\nTell Ubiquity to run using RoadRunner\n```shell\n$ Ubiquity serve -t=roadrunner\n```\n\n### Alternative - Run RoadRunner directly\nRun RoadRunner in debug mode\n```\n$ ./rr serve -v -d\n```\n\n### Open UbiquityMyadmin page\nOpen admin page of Ubiquity application in your browser\n[http://127.0.0.1:8090/Admin](http://127.0.0.1:8090/Admin)\n\nUbiquity application is exactly the same and could be run using command \"Ubiquity serve\", NGINX or Apache servers. The only change is the entry point of the application.\n\n### Benchmarking\nEach worker takes some time for the bootstraping / initialization for the very first request.\nThe consecutive requests do not require the bootstraping that results in much faster processing after all workers have been initialized.\n\nPlease feel free to run some benchmarking tests of RoadRunner+Ubiquity vs NGINX+Ubiquity or Apache+Ubiquity.\nPreliminary tests have shown more than 100% increase in the number of requests per second and twice quicker response time.\n\n## Changelog\n[![Version][badge_packagist_version]][link_packagist]\n[![Release date][badge_release_date]][link_releases]\n\nChangelog can be [found here][link_changes_log].\n\n## License\n[![License](https://poser.pugx.org/lapinskas/roadrunner-ubiquity/license)](https://packagist.org/packages/lapinskas/roadrunner-ubiquity)\n\nThis is open-sourced software licensed under the [MIT License][link_license].\n\n[badge_packagist_version]:https://img.shields.io/packagist/v/lapinskas/roadrunner-ubiquity.svg?maxAge=180\n[badge_release_date]:https://img.shields.io/github/release-date/Lapinskas/roadrunner-ubiquity.svg?style=flat-square\u0026maxAge=180\n[link_roadrunner]:https://github.com/spiral/roadrunner\n[link_ubiquity]:https://github.com/phpMv/ubiquity\n[link_packagist]:https://packagist.org/packages/lapinskas/roadrunner-ubiquity\n[link_php_bench]:http://www.phpbenchmarks.com/en/\n[link_releases]:https://github.com/Lapinskas/roadrunner-ubiquity/releases\n[link_changes_log]:https://github.com/Lapinskas/roadrunner-ubiquity/blob/master/CHANGELOG.md\n[link_license]:https://github.com/Lapinskas/roadrunner-ubiquity/blob/master/LICENSE","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flapinskas%2Froadrunner-ubiquity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flapinskas%2Froadrunner-ubiquity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flapinskas%2Froadrunner-ubiquity/lists"}