chteuchteu/mentions-legales-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Easily include french legal notice into your symfony website

v1.0.5 2016-09-09 20:22 UTC

This package is auto-updated.

Last update: 2023-05-08 04:06:49 UTC


README

This bundle provides easy integration of french legal notice page on symfony websites.

Read Quelles sont les mentions obligatoires sur un site internet ? on service-public.fr for more information.

Usage

  1. composer require chteuchteu/mentions-legales-bundle

  2. Include this anywhere you want (a new /mentions-legales route with its own twig page would be great):

    {% include '@MentionsLegales/mentions-legales.html.twig' with {
        url: absolute_url(path('homepage')),
        proprietaire: {
            raison_sociale: '',
            forme_juridique: '',
            adresse: '',
            capital_social: '',
            more: {
                'N° d\'immatriculation au répertoire des métiers': '123456789'
            }
        },
        editeur: {
            nom: '',
            statut: '',
            url: ''
        },
        responsable_publication: {
            nom: '',
            email: ''
        },
        webmaster: {
            nom: '',
            email: ''
        },
        hebergeur: {
            nom: '',
            adresse: ''
        }
    } %}