{"id":40828715,"url":"https://github.com/foodkit/laravel-deployer","last_synced_at":"2026-01-21T22:19:34.318Z","repository":{"id":62506419,"uuid":"97905957","full_name":"foodkit/laravel-deployer","owner":"foodkit","description":"Deployer recipe for Laravel projects that doesn't rely on symlinks.","archived":false,"fork":false,"pushed_at":"2017-09-07T08:21:13.000Z","size":34,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-27T18:17:16.821Z","etag":null,"topics":["deployer","devops","laravel","laravel-deployments","php","semantic-versioning"],"latest_commit_sha":null,"homepage":"https://github.com/foodkit/laravel-deployer","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foodkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-21T04:29:33.000Z","updated_at":"2018-04-19T15:52:47.000Z","dependencies_parsed_at":"2022-11-02T12:30:52.477Z","dependency_job_id":null,"html_url":"https://github.com/foodkit/laravel-deployer","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/foodkit/laravel-deployer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foodkit%2Flaravel-deployer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foodkit%2Flaravel-deployer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foodkit%2Flaravel-deployer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foodkit%2Flaravel-deployer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foodkit","download_url":"https://codeload.github.com/foodkit/laravel-deployer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foodkit%2Flaravel-deployer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28645548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["deployer","devops","laravel","laravel-deployments","php","semantic-versioning"],"created_at":"2026-01-21T22:19:33.587Z","updated_at":"2026-01-21T22:19:34.312Z","avatar_url":"https://github.com/foodkit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# (Simple) Laravel Deployer\n\nThis is a [Deployer](https://deployer.org) recipe for Laravel deployments that cannot (or would prefer not to) rely on symlinks. Instead, Git is simply used to update the codebase directly on the server.\n\n## Installation\n\nInstall the package via composer:\n\n```sh\ncomposer require foodkit/laravel-deployer\n```\n\n## Configuration\n\nDefine the `deploy.php` file in your project's root:\n\n```php\n\u003c?php\n\nnamespace Deployer;\n\nrequire __DIR__.'/vendor/foodkit/laravel-deployer/src/laravel-norevision.php';\n\n// Configuration\nset('ssh_type', 'native');\nset('ssh_multiplexing', true);\nset('branch', 'production');\nset('repository', 'git@github.com:company/project.git');\n\n// Servers\nserver('production', '1.2.3.4')\n    -\u003euser('root')\n    -\u003eidentityFile()\n    -\u003eset('deploy_path', '/var/www/project');\n\n```\n\nYou may want to run the deployment as standalone (not part of a project). This will skip certain checks against the state of the local repository. In this case, use the `standalone` flag:\n\n```php\nset('standalone', true);\n```\n\nAlso, the migration step can be disable if your project doesn't require it:\n\n```php\nset('migration', false);\n```\n\n### Slack integration\n\nIf you'd like to integrate with Foodkit's release note generator, add the following:\n\n```php\n\noption('start', null, InputOption::VALUE_OPTIONAL, 'The start tag/branch');\noption('end', null, InputOption::VALUE_OPTIONAL, 'The end tag/branch');\n\nset('slack_title', 'Release notes');\nset('slack_color', '#4d91f7');\nset('slack_emoji', ':ghost:');\nset('slack_name', 'Laravel Deployer');\nset('slack_webhook', 'https://hooks.slack.com/services/ABCDEFGH/IJLMNOPQ/OJI7OA9IU1BAJgGj4ge3YD9A');\nset('release_notes_command', 'vendor/bin/release-notes generate');\n```\n\nthen run the deployment with the `start` and `end` command line parameters.\n\n### API integration\n\nIf you'd like to send the release note to an API endpoint, add the following:\n\n```php\n\noption('start', null, InputOption::VALUE_OPTIONAL, 'The start tag/branch');\noption('end', null, InputOption::VALUE_OPTIONAL, 'The end tag/branch');\n\nset('api_endpoint', 'https://api.product.com');\n\nafter('deploy', 'slack:send-release-notes-api');\n```\n\nthen run the deployment with the `start` and `end` command line parameters.\n\n## How to deploy\n\nRun the deploy command:\n\n```sh\nphp vendor/bin/dep deploy production\n```\n\nOptionally, a tag or a branch can be specified on the command line:\n\n```sh\nphp vendor/bin/dep deploy production --tag=\"v0.1\"\nphp vendor/bin/dep deploy production --branch=\"develop\"\n```\n\nOptionally, if you're integrating with the release note generator:\n\n```sh\nphp vendor/bin/dep deploy production --tag=\"v1.0.8\" --start=\"v1.0.7\" --end=\"v1.0.8\"\n```\n\nTo see what exactly happening you can increase verbosity of output with `--verbose` option:\n\n* `-v`  for normal output,\n* `-vv`  for more verbose output,\n* `-vvv`  for debug.\n\n## For semver\n\nIf you use semantic versioning, the repo has \"hotfix\" and \"release\" tasks built-in.\n\n### Hotfixes\n\n```sh\nphp vendor/bin/dep hotfix production\n```\n\nThis will take the latest tag, increment it by 0.0.1, create a new tag and deploy that.\n\n### Releases\n\n```sh\nphp vendor/bin/dep release production\n```\n\nSame as for the hotfix command, but it will increment latest tag by 0.1\n\n## Contributing\n\nSee the list of [issues](issues).\n\nSubmit a pull request against `master`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoodkit%2Flaravel-deployer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoodkit%2Flaravel-deployer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoodkit%2Flaravel-deployer/lists"}