Download the PHP package sevengroupfrance/sulu-fr-gouv-map-bundle without Composer
On this page you can find all versions of the php package sevengroupfrance/sulu-fr-gouv-map-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package sulu-fr-gouv-map-bundle
sevengroupfrance/sulu-fr-gouv-map-bundle
\ Inspired by this pull request.
What is this bundle's goal?
To create a new content type adresse
which is a single text input with autocomplete. It only searches through french addresses
since it uses the data gouv API.\
The map installed in this bundle comes from React Leaflet JS.
Installation
- Download the package in your project with the following command line:\
composer require sevengroupfrance/sulu-fr-gouv-map-bundle
. - In
config/bundles.php
add the following code:\SevenGroupFrance\SuluFrGouvMapBundle\SuluFrGouvMapBundle::class => ['all' => true]
. - In
assets/admin/package.json
, add the following line in the "dependencies" object:\"sulu-fr-gouv-map-bundle": "file:node_modules/@sulu/vendor/sevengroupfrance/sulu-fr-gouv-map-bundle/src/Resources/js"
. - In
assets/admin
,npm install
to initialize the bundle's symlink directory. - In the same folder,
npm i react react-dom leaflet
and thennpm i react-leaflet
. - In
assets/admin/index.js
, add this line:\import 'sulu-fr-gouv-map-bundle'
. - In
assets/admin
,npm run watch
ornpm run build
Use in your template files
Once installed you'll have to create a new property with the type adresse
All versions of sulu-fr-gouv-map-bundle with dependencies
PHP Build Version
Package Version
No informations.
The package sevengroupfrance/sulu-fr-gouv-map-bundle contains the following files
Loading the files please wait ....