{"id":21455603,"url":"https://github.com/yottacms/framework","last_synced_at":"2025-09-10T04:03:59.855Z","repository":{"id":57088028,"uuid":"103441784","full_name":"yottacms/framework","owner":"yottacms","description":"Yotta.CMS Framework for Symfony","archived":false,"fork":false,"pushed_at":"2020-01-16T20:19:37.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T13:14:18.890Z","etag":null,"topics":["framework","symfony","yottacms"],"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/yottacms.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":"2017-09-13T19:27:49.000Z","updated_at":"2020-01-16T20:19:39.000Z","dependencies_parsed_at":"2022-08-20T15:31:12.809Z","dependency_job_id":null,"html_url":"https://github.com/yottacms/framework","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yottacms%2Fframework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yottacms%2Fframework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yottacms%2Fframework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yottacms%2Fframework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yottacms","download_url":"https://codeload.github.com/yottacms/framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243966219,"owners_count":20376020,"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":["framework","symfony","yottacms"],"created_at":"2024-11-23T05:12:49.724Z","updated_at":"2025-03-17T03:24:56.514Z","avatar_url":"https://github.com/yottacms.png","language":"PHP","readme":"# Yotta.CMS Framework Components for Symfony\n\n## Installation\n```Bash\ncomposer require yottacms/framework\n\n```\n## Usage\nРекурсивная разгрузка зависимых бандлов\n\n```PHP\n// src/Kernel.php in Symfony \u003e= v4\nuse YottaCms\\Framework\\Component\\HttpKernel\\PreloadBundlesKernelTrait;\n// ...\n\nclass Kernel extends BaseKernel\n{\n    use MicroKernelTrait, PreloadBundlesKernelTrait;\n\n    // remove or rename default \"registerBundles\" method (it will be replaced by PreloadBundlesKernelTrait)\n    public function registerBundlesDisabled()\n    {\n        $contents = require $this-\u003egetProjectDir().'/config/bundles.php';\n        foreach ($contents as $class =\u003e $envs) {\n            if (isset($envs['all']) || isset($envs[$this-\u003eenvironment])) {\n                yield new $class();\n            }\n        }\n    }\n\n    // ...\n}\n\n// YourBundle.php\nnamespace YourBundleNS;\nuse Symfony\\Component\\HttpKernel\\Bundle\\Bundle;\n// ...\n\nclass YourBundle extends Bundle\n{\n    public function registerBundles()\n    {\n        return [\n            \\Symfony\\Cmf\\Bundle\\RoutingBundle\\CmfRoutingBundle::class =\u003e ['all' =\u003e true],   // @example\n        ];\n    }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyottacms%2Fframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyottacms%2Fframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyottacms%2Fframework/lists"}