{"id":14984090,"url":"https://github.com/incenteev/hashed-asset-bundle","last_synced_at":"2026-02-14T01:13:27.147Z","repository":{"id":17597872,"uuid":"82313013","full_name":"Incenteev/hashed-asset-bundle","owner":"Incenteev","description":"Apply an asset version based on a hash of the asset for symfony/asset","archived":false,"fork":false,"pushed_at":"2025-11-26T16:20:15.000Z","size":63,"stargazers_count":25,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-27T17:10:45.774Z","etag":null,"topics":["assets","bundle","cache-busting","hacktoberfest","php","symfony","symfony-bundle"],"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/Incenteev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-02-17T15:56:20.000Z","updated_at":"2025-11-26T16:18:13.000Z","dependencies_parsed_at":"2024-01-16T16:43:31.522Z","dependency_job_id":null,"html_url":"https://github.com/Incenteev/hashed-asset-bundle","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":0.07894736842105265,"last_synced_commit":"17f5bd39b48c407361ed30df21c0d5d40ffb2e1b"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Incenteev/hashed-asset-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Incenteev%2Fhashed-asset-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Incenteev%2Fhashed-asset-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Incenteev%2Fhashed-asset-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Incenteev%2Fhashed-asset-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Incenteev","download_url":"https://codeload.github.com/Incenteev/hashed-asset-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Incenteev%2Fhashed-asset-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27678892,"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-12-12T02:00:06.775Z","response_time":129,"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":["assets","bundle","cache-busting","hacktoberfest","php","symfony","symfony-bundle"],"created_at":"2024-09-24T14:08:25.767Z","updated_at":"2025-12-12T07:32:46.192Z","avatar_url":"https://github.com/Incenteev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"HashedAssetBundle\n=================\n\nThe HashedAssetBundle provides an asset version strategy which uses a hash\nof the file content as asset version. This allows bumping the asset version\nseparately for each asset (automatically).\n\n[![CI](https://github.com/Incenteev/hashed-asset-bundle/actions/workflows/ci.yml/badge.svg)](https://github.com/Incenteev/hashed-asset-bundle/actions/workflows/ci.yml) [![Total Downloads](https://poser.pugx.org/incenteev/hashed-asset-bundle/downloads.svg)](https://packagist.org/packages/incenteev/hashed-asset-bundle) [![Latest Stable Version](https://poser.pugx.org/incenteev/hashed-asset-bundle/v/stable.svg)](https://packagist.org/packages/incenteev/hashed-asset-bundle)\n\n## Installation\n\nUse [Composer](https://getcomposer.org) to install the bundle:\n\n```bash\n$ composer require incenteev/hashed-asset-bundle\n```\n\n## Usage\n\nRegister the bundle in the kernel:\n\n```php\n// app/AppKernel.php\n\n// ...\n\nclass AppKernel extends Kernel {\n    public function registerBundles()\n    {\n        $bundles = array(\n            // ...\n            new Incenteev\\HashedAssetBundle\\IncenteevHashedAssetBundle(),\n        );\n    }\n}\n```\n\nThen configure FrameworkBundle to use the new version strategy:\n\n```yaml\nframework:\n    assets:\n        version_strategy: incenteev_hashed_asset.strategy\n```\n\n## Advanced configuration\n\nThe default configuration should fit common needs, but the bundle exposes\na few configuration settings in case you need them:\n\n```yaml\nincenteev_hashed_asset:\n    # Absolute path to the folder in which assets can be found\n    # Note: in case you apply a base_path in your asset package, it is not\n    # yet applied to the string received by the bundle\n    web_root: '%kernel.project_dir%/web'\n    # Format used to apply the version. This is equivalent to the\n    # `framework \u003e assets \u003e version_format` of the static version strategy\n    # of FrameworkBundle.\n    version_format: '%%s?%%s'\n```\n\n## License\n\nThis bundle is under the [MIT license](LICENSE).\n\n## Alternative projects\n\nIf you want to apply cache busting by renaming files in your asset pipeline\n(for instance with the webpack-encore versioning feature), have a look at the\n`json_manifest` strategy available in Symfony itself.\n\n## Reporting an issue or a feature request\n\nIssues and feature requests are tracked in the [Github issue tracker](https://github.com/Incenteev/hashed-asset-bundle/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fincenteev%2Fhashed-asset-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fincenteev%2Fhashed-asset-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fincenteev%2Fhashed-asset-bundle/lists"}