{"id":19445132,"url":"https://github.com/superreal/composer-with-oxid","last_synced_at":"2026-03-03T23:31:15.754Z","repository":{"id":17867909,"uuid":"20802375","full_name":"superReal/composer-with-oxid","owner":"superReal","description":"Helps to use composer together with OXID","archived":false,"fork":false,"pushed_at":"2014-06-13T13:49:59.000Z","size":139,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-02-19T17:06:36.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/superReal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-13T11:40:27.000Z","updated_at":"2020-05-15T14:26:21.000Z","dependencies_parsed_at":"2022-07-10T06:47:10.608Z","dependency_job_id":null,"html_url":"https://github.com/superReal/composer-with-oxid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/superReal/composer-with-oxid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superReal%2Fcomposer-with-oxid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superReal%2Fcomposer-with-oxid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superReal%2Fcomposer-with-oxid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superReal%2Fcomposer-with-oxid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/superReal","download_url":"https://codeload.github.com/superReal/composer-with-oxid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superReal%2Fcomposer-with-oxid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30065769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"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":[],"created_at":"2024-11-10T16:09:25.810Z","updated_at":"2026-03-03T23:31:15.730Z","avatar_url":"https://github.com/superReal.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Use composer dependency management with OXID\n=======\n\nIntroduction\n------------\nComposer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.\nThis guide will help you, to build manage your custom modules and themes via composer and install them to OXID.\n\nInstallation\n------------\nInstallation instructions for composer can be found [here][1]\n\n 1. Copy the example composer.json file to your project\n 2. Open your modules/functions.php file\n 3. Put the following line at the end of the file:\n```require __DIR__ . '/../vendor/autoload.php';```\n 4. Run ```composer install``` from CLI\n 5. Installation is complete.\n\nManaging custom modules via composer\n------------\n\n1. Fork the repository at https://github.com/superReal/composer-with-oxid-demo-module\n2. Modify it to your needs\n3. Adapt the composer.json file\n4. Define a dependency in your projects root composer.json file. For using private repositores refer to https://getcomposer.org/doc/05-repositories.md#using-private-repositories\n5. Run ```composer update``` to install the module\n6. Activate it in the OXID backend\n\nManaging custom themes via composer\n------------\n\n1. Fork the repository at https://github.com/superReal/composer-with-oxid-demo-theme\n2. Modify it to your needs\n3. Adapt the composer.json file\n4. Define a dependency in your projects root composer.json file. For using private repositores refer to https://getcomposer.org/doc/05-repositories.md#using-private-repositories\n5. Add the post-autoload-dump-scripts, to symlink the assets to the out/ folder automatically, after installing\n\n  ```\n  \"scripts\": {\n        \"post-autoload-dump\": [\n            \"ln -sf ../application/views/composer-with-oxid-demo-theme/skin/composer-with-oxid-demo-theme out/composer-with-oxid-demo-theme\"\n        ]\n    }\n  ```\n6. Run ```composer update``` to install the theme\n7. Activate it in the OXID backend\n\nContributing\n------------\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n[1]: https://getcomposer.org/doc/00-intro.md#installation-nix","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperreal%2Fcomposer-with-oxid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuperreal%2Fcomposer-with-oxid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperreal%2Fcomposer-with-oxid/lists"}