{"id":21625052,"url":"https://github.com/laraveleg/laravel-autodeploy","last_synced_at":"2025-04-11T12:33:21.705Z","repository":{"id":57008251,"uuid":"189094997","full_name":"laraveleg/laravel-autodeploy","owner":"laraveleg","description":"Deploy project after pushed commits.","archived":false,"fork":false,"pushed_at":"2020-06-10T16:12:18.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T08:51:18.442Z","etag":null,"topics":["autodeploy","git","gitlab","komicho","laravel"],"latest_commit_sha":null,"homepage":"","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/laraveleg.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":"2019-05-28T20:02:08.000Z","updated_at":"2020-06-10T15:44:15.000Z","dependencies_parsed_at":"2022-08-21T14:31:30.666Z","dependency_job_id":null,"html_url":"https://github.com/laraveleg/laravel-autodeploy","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraveleg%2Flaravel-autodeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraveleg%2Flaravel-autodeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraveleg%2Flaravel-autodeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraveleg%2Flaravel-autodeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laraveleg","download_url":"https://codeload.github.com/laraveleg/laravel-autodeploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248402263,"owners_count":21097328,"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":["autodeploy","git","gitlab","komicho","laravel"],"created_at":"2024-11-25T01:07:40.071Z","updated_at":"2025-04-11T12:33:21.677Z","avatar_url":"https://github.com/laraveleg.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LaravelEG Laravel AutoDeploy\nDeploy project after pushed commits.\n\n### Install via composer\n```\n$ composer require laraveleg/laravel-autodeploy\n```\n\n### Publish vendor\n- Run `php artisan vendor:publish`\n- Selection `LaravelEG\\Laravel\\AutoDeploy\\ServiceProvider`\n\n### Config file\nGo to `config/laraveleg/autodeploy.php`\n- You can specify the name of the branch you want to pull from:- `'branch_remote' =\u003e 'master'`\n\n## Add webhook\nYou can add webhook to route file `like routes/api.php`\n```php\nRoute::prefix(\"laraveleg\")-\u003egroup(function () {\n    LaravelEG\\Laravel\\AutoDeploy\\WebHook::init();\n});\n```\n\n## Integrations with git repository\nPublishing projects from the repository.\n\n### URL (webhook):-\nYou can use url `\u003cBASE_URL\u003e/api/laraveleg/deploy/\u003cLARAVELEG_AUTODEPLOY_TOKEN\u003e`\n\u003e Do not use web routes\n\n`LARAVELEG_AUTODEPLOY_TOKEN` It is the secret token in LARAVELEG_AUTODEPLOY_TOKEN value inside `.env` file\n\n### Secret Token\nAdd a value you choose but you must add this value in a .env file\n```env\nLARAVELEG_AUTODEPLOY_TOKEN=\u003cSECRET_TOKEN\u003e\n```\n\n### Git bar\nCan enbale show git bar you wint add new middleware in app/Http/Kernel.php file\n```php\n\\LaravelEG\\Laravel\\AutoDeploy\\App\\Http\\Middleware\\LastCommitMiddleware::class\n```\n\u003e This feature does not work in production mode","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaraveleg%2Flaravel-autodeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaraveleg%2Flaravel-autodeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaraveleg%2Flaravel-autodeploy/lists"}