{"id":24926434,"url":"https://github.com/oanhnn/example-deployer-slim","last_synced_at":"2025-04-09T20:41:37.763Z","repository":{"id":28241341,"uuid":"31746714","full_name":"oanhnn/example-deployer-slim","owner":"oanhnn","description":"Example project for deployment PHP project (Slim Framwork) by Deployer","archived":false,"fork":false,"pushed_at":"2023-11-28T18:13:48.000Z","size":57,"stargazers_count":34,"open_issues_count":1,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T22:37:24.701Z","etag":null,"topics":["deploy-tool","deployer","deployment"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/oanhnn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-06T01:40:28.000Z","updated_at":"2023-10-10T12:49:01.000Z","dependencies_parsed_at":"2024-11-14T21:42:45.770Z","dependency_job_id":"4aa6dd23-57cb-4596-b45b-f0519250f5fb","html_url":"https://github.com/oanhnn/example-deployer-slim","commit_stats":{"total_commits":21,"total_committers":4,"mean_commits":5.25,"dds":0.4285714285714286,"last_synced_commit":"e64eb69fb87d87b258c12e37cc88fe3715f94c85"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanhnn%2Fexample-deployer-slim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanhnn%2Fexample-deployer-slim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanhnn%2Fexample-deployer-slim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanhnn%2Fexample-deployer-slim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oanhnn","download_url":"https://codeload.github.com/oanhnn/example-deployer-slim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248109853,"owners_count":21049384,"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":["deploy-tool","deployer","deployment"],"created_at":"2025-02-02T12:52:16.291Z","updated_at":"2025-04-09T20:41:37.743Z","avatar_url":"https://github.com/oanhnn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n[![Join the chat at https://gitter.im/oanhnn/deployer-example](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/oanhnn/deployer-example?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nAn example for use [Deployer](http://deployer.org) to deployment PHP project.   \nIn this example, i'm will deploy a project using [Slim framework](https://github.com/slimphp/Slim) follow my [slim-skeleton](https://github.com/oanhnn/slim-skeleton)\n\nSee [http://deployer.org](http://deployer.org) for more information and documentation about Deployer.\n\n# Requirements\n\n* PHP 5.6.0 and up.\n\nThat's all!\n\n\u003e If PHP 5.4.x or 5.5.x, please using branch 3.x (using Deployer 3.x)\n\nYou can install [ssh2 extension](http://php.net/manual/en/book.ssh2.php) to speedup deployment process and\nenable [sockets](http://php.net/manual/en/book.sockets.php) for parallel deployment.\n\n\n# Installation\n\nClone with `git` and run `composer install`\n\n```shell\n$ git clone git@github.com:oanhnn/deployer-example.git \u003ctarget-directory\u003e\n$ cd \u003ctarget-directory\u003e\n$ composer install\n```\n\nor using [`composer`](http://getcomposer.org)\n\n```shell\n$ composer create-project oanhnn/deployer-example \u003ctarget-directory\u003e\n```\n\n# Usage\n\n\u003e In this example using forward agent feature, to run it, please [enable `ssh` forward agent](https://github.com/oanhnn/deployer-example/blob/master/docs/enable-feature-ssh-forward-agent.md) the first.\n\u003e If using ssh2 extension, please require package `\"herzult/php-ssh\": \"~1.0\"` and add line `set('ssh_type', 'ext-ssh2');` to `deploy.php` file before deployment.\n\u003e If using native ssh client, please add line `set('ssh_type', 'native');` to `deploy.php` file before deployment.\n\nCustomize `stage/dev.php` or make a copy and write your own stages.\n\nFirst deployment:  \n```shell\n$ bin/dep deploy:configure \u003cstage\u003e\n$ bin/dep deploy \u003cstage\u003e\n```\n\nNext deployments:\n```shell\n$ bin/dep deploy \u003cstage\u003e\n```\n\nUsing options `-vvv` for debug\n```shell\n$ bin/dep deploy \u003cstage\u003e -vvv\n```\n\nContributing\n------------\nAll code contributions must go through a pull request and approved by a core developer before being merged.\nThis is to ensure proper review of all the code.\n\nFork the project, create a feature branch, and send a pull request.\n\nTo ensure a consistent code base, you should make sure the code follows\nthe [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md).\n\nIf you would like to help take a look at the [list of issues](https://github.com/oanhnn/deployer-example/issues).\n\nLicense\n-------\nThis project is released under the MIT License.   \nCopyright © 2015-2017 Oanh Nguyen.   \nPlease see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foanhnn%2Fexample-deployer-slim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foanhnn%2Fexample-deployer-slim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foanhnn%2Fexample-deployer-slim/lists"}