{"id":19219292,"url":"https://github.com/phpdevsr/rector-codeigniter4","last_synced_at":"2026-01-23T13:46:45.656Z","repository":{"id":230887005,"uuid":"780227576","full_name":"PHPDevsr/rector-codeigniter4","owner":"PHPDevsr","description":"Rector upgrades rules for Codeigniter4","archived":false,"fork":false,"pushed_at":"2024-10-07T19:41:20.000Z","size":57,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-28T09:23:41.704Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PHPDevsr.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-01T02:44:05.000Z","updated_at":"2024-05-21T10:28:32.000Z","dependencies_parsed_at":"2024-05-20T03:30:22.892Z","dependency_job_id":"2fec3aa1-009e-4db4-8a03-745891399cfe","html_url":"https://github.com/PHPDevsr/rector-codeigniter4","commit_stats":null,"previous_names":["phpdevsr/rector-codeigniter4"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/PHPDevsr/rector-codeigniter4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPDevsr%2Frector-codeigniter4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPDevsr%2Frector-codeigniter4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPDevsr%2Frector-codeigniter4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPDevsr%2Frector-codeigniter4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PHPDevsr","download_url":"https://codeload.github.com/PHPDevsr/rector-codeigniter4/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPDevsr%2Frector-codeigniter4/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28693331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T11:01:27.039Z","status":"ssl_error","status_checked_at":"2026-01-23T11:00:26.909Z","response_time":59,"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":[],"created_at":"2024-11-09T14:30:19.370Z","updated_at":"2026-01-23T13:46:45.621Z","avatar_url":"https://github.com/PHPDevsr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rector Rules for Codeigniter4\n[![Tests](https://github.com/PHPDevsr/rector-codeigniter4/actions/workflows/test-phpunit.yaml/badge.svg)](https://github.com/PHPDevsr/rector-codeigniter4/actions/workflows/test-phpunit.yaml)\n[![Code Analysis](https://github.com/PHPDevsr/rector-codeigniter4/actions/workflows/code_analysis.yaml/badge.svg)](https://github.com/PHPDevsr/rector-codeigniter4/actions/workflows/code_analysis.yaml)\n[![Packagist Downloads](https://img.shields.io/packagist/dm/PHPDevsr/rector-codeigniter4)](https://packagist.org/packages/PHPDevsr/rector-codeigniter4/stats)\n[![Packagist Version](https://img.shields.io/packagist/v/PHPDevsr/rector-codeigniter4)](https://packagist.org/packages/PHPDevsr/rector-codeigniter4)\n\nSee available [Codeigniter4 rules](/docs/rector_rules_overview.md)\n\n## Requirement\n\nMinimum PHP 8.1\n\n## Install\n\nThis package is a [Rector](https://github.com/rectorphp/rector) extension developed by the PHPDevsr based on Codeigniter4 Community. In set `4.5` required `PHPStan`, you needed create `phpstan.neon.dist` in root project.\n\nInstall the `PHPDevsr\\Rector\\Codeigniter4` package as dependency:\n\n```bash\ncomposer require phpdevsr/rector-codeigniter4 --dev\n```\n\n## Use Sets\n\nTo add a set to your config, use `PHPDevsr\\Rector\\Codeigniter4\\Set\\CodeigniterSetList` class and pick one of the constants:\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nuse Rector\\Config\\RectorConfig;\nuse PHPDevsr\\Rector\\Codeigniter4\\Set\\CodeigniterSetList;\n\nreturn RectorConfig::configure()\n    -\u003ewithSets([\n        CodeigniterSetList::CODEIGNITER_45\n    ]);\n```\n\n## Learn Rector Faster\n\nRector is a tool that [we develop](https://getrector.org/) and share for free, so anyone can save hundreds of hours on refactoring.\nBut not everyone has time to understand Rector and AST complexity. You have 2 ways to speed this process up:\n\n* Read the book - \u003ca href=\"https://leanpub.com/rector-the-power-of-automated-refactoring\"\u003eThe Power of Automated Refactoring\u003c/a\u003e\n* Hire our experienced team to \u003ca href=\"https://getrector.org/contact\"\u003eimprove your codebase\u003c/a\u003e\n\nBoth ways support us to and improve Rector in sustainable way by learning from practical projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpdevsr%2Frector-codeigniter4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpdevsr%2Frector-codeigniter4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpdevsr%2Frector-codeigniter4/lists"}