performer / rer-user-bundle
User provider for Symfony to access Regione Emilia-Romagna
Installs: 3 426
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4
- doctrine/doctrine-bundle: ~1.2
- doctrine/orm: ~2.2,>=2.2.3
- knplabs/knp-paginator-bundle: 2.4.*
- sensio/framework-extra-bundle: >=2.3.0,<4
- symfony/symfony: ~2.3
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2021-04-20 07:40:04 UTC
README
Configurazione
Aggiungere in AppKernel.php
:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Performer\RerUserBundle\PerformerRerUserBundle(), ); }
Creare entity:
<?php // src/AppBundle/Entity/Utente.php use Doctrine\ORM\Mapping as ORM; use Performer\RerUserBundle\Entity\User; /** * @ORM\Table() * @ORM\Entity(repositoryClass="Performer\RerUserBundle\Repository\UserRepository") */ class Utente extends User { }
Aggiungere in configurazione:
# app/config/config.yml performer_rer_user: user_class: AppBundle\Entity\Utente soap: # questi due valori vanno personalizzati app_id: app_id_fornito_da_RER salt: salt_fornito_da_RER