{"id":26681297,"url":"https://github.com/slynova-org/symfony-encore","last_synced_at":"2025-04-12T12:34:53.367Z","repository":{"id":57160960,"uuid":"275109086","full_name":"Slynova-Org/symfony-encore","owner":"Slynova-Org","description":"Wrapper of Symfony Encore for AdonisJS","archived":false,"fork":false,"pushed_at":"2020-11-22T19:22:49.000Z","size":400,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T07:15:11.427Z","etag":null,"topics":["adonisjs","frontend","hacktoberfest","symfony-encore","webpack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Slynova-Org.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}},"created_at":"2020-06-26T08:30:15.000Z","updated_at":"2020-11-22T19:22:51.000Z","dependencies_parsed_at":"2022-09-09T10:21:11.240Z","dependency_job_id":null,"html_url":"https://github.com/Slynova-Org/symfony-encore","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slynova-Org%2Fsymfony-encore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slynova-Org%2Fsymfony-encore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slynova-Org%2Fsymfony-encore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slynova-Org%2Fsymfony-encore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Slynova-Org","download_url":"https://codeload.github.com/Slynova-Org/symfony-encore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248567036,"owners_count":21125771,"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":["adonisjs","frontend","hacktoberfest","symfony-encore","webpack"],"created_at":"2025-03-26T07:15:15.225Z","updated_at":"2025-04-12T12:34:53.345Z","avatar_url":"https://github.com/Slynova-Org.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AdonisJS - Symfony Encore\n\nThis package wraps [Symfony Encore](https://symfony.com/doc/current/frontend.html) to make it work seamlessly with AdonisJS.\n\n## Getting Started\n\nThis package is available in the npm registry. It can easily be installed with `npm` or `yarn`.\n\n```bash\n$ npm i @slynova/symfony-encore\n# or\n$ yarn add @slynova/symfony-encore\n```\n\nThen, you need to scaffold the package using the `node ace invoke` command.\n\n```bash\n$ node ace invoke @slynova/symfony-encore\n```\n\nDoing so will install `@symfony/webpack-encore` directly in your application, create a boilerplate configuration and setup few scripts in your `package.json` to build your assets.\n\n## How to Use\n\nAfter tweaking the configuration [according to the documentation](https://symfony.com/doc/current/frontend.html), you can use the two helpers `encoreLink` and `encoreScript` in your Edge templates.\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    {{-- Styling --}}\n    {{{ encoreLink('css/app') }}}\n\n    {{-- Scripting --}}\n    {{{ encoreScript('js/app') }}}\n  \u003c/head\u003e\n  \u003cbody\u003e\n    {{-- .... --}}\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\nThe parameter given to those helpers is the entry path you gave in your configuration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslynova-org%2Fsymfony-encore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslynova-org%2Fsymfony-encore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslynova-org%2Fsymfony-encore/lists"}