{"id":22154016,"url":"https://github.com/burdapraha/oc_version_number","last_synced_at":"2025-04-10T16:32:24.870Z","repository":{"id":62498267,"uuid":"99019986","full_name":"BurdaPraha/oc_version_number","owner":"BurdaPraha","description":"Helper function which fixing visitors browser cache issue after your changes at CSS or javascript","archived":false,"fork":false,"pushed_at":"2018-03-29T13:41:27.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T14:16:17.980Z","etag":null,"topics":["browser-cache","cache-control","czech-republic","opencart","opencart-2x","vqmod"],"latest_commit_sha":null,"homepage":"http://burda.cz","language":null,"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/BurdaPraha.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":"2017-08-01T16:07:46.000Z","updated_at":"2022-09-01T05:48:39.000Z","dependencies_parsed_at":"2022-11-02T11:46:34.838Z","dependency_job_id":null,"html_url":"https://github.com/BurdaPraha/oc_version_number","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurdaPraha%2Foc_version_number","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurdaPraha%2Foc_version_number/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurdaPraha%2Foc_version_number/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurdaPraha%2Foc_version_number/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BurdaPraha","download_url":"https://codeload.github.com/BurdaPraha/oc_version_number/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248252696,"owners_count":21072701,"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":["browser-cache","cache-control","czech-republic","opencart","opencart-2x","vqmod"],"created_at":"2024-12-02T01:39:47.753Z","updated_at":"2025-04-10T16:32:24.850Z","avatar_url":"https://github.com/BurdaPraha.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Version parameter for [OpenCart 2.x](https://github.com/opencart/opencart)\n\nHelper function which fixing visitors browser cache issue after your changes at CSS or javascript\n\n## Preview\n\n![Source code](./doc/source_code.png)\n\nYou can also use this function for your custom files (CSS / JS, images, ...) like this:\n\n```\n\u003clink href=\"\u003c?php echo versionNumber($style['href']); ?\u003e\" type=\"text/css\" rel=\"\u003c?php echo $style['rel']; ?\u003e\n```\n\n## Installation\n\n1. Requiring installed [vQmod](https://github.com/vqmod/vqmod) because vQmod doesn't support installing via composer itself.\n2. 💲 `composer require burdapraha/oc_version_number dev-master`\n3. 💲 `composer require sasedev/composer-plugin-filecopier` for files manipulating\n4. Add this code to your 🎵 composer.json project file, extra section:\n\n```\n    \"extra\": {\n        \"filescopier\": [\n            {\n                \"source\": \"vendor/burdapraha/oc_version_number/upload\",\n                \"destination\": \"upload\",\n                \"debug\": \"true\"\n            }\n        ]\n    }  \n```\n    \nIt will move vQmod xml file to correct folder.\n\n5. optionally you can add row to your `.gitignore` file with path to svg.xml (example: upload/vqmod/xml/oc_version_number.xml)\n6. celebrate! 🎉 🎉 🎉","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburdapraha%2Foc_version_number","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburdapraha%2Foc_version_number","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburdapraha%2Foc_version_number/lists"}