{"id":21202614,"url":"https://github.com/cundd/cunddassetic","last_synced_at":"2025-07-10T06:33:08.229Z","repository":{"id":5962758,"uuid":"7184130","full_name":"cundd/CunddAssetic","owner":"cundd","description":"Assetic for TYPO3 CMS","archived":false,"fork":false,"pushed_at":"2025-07-02T11:46:42.000Z","size":2154,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-02T12:42:56.761Z","etag":null,"topics":["assetic","assets","css-preprocessor","cundd-assetic","filter","php","typo3","typo3-cms"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/cundd.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-12-15T21:25:48.000Z","updated_at":"2025-07-02T11:43:11.000Z","dependencies_parsed_at":"2024-03-07T14:46:06.991Z","dependency_job_id":"95aa8114-2883-4e38-a1d4-a4f2d89adbc1","html_url":"https://github.com/cundd/CunddAssetic","commit_stats":{"total_commits":320,"total_committers":5,"mean_commits":64.0,"dds":"0.48124999999999996","last_synced_commit":"ec9f75bac330b4beaff0815285182a0196174a02"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/cundd/CunddAssetic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cundd%2FCunddAssetic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cundd%2FCunddAssetic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cundd%2FCunddAssetic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cundd%2FCunddAssetic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cundd","download_url":"https://codeload.github.com/cundd/CunddAssetic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cundd%2FCunddAssetic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264538585,"owners_count":23624436,"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":["assetic","assets","css-preprocessor","cundd-assetic","filter","php","typo3","typo3-cms"],"created_at":"2024-11-20T20:17:24.760Z","updated_at":"2025-07-10T06:33:08.211Z","avatar_url":"https://github.com/cundd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cundd Assetic\n\nIntegrate the [Assetic asset management framework](https://github.com/assetic-php/assetic) into your TYPO3 CMS installation.\n\n## Installation\n\n1. `composer require cundd/assetic`\n2. Include the static TypoScript files\n3. Configure the assets you want to be loaded\n\n## Usage\n\n### Basic\n\n    plugin.CunddAssetic {\n        stylesheets {\n            custom_identifier_for_the_asset = fileadmin/stylesheets/style.css\n        }\n    }\n\n### Multiple assets\n\n    plugin.CunddAssetic {\n        stylesheets {\n            identifier_for_asset_1 = fileadmin/stylesheets/reset.css\n            identifier_for_asset_2 = fileadmin/stylesheets/style.css\n        }\n    }\n\n### With SASS\n\nIf your web server and web user are configured to be able to use the `sass` command line tool, from within your TYPO3 installation, you could use the following:\n\n    plugin.CunddAssetic {\n        stylesheets {\n            custom_identifier_for_the_asset = fileadmin/bootstrap/lib/bootstrap.scss\n        }\n    }\n\n### With other CSS preprocessors\n\nAnalog you can use other CSS preprocessors. The [Assetic Github Page](https://github.com/assetic-php/assetic?tab=readme-ov-file#filters) provides a (incomplete) list of all filters provided with the installed Assetic version.\n\n## Development mode\n\nTo make sure that the assets are compiled each time the frontend page is refreshed, you can enable the development mode:\n\n    plugin.CunddAssetic {\n    \tdevelopment = 1\n    }\n\nBy default Cundd Assetic is configured not to compile files if NO backend user is logged in. To allow file compilation without a logged in backend user you can change the `allow_compile_without_login` configuration, in TypoScript or the Constant editor.\n\n    plugin.CunddAssetic {\n        allow_compile_without_login = 1\n    }\n\n## Advanced\n\n### Configure a filter\n\nSome filters allow futher customization. The Sass filter e.g. provides the method `addImportPath` which enables you to add another path to look for imported scss files. Cundd Assetic provides an interface to invoke such functions through TypoScript.\n\n    plugin.CunddAssetic.stylesheets.custom_identifier_for_the_asset {\n        ### Add functions that will be called on the filter\n        functions {\n            addImportPath = fileadmin/local/sass/\n        }\n    }\n\nIf you want to invoke a method multiple times you can just add a numeric prefix to the function name:\n\n    plugin.CunddAssetic.stylesheets.custom_identifier_for_the_asset {\n        functions {\n            # Add a numeric prefix to allow the function to called multiple times\n            0-addImportPath = fileadmin/local/sass/\n            1-addImportPath = fileadmin/core/sass/\n        }\n    }\n\n### Configure the filter binary paths\n\nIn some cases you may have to specify the path to a CSS preprocessor to match your system's configuration. This can be done through the `filter_binaries` directive in TypoScript:\n\n    plugin.CunddAssetic {\n        filter_binaries {\n        \t# Change the path to the filter binaries. I.e. if node.js is installed\n        \t# into /usr/local/bin/\n    \t\tassetic_filter_lessfilter = /usr/local/bin/node\n\n    \t\t# The binary for filter class \\Assetic\\Filter\\Sass\\ScssFilter\n    \t\tassetic_filter_sass_scssfilter = /usr/local/bin/sass\n        }\n    }\n\n## Command line\n\nAssetic provides three different CLI commands.\n\n### assetic:run\n\nCompiles the assets and exit.\n\n```bash\nvendor/bin/typo3 assetic:run\n```\n\n### assetic:watch\n\nWatches for file changes in fileadmin/ and re-compiles the assets if needed.\n\n```bash\nvendor/bin/typo3 assetic:watch\n```\n\n### assetic:livereload\n\nStarts a [LiveReload](http://livereload.com/) compatible server that watches for file changes in fileadmin/ and re-compiles the assets if needed. The TypoScript constant `module.tx_assetic.settings.livereload.add_javascript` should be set to 1.\n\n```bash\nvendor/bin/typo3 assetic:livereload\n```\n\n## Additional tools\n\n### Standalone auto-refresh tool\n\nCundd Assetic provides a JavaScript that observes the CSS and JavaScript assets on the page for changes and automatically reloads them. For more information and usage visit [/Resources/Public/JavaScript](/Resources/Public/JavaScript).\n\n## Sponsored by\n\n[![](https://www.iresults.li/github-logo.png)](http://www.iresults.li)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcundd%2Fcunddassetic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcundd%2Fcunddassetic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcundd%2Fcunddassetic/lists"}