elm-symfony-bridge weekly downloads statistics
By mdevlamynck · npm · Webpack plugins
Webpack plugin exposing symfony's translations and routing to elm.
elm-symfony-bridge has 31 recorded weekly downloads on npm, a decrease of 70.5% over the past 30 days.
About elm-symfony-bridge
elm-symfony-bridge
Webpack plugin exposing symfony's translations and routing to elm.
Table of content
Quick Start
Translations are exposed using the Trans.<domain> module like following:
import Trans.Messages as Messages
import Trans.Security as Security
displayStuff : Html msg
displayStuff =
div [] [ text Messages.alert_awesome_plugin ]
div [] [ text Security.global_must_have ]
The routing is exposed using the Routing module like following:
import Http
import Routing
makeHttpCall : Cmd msg
makeHttpCall =
Http.get
{ url = Routing.app_get_this_plugin
, expect = Http.expectString MsgGetThisPlugin
}
Installation
You can install the webpack plugin with npm or with yarn:
# NPM
npm install elm-symfony-bridge --save-dev
# Yarn
yarn add elm-symfony-bridge --dev
And you're all done!
Configuration
Add the loader before elm-webpack-loader in your webpack configuration :
{
test: /\.elm$/,
exclude: [/elm-stuff/, /node_modules/],
use: [
{
loader: 'elm-symfony-bridge',
options: {
dev: !Encore.isProduction(), // Required: use symfony's env=dev or env=prod
outputFolder: './elm-stuff/generated-code/elm-symfony-bridge'
// Optional: set the folder where to put intermediate build artifacts, defaults to './elm-stuff/generated-code/elm-symfony-bridge'
projectRoot: './', // Optional: root folder of your symfony project, defaults to './'
elmRoot: './assets/elm', // Optional: root folder of your elm code, defaults to './assets/elm'
elmVersion: '0.19', // Optional: elm version the generated code should be compatible with, defaults to '0.19', available '0.19' and '0.18'
enableRouting: true, // Optional: enable generating routes, defaults to true
urlPrefix: '/index.php', // Optional: when dev is true, which prefix to use when generating urls, defaults to '/index.php' (symfony >= 4 uses '/index.php', symfony < 4 '/app_dev.php')
enableTranslations: true, // Optional: enable generating translations, defaults to true
lang: 'en', // Optional: lang to use when exporting translations, defaults to 'en'
envVariables: { // Optional: variables to replace during compile time, will also read env vars
'%variable%': 'ENV_VAR'
},
}
},
{
loader: 'elm-webpack-loader',
options: {
pathToElm: 'node_modules/.bin/elm',
debug: !Encore.isProduction(),
optimize: Encore.isProduction()
}
}
]
})
Usage
See Usage.
Versioning
elm-symfony-bridge follows semantic versioning. In short the scheme is MAJOR.MINOR.PATCH where
- MAJOR is bumped when there is a breaking change,
- MINOR is bumped when a new feature is added in a backward-compatible way,
- PATCH is bumped when a bug is fixed in a backward-compatible way.
Versions bellow 1.0.0 are considered experimental and breaking changes may occur at any time.
Contributing
Contributions are welcomed! There are many ways to contribute, and we appreciate all of them. Here are some of the major ones:
- Bug Reports: 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!
- Feature Request: 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.
- Pull Request: Want to contribute code or documentation? We'd love that! If you need help to get started, GitHub as documentation on pull requests. We use the "fork and pull model" were contributors push changes to their personnal fork and then create pull requests to the main repository. Please make your pull requests against the
masterbranch.
As a reminder, all contributors are expected to follow our Code of Conduct.
Hacking
See the README at the root of the project for usefull information when hacking on this project.
License
elm-symfony-bridge is distributed under the terms of the MIT license.
See LICENSE for details.
Description from the npm listing.
- elm
- symfony
- bridge
- tools
- webpack
- plugin
- webpack-plugin
- translation
- routing
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (544)Similar npm Webpack plugins plugins
All 20 elm-symfony-bridge alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/elm-symfony-bridge. First seen Oct 16, 2026; last successful collection Oct 22, 2026. See the methodology.