{"id":19453430,"url":"https://github.com/shopware5/composer-project","last_synced_at":"2025-04-06T09:07:30.422Z","repository":{"id":28298347,"uuid":"117529536","full_name":"shopware5/composer-project","owner":"shopware5","description":"Skeleton for Shopware projects with composer","archived":false,"fork":false,"pushed_at":"2023-07-27T16:17:35.000Z","size":528,"stargazers_count":70,"open_issues_count":0,"forks_count":43,"subscribers_count":40,"default_branch":"5.7","last_synced_at":"2024-08-04T09:09:12.709Z","etag":null,"topics":["composer-project","ecommerce","ecommerce-platform","hacktoberfest","php","shopware"],"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/shopware5.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-01-15T10:11:30.000Z","updated_at":"2024-08-04T09:09:12.709Z","dependencies_parsed_at":"2024-02-06T05:00:11.703Z","dependency_job_id":null,"html_url":"https://github.com/shopware5/composer-project","commit_stats":null,"previous_names":["shopware/composer-project"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopware5%2Fcomposer-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopware5%2Fcomposer-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopware5%2Fcomposer-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopware5%2Fcomposer-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shopware5","download_url":"https://codeload.github.com/shopware5/composer-project/tar.gz/refs/heads/5.7","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457800,"owners_count":20941906,"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":["composer-project","ecommerce","ecommerce-platform","hacktoberfest","php","shopware"],"created_at":"2024-11-10T17:04:28.699Z","updated_at":"2025-04-06T09:07:30.402Z","avatar_url":"https://github.com/shopware5.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Composer template for Shopware projects\n\nStarting with v5.4 Shopware supports installation using composer out of the box. Earlier versions of Shopware are not\nsupported.\n\n## Installation\n\n```bash\ncomposer create-project shopware/composer-project my_project_name --no-interaction --stability=dev\n```\n\nThis will clone the repository with all necessary dependencies into a new directory `my_project_name`. You can then either\nremove the history of this project by deleting the `.git` directory and start from scratch by executing `git init .`, or\nkeep the history and just add your own remote to push to. \n\nAfterwards you either provide a `.env` file for defining database credentials, the shop-url and Shopware version or have\none created for you using an interactive installer. \n\nTo use the installer, simply run: \n\n```bash\n$ ./app/bin/install.sh\n```\n\n## Configuration\n\nConfiguration settings like environment specific database settings, API tokens, server IPs or any type of credentials\nshould be set via environment variables. That way you don't have to include any environment specific or sensitive \ninformation in your project. You can use a `.env` file for local development or as a workaround.\n\nYou can also configure some generic project services in `app/services.xml`. For instance, the error log is configured to\nuse `stderr` output instead of default log file located at `var/log` directory. New and additional services should be\nprovided using plugins, though.\n\n## Updating Shopware\n\nUpdate the version number of `shopware/shopware` in `composer.json`. Then run `composer update shopware/shopware`\nto install the new version. Do not forget to commit the new `composer.lock` file to your project afterwards.\n\n### Prepare plugins for composer installation\n\nGiven you have a plugin called `SwagMediaSftp` add your dependencies in your plugins `composer.json` file.\nAlso set the `type` to `shopware-plugin`. See the [SwagMediaSftp](https://github.com/shopwareLabs/SwagMediaSftp)\nrepository for the complete plugin.\n\n```json\n{\n    \"name\": \"shopwarelabs/swag-media-sftp\",\n    \"type\": \"shopware-plugin\",\n    \"description\": \"The SFTP adapter allows you to manage your media files in shopware on a SFTP environment.\",\n    \"license\": \"MIT\",\n    \"extra\": {\n        \"installer-name\": \"SwagMediaSftp\"\n    },\n    \"require\": {\n        \"league/flysystem-sftp\": \"^1.0\"\n    }\n}\n```\n\nFor a complete list of the available Shopware-related types see the [Composer Installers](https://github.com/composer/installers) repository.\n\n## Plugins\n\nPlugins being installed like described above are installed into `custom/plugins/`, legacy Shopware plugins are getting \ninstalled into `Plugins/`. Those directories are included in the `.gitignore` of this repo so plugins installed via composer\nare not being tracked by git.\n\nIn case you need some project specific plugins that you don't want to add to your project via composer but track them using\nthis repository, then you can add them to the `custom/project` directory. Only plugins using the new plugin style are\nsupported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopware5%2Fcomposer-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshopware5%2Fcomposer-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopware5%2Fcomposer-project/lists"}