{"id":41204999,"url":"https://github.com/twohreichel/twoh_base","last_synced_at":"2026-01-22T21:55:05.932Z","repository":{"id":298102865,"uuid":"998673017","full_name":"twohreichel/twoh_base","owner":"twohreichel","description":"This extension allows you to move the TYPO3 context into separate files instead of working with the AdditionalConfiguration.php.","archived":false,"fork":false,"pushed_at":"2025-12-18T15:29:05.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-21T19:49:57.800Z","etag":null,"topics":["backend","easy","php8","typo3","typo3-cms-extension","typo3-extension","typoscript","webdevelopment"],"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/twohreichel.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-09T04:19:14.000Z","updated_at":"2025-12-18T15:28:40.000Z","dependencies_parsed_at":"2025-06-09T12:42:05.864Z","dependency_job_id":"f1c84c2e-5f58-4827-a413-7e1bc5f5bb8f","html_url":"https://github.com/twohreichel/twoh_base","commit_stats":null,"previous_names":["twoh-typo3/twoh_base"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/twohreichel/twoh_base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twohreichel%2Ftwoh_base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twohreichel%2Ftwoh_base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twohreichel%2Ftwoh_base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twohreichel%2Ftwoh_base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twohreichel","download_url":"https://codeload.github.com/twohreichel/twoh_base/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twohreichel%2Ftwoh_base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28672079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T20:48:19.482Z","status":"ssl_error","status_checked_at":"2026-01-22T20:48:14.968Z","response_time":144,"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":["backend","easy","php8","typo3","typo3-cms-extension","typo3-extension","typoscript","webdevelopment"],"created_at":"2026-01-22T21:55:05.116Z","updated_at":"2026-01-22T21:55:05.924Z","avatar_url":"https://github.com/twohreichel.png","language":"PHP","funding_links":["https://github.com/sponsors/twohreichel"],"categories":[],"sub_categories":[],"readme":"# TWOH Base\n\n[![TYPO3 13](https://img.shields.io/badge/TYPO3-13-orange.svg)](https://get.typo3.org/version/13)\n[![PHP 8.2+](https://img.shields.io/badge/PHP-8.2+-blue.svg)](https://www.php.net/)\n[![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/gpl-2.0)\n\n\u003e This extension allows you to move the TYPO3 context into separate files instead of working with the `AdditionalConfiguration.php`.\n\n---\n\n## 📋 Features\n\n- **Context-based Configuration** – Organize TYPO3 settings per environment (Development, Production, etc.)\n- **Environment Variables Support** – Includes `.env` support for TYPO3's `AdditionalConfiguration.php`\n- **Clean Project Setup** – Provides all needed files for setting up a TYPO3 project\n\n---\n\n## ⚙️ Requirements\n\n| Requirement | Version |\n|-------------|---------|\n| PHP         | ^8.2    |\n| Composer    | ^2.0    |\n| TYPO3       | ^13.4   |\n\n---\n\n## 🚀 Installation\n\n### Via Composer (recommended)\n\n```bash\ncomposer require twoh/twoh_base\n```\n\n### Manual Installation\n\n1. Download the extension\n2. Upload to `typo3conf/ext/twoh_base`\n3. Activate in TYPO3 Extension Manager\n\n---\n\n## 📖 Usage\n\n### Configuration Structure\n\nCreate a `config/` directory in your project root with environment-specific configuration files:\n\n```\nproject-root/\n├── config/\n│   ├── default.php          # Base configuration (loaded first)\n│   ├── development.php      # Development environment\n│   ├── production.php       # Production environment\n│   └── production.staging.php  # Production/Staging context\n```\n\n### Example Configuration File\n\n```php\n\u003c?php\n// config/default.php\nreturn [\n    'DB' =\u003e [\n        'Connections' =\u003e [\n            'Default' =\u003e [\n                'host' =\u003e 'localhost',\n                'dbname' =\u003e 'typo3',\n            ],\n        ],\n    ],\n];\n```\n\n### Loading Configuration\n\nAdd to your `AdditionalConfiguration.php`:\n\n```php\n\u003c?php\nuse TWOH\\TwohBase\\Configuration\\Loader;\nuse TYPO3\\CMS\\Core\\Core\\Environment;\n\n$loader = new Loader(\n    Environment::getContext(),\n    Environment::getProjectPath()\n);\n$loader-\u003eload();\n```\n\n---\n\n## 🧪 Development\n\n### Running Tests\n\n```bash\ncomposer test:unit\n```\n\n### Code Style\n\n```bash\n# Check code style\ncomposer cs:check\n\n# Fix code style\ncomposer cs:fix\n```\n\n---\n\n## 📄 License\n\nThis project is licensed under the GPL-2.0-or-later License – see the [LICENSE](LICENSE) file for details.\n\n---\n\n## 👥 Authors\n\n- **Andreas Reichel** – [a.reichel91@outlook.com](mailto:a.reichel91@outlook.com)\n- **Igor Smertin** – [igor.smertin@web.de](mailto:igor.smertin@web.de)\n\n---\n\n## 💖 Support This Project\n\nIf you find this extension helpful, please consider supporting its development! Your sponsorship helps maintain and improve this project.\n\n[![Sponsor on GitHub](https://img.shields.io/badge/Sponsor-❤️-red?style=for-the-badge\u0026logo=github)](https://github.com/sponsors/twohreichel)\n\n[**Become a Sponsor**](https://github.com/sponsors/twohreichel) – Every contribution helps us dedicate more time to building great TYPO3 extensions and keeping them up-to-date!\n\n---\n\n## 🔗 Links\n\n- [GitHub Repository](https://github.com/twohreichel/twoh_base)\n- [Issue Tracker](https://github.com/twohreichel/twoh_base/issues)\n- [Documentation](https://docs.typo3.org/p/twoh/twoh_base/main/en-us/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwohreichel%2Ftwoh_base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwohreichel%2Ftwoh_base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwohreichel%2Ftwoh_base/lists"}