{"id":19688015,"url":"https://github.com/wendyliga/laravel-deployment-shared-hosting","last_synced_at":"2026-04-16T11:01:57.074Z","repository":{"id":115200599,"uuid":"140055321","full_name":"wendyliga/laravel-deployment-shared-hosting","owner":"wendyliga","description":"Laravel Deployment Shared Hosting with or without SSH","archived":false,"fork":false,"pushed_at":"2018-07-07T06:15:30.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T02:46:04.164Z","etag":null,"topics":["laravel","shared-hosting","ssh"],"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/wendyliga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-07-07T05:25:40.000Z","updated_at":"2018-07-07T06:15:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"b871fbf3-9f7d-4622-b29d-519a99eec5f5","html_url":"https://github.com/wendyliga/laravel-deployment-shared-hosting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wendyliga/laravel-deployment-shared-hosting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendyliga%2Flaravel-deployment-shared-hosting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendyliga%2Flaravel-deployment-shared-hosting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendyliga%2Flaravel-deployment-shared-hosting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendyliga%2Flaravel-deployment-shared-hosting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wendyliga","download_url":"https://codeload.github.com/wendyliga/laravel-deployment-shared-hosting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendyliga%2Flaravel-deployment-shared-hosting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31882886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["laravel","shared-hosting","ssh"],"created_at":"2024-11-11T18:36:46.308Z","updated_at":"2026-04-16T11:01:57.057Z","avatar_url":"https://github.com/wendyliga.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Deployment Shared Hosting\nLaravel Deployment on Shared Hosting with or without SSH\n\n## Without SSH\n### Laravel 5.5\n\n1. Compress your Laravel Project and upload it to Root of your Shared Hosting\n2. Extract your project to root of your Shared Hosting\n3. Move all files in your `public` to `public_html` folder\n4. open `server.php` in root of your server (Included in Laravel Project) , rename `public` word to `public_html`\n\nbefore\n```\nif ($uri !== '/' \u0026\u0026 file_exists(__DIR__.'/public'.$uri)) {\n    return false;\n}\n\nrequire_once __DIR__.'/public/index.php';\n```\nafter \n```\nif ($uri !== '/' \u0026\u0026 file_exists(__DIR__.'/public_html'.$uri)) {\n    return false;\n}\n\nrequire_once __DIR__.'/public_html/index.php';\n```\n\n5. Open `app\\Providers\\AppServiceProvider.php` and add this following code into `public function register()`\n\n```\n// override path.public\n$this-\u003eapp-\u003ebind('path.public',function(){\n    return base_path('public_html');\n});\n```\n\n## SSH Supported\n### Laravel 5.5\n\n1. Do the following instruction on 'Without SSH'\n2. Make sure your `.env` was configured\n3. Force `composer` to update\n```\ncomposer install\n```\n4. Generate new key , then execute \n```\nphp artisan key:generate\n```\n5. You Supposed to have no problem use your `artisan` and `composer` command\n\n#### if you had git supported project \nYou could init your git in root of Shared Hosting and add this following `.gitignore` to prevent unnecessary file push to your git repository\n\n[grab your .gitignore here](https://github.com/wendyliga/laravel-deployment-shared-hosting/blob/master/gitignore_ssh.md)\n\n# Next Steps\nHappy Code Guys\n\n# Feedback\nPlease don't hesitate for [issuing](https://github.com/wendyliga/laravel-deployment-shared-hosting/issues) something that doesn't work for you, I will really happy to help you\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendyliga%2Flaravel-deployment-shared-hosting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwendyliga%2Flaravel-deployment-shared-hosting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendyliga%2Flaravel-deployment-shared-hosting/lists"}