{"id":14976505,"url":"https://github.com/mdevlamynck/elm-symfony-bridge","last_synced_at":"2026-01-05T01:31:51.819Z","repository":{"id":43337554,"uuid":"125764678","full_name":"mdevlamynck/elm-symfony-bridge","owner":"mdevlamynck","description":"Webpack and Vite plugin exposing symfony's translations and routing to elm.","archived":false,"fork":false,"pushed_at":"2024-09-12T15:15:23.000Z","size":1568,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T08:07:04.333Z","etag":null,"topics":["bridge","elm","plugin","routing","symfony","tools","translation","vite","vite-plugin","webpack","webpack-plugin"],"latest_commit_sha":null,"homepage":"","language":"Elm","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/mdevlamynck.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2018-03-18T20:27:27.000Z","updated_at":"2024-09-11T13:36:30.000Z","dependencies_parsed_at":"2023-12-06T12:32:56.375Z","dependency_job_id":"f17a6c89-7b8a-4d00-9848-1c74558180d7","html_url":"https://github.com/mdevlamynck/elm-symfony-bridge","commit_stats":{"total_commits":131,"total_committers":8,"mean_commits":16.375,"dds":0.549618320610687,"last_synced_commit":"f613ab17b724ca6e19a248c45f0b1716ce6aee31"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdevlamynck%2Felm-symfony-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdevlamynck%2Felm-symfony-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdevlamynck%2Felm-symfony-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdevlamynck%2Felm-symfony-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdevlamynck","download_url":"https://codeload.github.com/mdevlamynck/elm-symfony-bridge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238553304,"owners_count":19491405,"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":["bridge","elm","plugin","routing","symfony","tools","translation","vite","vite-plugin","webpack","webpack-plugin"],"created_at":"2024-09-24T13:53:59.612Z","updated_at":"2025-10-27T20:32:08.070Z","avatar_url":"https://github.com/mdevlamynck.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elm-symfony-bridge\n\n[![Build Status](https://github.com/mdevlamynck/elm-symfony-bridge/actions/workflows/ci.yml/badge.svg)](https://github.com/mdevlamynck/elm-symfony-bridge/actions)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/mdevlamynck/elm-symfony-bridge/issues)\n[![webpack plugin](https://img.shields.io/npm/v/elm-symfony-bridge?label=webpack%20plugin\u0026logo=webpack%20plugin)](https://www.npmjs.com/package/elm-symfony-bridge)\n[![vite plugin](https://img.shields.io/npm/v/vite-plugin-elm-symfony-bridge?label=vite%20plugin\u0026logo=vite%20plugin)](https://www.npmjs.com/package/vite-plugin-elm-symfony-bridge)\n\nWebpack and Vite plugin exposing Symfony's translations and routing to Elm.\nThe translations are available through the `Trans.\u003cdomain\u003e` Elm module and the routing is available through the `Routing` Elm module.\n\nFor more information see [Webpack](webpack/README.md) or [Vite](vite/README.md) specific documentation.\n\n## Table of content\n\n* [Quick start](#quick-start)\n* [Webpack](webpack/README.md)\n    - [Installation](webpack/README.md#Installation)\n    - [Configuration](webpack/README.md#Configuration)\n* [Vite](vite/README.md)\n    - [Installation](vite/README.md#Installation)\n    - [Configuration](vite/README.md#Configuration)\n* [Usage](doc/Usage.md)\n* [Versioning](#versioning)\n* [Contributing](#contributing)\n* [Hacking](#Hacking)\n* [License](#License)\n\n## Quick Start\n\nTranslations are exposed using the `Trans.\u003cdomain\u003e` module like following:\n\n```elm\nimport Trans.Messages as Messages\nimport Trans.Security as Security\n\ndisplayStuff : Html msg\ndisplayStuff =\n    div [] [ text Messages.alert_awesome_plugin ]\n    div [] [ text Security.global_must_have ]\n```\n\nThe routing is exposed using the `Routing` module like following:\n\n```elm\nimport Http\nimport Routing\n\nmakeHttpCall : Cmd msg\nmakeHttpCall =\n    Http.get\n        { url = Routing.app_get_this_plugin\n        , expect = Http.expectString MsgGetThisPlugin\n        }\n```\n\n## Usage\n\nSee [Usage](doc/Usage.md).\n\n## Versioning\n\nelm-symfony-bridge follows [semantic versioning](https://semver.org/). In short the scheme is MAJOR.MINOR.PATCH where\n1. MAJOR is bumped when there is a breaking change,\n2. MINOR is bumped when a new feature is added in a backward-compatible way,\n3. PATCH is bumped when a bug is fixed in a backward-compatible way.\n\nVersions bellow 1.0.0 are considered experimental and breaking changes may occur at any time.\n\n## Contributing\n\nContributions are welcomed! There are many ways to contribute, and we appreciate all of them. Here are some of the major ones:\n\n* [Bug Reports](https://github.com/mdevlamynck/elm-symfony-bridge/issues): While we strive for quality software, bugs can happen and we can't fix issues we're not aware of. So please report even if you're not sure about it or just want to ask a question. If anything the issue might indicate that the documentation can still be improved!\n* [Feature Request](https://github.com/mdevlamynck/elm-symfony-bridge/issues): You have a use case not covered by the current api? Want to suggest a change or add something? We'd be glad to read about it and start a discussion to try to find the best possible solution.\n* [Pull Request](https://github.com/mdevlamynck/elm-symfony-bridge/pulls): Want to contribute code or documentation? We'd love that! If you need help to get started, GitHub as [documentation](https://help.github.com/articles/about-pull-requests/) on pull requests. We use the [\"fork and pull model\"](https://help.github.com/articles/about-collaborative-development-models/) were contributors push changes to their personnal fork and then create pull requests to the main repository. Please make your pull requests against the `master` branch.\n\nAs a reminder, all contributors are expected to follow our [Code of Conduct](CODE_OF_CONDUCT.md).\n\n## Hacking\n\nThe sources are organized in 3 main folders:\n\n* `/lib` contains the common js and elm code: `src` for the sources and `tests` for the elm tests.\n* `/webpack` contains all the specifics for the webpack plugin.\n* `/vite` contains all the specifics for the vite plugin.\n\nThis project uses the following tools for development:\n\n* [yarn](https://yarnpkg.com/)\n* [elm](https://elm-lang.org/)\n* [elm-test](https://github.com/rtfeldman/node-test-runner)\n* [elm-verify-examples](https://github.com/stoeffel/elm-verify-examples)\n\nYou'll find the following commands useful when hacking on this project:\n\n```bash\n# install dependencies for the whole workspace\nyarn install\n\n# build the common lib and all plugins\nyarn build-all\n\n# build the common lib and a specific plugin\nyarn build-vite    # for vite plugin\nyarn build-webpack # for webpack plugin\n\n# you can now use the yarn link feature or\n# yarn install the .tgz generated in the plugin folder\n```\n\n## License\n\nelm-symfony-bridge is distributed under the terms of the MIT license.\n\nSee [LICENSE](LICENSE.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdevlamynck%2Felm-symfony-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdevlamynck%2Felm-symfony-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdevlamynck%2Felm-symfony-bridge/lists"}