{"id":50192151,"url":"https://github.com/codemonster-ru/xen","last_synced_at":"2026-05-25T14:06:34.315Z","repository":{"id":319696091,"uuid":"1078432320","full_name":"codemonster-ru/xen","owner":"codemonster-ru","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-15T22:20:12.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-16T00:19:19.746Z","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/codemonster-ru.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-17T18:13:50.000Z","updated_at":"2025-11-15T22:20:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"11eb25a2-e9fe-4d1d-93d0-20d406bf7b8f","html_url":"https://github.com/codemonster-ru/xen","commit_stats":null,"previous_names":["codemonster-ru/xen"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/codemonster-ru/xen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonster-ru%2Fxen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonster-ru%2Fxen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonster-ru%2Fxen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonster-ru%2Fxen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemonster-ru","download_url":"https://codeload.github.com/codemonster-ru/xen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonster-ru%2Fxen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33478023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T06:32:55.349Z","status":"ssl_error","status_checked_at":"2026-05-25T06:32:35.322Z","response_time":57,"last_error":"SSL_read: 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":"2026-05-25T14:06:29.647Z","updated_at":"2026-05-25T14:06:34.300Z","avatar_url":"https://github.com/codemonster-ru.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xen CMS\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/codemonster-ru/xen.svg?style=flat-square)](https://packagist.org/packages/codemonster-ru/xen)\n[![Total Downloads](https://img.shields.io/packagist/dt/codemonster-ru/xen.svg?style=flat-square)](https://packagist.org/packages/codemonster-ru/xen)\n[![License](https://img.shields.io/packagist/l/codemonster-ru/xen.svg?style=flat-square)](https://packagist.org/packages/codemonster-ru/xen)\n\n**Xen** is a modern modular CMS based on the [Annabel](https://github.com/codemonster-ru/annabel) framework,\ndesigned for clean architecture, simple code, and extensibility through independent modules.\n\n## Installation\n\n```bash\ncomposer require codemonster-ru/xen\n```\n\n## Features\n\n-   **Modular structure**: Each CMS component is a separate module (`Pages`, `Users`, `Admin`, etc.).\n-   **Automatic module loading**: `ModuleManager` finds and boots `ModuleServiceProvider` in `app/Modules`.\n-   **Minimal bootstrap**: `bootstrap/app.php` only creates the `Application` instance.\n-   **Templates within modules**: Each module can have its own templates (`Views/`) and call `view('pages::home')`.\n-   **Annabel compatibility**: Uses core features (service providers, container, view engine, router, etc.).\n\n## Database Migrations\n\nGlobal (project) migrations live in `database/migrations`.\nModule migrations live beside their code under `app/Modules/\u003cModule\u003e/database/migrations`.\n\n`bootstrap/migrationPaths.php` collects migration paths, with `database/migrations` used as the default location.\n\nRun everything through the bundled wrapper:\n\n```bash\nphp bin/database migrate\nphp bin/database migrate:rollback\nphp bin/database make:migration CreatePostsTable\nphp bin/database make:migration CreatePostsTable --module=Pages\n```\n\nThe CLI reads the same `config/database.php` as the application, so the migrations table, database connections,\nand module paths stay synchronized between HTTP and console work.\n\n## Database Seeders\n\nGlobal (project) seeders live in `database/seeds`.\nModule seeders live beside their code under `app/Modules/\u003cModule\u003e/database/seeds`.\n\n```bash\nphp bin/database seed\nphp bin/database make:seed RolesSeeder\nphp bin/database make:seed RolesSeeder --module=Auth\n```\n\nAuth module routes:\n\n- `GET /login`, `POST /login` (guest only, CSRF protected)\n- `GET /register`, `POST /register` (guest only, CSRF protected)\n- `GET /profile` (auth only)\n- `POST /logout` (auth only, CSRF protected)\n\n## Author\n\n[**Kirill Kolesnikov**](https://github.com/KolesnikovKirill)\n\n## License\n\n[MIT](https://github.com/codemonster-ru/xen/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonster-ru%2Fxen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemonster-ru%2Fxen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonster-ru%2Fxen/lists"}