2017 © Pedro Peláez
 

symfony-bundle midatabundle

This is a bundle for the symfony framework and contains midata bindings and a personal mailing service

image

pfadizytturm/midatabundle

This is a bundle for the symfony framework and contains midata bindings and a personal mailing service

  • Sunday, July 29, 2018
  • by Tschet
  • Repository
  • 1 Watchers
  • 0 Stars
  • 36 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 260 % Grown

The README.md

Installation

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:, (*1)

$ composer require pfadizytturm/midatabundle

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*2)

$ composer require pfadizytturm/midatabundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*3)

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:, (*4)

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new PfadiZytturm\MidataBundle\PfadiZytturmMidataBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Enable the routes

This bundle comes with a /mail route. Set the prefix as you whish., (*5)

Midata:
    resource: "@PfadiZytturmMidataBundle/Resources/config/routing.yml"
    prefix:   <your prefix>

Step 4: Configuration

The bundle needs some configuration in your app/config/config.yml, (*6)

pfadi_zytturm_midata:
    mail:
        mail_domain: # set this to a domain, if you want to enforce your mails to come from <nickname>@your-domain.ch
        logger: # if you want to use the mailing, you need to specify a mailing service
                # this service must have a public method:
                # sendMail(string $content, string $subject, array $receivers,
                #    array [$sende_mail => $sender_name], string $attachement]
        mailer: # if you want to use the logger, you need to specify a logger service
                # this service must have a public method:
                # log(string $message)
        done_view: # set this if you want to set a custom view after the mail has been sent
        key_mapping: # you can overwrite the default set of mappings from the midata keys to the keys displayed for the
                     # mail replacement
    midata:
        user: # (required) user for the login to midata
        password: # (required) password for the login to midata
        groupId: # (required) set the main group id.
        role_mapping: # change this to overwrite the default midata group to symfony role mapping when you use the login 
                      # mechanism
        cache:
            ttl: # change this to change the TTL of the cached midata values 

The Versions

29/07 2018

dev-master

9999999-dev

This is a bundle for the symfony framework and contains midata bindings and a personal mailing service

  Sources   Download

MIT

The Requires

 

by Jan Müller v/o Tschet

scout midata pbs pfadi

27/04 2018

1.0.4

1.0.4.0

This is a bundle for the symfony framework and contains midata bindings and a personal mailing service

  Sources   Download

MIT

The Requires

 

by Jan Müller v/o Tschet

scout midata pbs pfadi

07/04 2018

1.0.3

1.0.3.0

This is a bundle for the symfony framework and contains midata bindings and a personal mailing service

  Sources   Download

MIT

The Requires

 

by Jan Müller v/o Tschet

scout midata pbs pfadi

06/02 2018

1.0.2

1.0.2.0

This is a bundle for the symfony framework and contains midata bindings and a personal mailing service

  Sources   Download

MIT

The Requires

 

by Jan Müller v/o Tschet

scout midata pbs pfadi

17/01 2018

1.0.0

1.0.0.0

This is a bundle for the symfony framework and contains midata bindings and a personal mailing service

  Sources   Download

MIT

The Requires

 

by Jan Müller v/o Tschet

scout midata pbs pfadi

17/01 2018

1.0.1

1.0.1.0

This is a bundle for the symfony framework and contains midata bindings and a personal mailing service

  Sources   Download

MIT

The Requires

 

by Jan Müller v/o Tschet

scout midata pbs pfadi