{"id":20058322,"url":"https://github.com/originphp/upgrade","last_synced_at":"2025-09-01T13:43:27.217Z","repository":{"id":57033020,"uuid":"216220143","full_name":"originphp/upgrade","owner":"originphp","description":"This is a plugin to assist upgrading from 1.x to 2.0.","archived":false,"fork":false,"pushed_at":"2019-10-24T13:05:48.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T21:47:04.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/originphp.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-10-19T14:35:45.000Z","updated_at":"2019-10-24T13:04:49.000Z","dependencies_parsed_at":"2022-08-23T16:20:27.127Z","dependency_job_id":null,"html_url":"https://github.com/originphp/upgrade","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/originphp%2Fupgrade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/originphp%2Fupgrade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/originphp%2Fupgrade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/originphp%2Fupgrade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/originphp","download_url":"https://codeload.github.com/originphp/upgrade/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241488152,"owners_count":19970826,"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":[],"created_at":"2024-11-13T13:01:11.529Z","updated_at":"2025-03-02T09:42:09.813Z","avatar_url":"https://github.com/originphp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OriginPHP Upgrade Plugin (beta)\n\nThis is a plugin to assist upgrading from 1.x to 2.0. \n\nIt does the following\n\n1. convert the old folder structure to the new structure and update USE statements\n2. update Namespace changes \n3. warn you of features that you are using that might have changed/removed or require action \n\n## Usage\n\n1. Make sure you have removed all previous deprecation warnings from your app using version 1.33 or higher.\n2. Backup your files\n3. create a new project \n\n```linux\n$ composer create-project originphp/app app-v2\n```\n\n4. install this pluign\n\n```linux\n$ cd app-v2\n$ composer require originphp/upgrade\n```\n\n5. Copy the contents of your `app` folder into the `app` folder (leave structure as is)\n\n6. Copy the contents of your `tests` folder into the `tests` folder (leave structure as is)\n\n7. Do a DRY run\n\n```linux\n$ bin/console upgrade --dry-run\n```\n\nThis will show you what it will change automatically and possible issues that need to be looked\ndue to changes ( model callbacks, controller callbacks, composer dependencies, or public properties)\n\n8. Run\n\nThis will run and make the changes it can, then it will list possible things which need your attention\n\n```linux\n$ bin/console upgrade\n```\n\n5. Settings\n\nThe following files might custom settings that you need to copy over\n\n* composer.json\n* config/.env.php\n* config/.env.php.default\n* config/application.php\n* config/routes.php\n* database/schema.php\n* database/seed.php","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foriginphp%2Fupgrade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foriginphp%2Fupgrade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foriginphp%2Fupgrade/lists"}