{"id":22278864,"url":"https://github.com/ayman-benmada/sylius-backoffice-plugin","last_synced_at":"2025-07-28T18:30:52.768Z","repository":{"id":237488176,"uuid":"794543815","full_name":"ayman-benmada/Sylius-Backoffice-Plugin","owner":"ayman-benmada","description":"The Backoffice plugin allows you to change back office color and channel logo","archived":false,"fork":false,"pushed_at":"2024-05-12T19:28:20.000Z","size":589,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T22:03:38.764Z","etag":null,"topics":["backoffice","style","sylius","sylius-plugin","symfony"],"latest_commit_sha":null,"homepage":"","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/ayman-benmada.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}},"created_at":"2024-05-01T12:27:58.000Z","updated_at":"2024-11-04T09:55:55.000Z","dependencies_parsed_at":"2024-05-02T07:31:28.463Z","dependency_job_id":"5ffd7c14-31bc-4d3c-836c-9d99966e900b","html_url":"https://github.com/ayman-benmada/Sylius-Backoffice-Plugin","commit_stats":null,"previous_names":["ayman-benmada/sylius-backoffice-plugin"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ayman-benmada/Sylius-Backoffice-Plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayman-benmada%2FSylius-Backoffice-Plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayman-benmada%2FSylius-Backoffice-Plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayman-benmada%2FSylius-Backoffice-Plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayman-benmada%2FSylius-Backoffice-Plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayman-benmada","download_url":"https://codeload.github.com/ayman-benmada/Sylius-Backoffice-Plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayman-benmada%2FSylius-Backoffice-Plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267563495,"owners_count":24108097,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["backoffice","style","sylius","sylius-plugin","symfony"],"created_at":"2024-12-03T15:16:54.693Z","updated_at":"2025-07-28T18:30:52.455Z","avatar_url":"https://github.com/ayman-benmada.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eSylius Backoffice Plugin\u003c/h1\u003e\n\n\u003cp\u003e\n    The Backoffice plugin allows you to change back office color and channel logo\n\u003c/p\u003e\n\n![presentation photo](https://github.com/ayman-benmada/Sylius-Backoffice-Plugin/blob/main/src/Resources/public/presentation.png?raw=true)\n\n## Installation\n\nRequire plugin with composer :\n\n```bash\ncomposer require abenmada/sylius-backoffice-plugin\n```\n\nChange your `config/bundles.php` file to add the line for the plugin :\n\n```php\n\u003c?php\n\nreturn [\n    //..\n    Abenmada\\BackofficePlugin\\BackofficePlugin::class =\u003e ['all' =\u003e true],\n]\n```\n\nThen create the config file in `config/packages/abenmada_backoffice_plugin.yaml` :\n\n```yaml\nimports:\n    - { resource: \"@BackofficePlugin/Resources/config/services.yaml\" }\n```\n\nUpdate the entity `src/Entity/Channel/Channel.php` :\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nnamespace App\\Entity\\Channel;\n\nuse Doctrine\\Common\\Collections\\ArrayCollection;\nuse Doctrine\\ORM\\Mapping as ORM;\nuse Abenmada\\BackofficePlugin\\Model\\Channel\\ChannelTrait as AbenmadaBackofficeChannelTrait;\nuse Sylius\\Component\\Core\\Model\\Channel as BaseChannel;\nuse Sylius\\Component\\Core\\Model\\ImagesAwareInterface;\n\n/**\n * @ORM\\Entity\n * @ORM\\Table(name=\"sylius_channel\")\n */\nclass Channel extends BaseChannel implements ImagesAwareInterface\n{\n    use AbenmadaBackofficeChannelTrait;\n\n    public function __construct()\n    {\n        $this-\u003eimages = new ArrayCollection();\n        parent::__construct();\n    }\n}\n```\n\nRun the migration :\n```bash\nbin/console doctrine:migration:migrate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayman-benmada%2Fsylius-backoffice-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayman-benmada%2Fsylius-backoffice-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayman-benmada%2Fsylius-backoffice-plugin/lists"}