{"id":13757249,"url":"https://github.com/RWOverdijk/AssetManager","last_synced_at":"2025-05-10T05:31:53.726Z","repository":{"id":4271855,"uuid":"5399788","full_name":"RWOverdijk/AssetManager","owner":"RWOverdijk","description":"AssetManager written for zf2. Managing assets for zend framework 2","archived":false,"fork":false,"pushed_at":"2024-07-10T12:39:40.000Z","size":563,"stargazers_count":210,"open_issues_count":18,"forks_count":82,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-04-08T09:06:24.751Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RWOverdijk.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}},"created_at":"2012-08-13T14:12:13.000Z","updated_at":"2025-03-15T20:58:28.000Z","dependencies_parsed_at":"2022-08-06T16:00:16.003Z","dependency_job_id":"fb8fd8a6-878d-42de-8205-e4ecf4a15902","html_url":"https://github.com/RWOverdijk/AssetManager","commit_stats":{"total_commits":409,"total_committers":37,"mean_commits":"11.054054054054054","dds":0.7530562347188264,"last_synced_commit":"32f3dd1da60d81c1564f781c9fc590e0bfad432f"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RWOverdijk%2FAssetManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RWOverdijk%2FAssetManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RWOverdijk%2FAssetManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RWOverdijk%2FAssetManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RWOverdijk","download_url":"https://codeload.github.com/RWOverdijk/AssetManager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253371072,"owners_count":21897998,"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":[],"created_at":"2024-08-03T12:00:30.558Z","updated_at":"2025-05-10T05:31:53.454Z","avatar_url":"https://github.com/RWOverdijk.png","language":"PHP","readme":"# AssetManager\nBy [Wesley Overdijk](https://spoonx.studio/) and [Marco Pivetta](http://ocramius.github.com/)\n\n[![Build Status](https://secure.travis-ci.org/RWOverdijk/AssetManager.png?branch=master)](http://travis-ci.org/RWOverdijk/AssetManager)\n[![Latest Stable Version](https://poser.pugx.org/RWOverdijk/AssetManager/v/stable.png)](https://packagist.org/packages/RWOverdijk/AssetManager)\n\n## ⚠️ No longer maintained\n\nEvery now and then a PR might be merged, but it's probably for the best to use a fork.\n\nPRs without enough reputable approvals will not be merged.\n\n## Introduction\nThis module is intended for usage with a default directory structure of a\n[LaminasSkeletonApplication](https://github.com/laminas/laminas-mvc-skeleton/). It provides functionality to load\nassets and static files from your module directories through simple configuration.\nThis allows you to avoid having to copy your files over to the `public/` directory, and makes usage of assets very\nsimilar to what already is possible with view scripts, which can be overridden by other modules.\nIn a nutshell, this module allows you to package assets with your module working *out of the box*.\n\n## Installation\n\n 1.  Require assetmanager:\n\n```sh\n./composer.phar require rwoverdijk/assetmanager\n# When asked for a version, type \"2.*\" when using Laminas. When using Zend Framework type \"1.*\"\n```\n\n## Usage\n\nTake a look at the **[wiki](https://github.com/RWOverdijk/AssetManager/wiki)** for a quick start and more information.\nA lot, if not all of the topics, have been covered in-dept there.\n\n**Sample module config:**\n\n```php\n\u003c?php\nreturn array(\n    'asset_manager' =\u003e array(\n        'resolver_configs' =\u003e array(\n            'collections' =\u003e array(\n                'js/d.js' =\u003e array(\n                    'js/a.js',\n                    'js/b.js',\n                    'js/c.js',\n                ),\n            ),\n            'paths' =\u003e array(\n                __DIR__ . '/some/particular/directory',\n            ),\n            'map' =\u003e array(\n                'specific-path.css' =\u003e __DIR__ . '/some/particular/file.css',\n            ),\n        ),\n        'filters' =\u003e array(\n            'js/d.js' =\u003e array(\n                array(\n                    // Note: You will need to require the classes used for the filters yourself.\n                    'filter' =\u003e 'JSMin',\n                ),\n            ),\n        ),\n        'view_helper' =\u003e array(\n            'cache'            =\u003e 'Application\\Cache\\Redis', // You will need to require the factory used for the cache yourself.\n            'append_timestamp' =\u003e true,                      // optional, if false never append a query param\n            'query_string'     =\u003e '_',                       // optional\n        ),\n        'caching' =\u003e array(\n            'js/d.js' =\u003e array(\n                'cache'     =\u003e 'Apc',\n            ),\n        ),\n    ),\n);\n```\n\n*Please be careful, since this module will serve every file as-is, including PHP code.*\n\n## Questions / support\nIf you're having trouble with the asset manager there are a couple of resources that might be of help.\n* Join us on gitter [![Gitter chat](https://badges.gitter.im/SpoonX/Dev.png)](https://gitter.im/SpoonX/Dev)\n* The [FAQ wiki page](https://github.com/RWOverdijk/AssetManager/wiki/FAQ), where you'll perhaps find your answer.\n* [RWOverdijk at irc.freenode.net #zftalk.dev or #spoonx](http://webchat.freenode.net/?channels=zftalk.dev%2Czftalk%2Cspoonx\u0026uio=MTE9MTAz8d)\n* [Issue tracker](https://github.com/RWOverdijk/AssetManager/issues). (Please try to not submit unrelated issues).\n\n## Todo\nThe task list has been slimmed down a lot lately. However, there are still a couple of things that should be done.\n\n * Renewing the cache\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRWOverdijk%2FAssetManager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRWOverdijk%2FAssetManager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRWOverdijk%2FAssetManager/lists"}