Skip to content

Common functionality for many symfony projects

Notifications You must be signed in to change notification settings

keylightberlin/util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeship Status for keylightberlin/util

Installation

Add the following part to you composer.json:

    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/keylightberlin/util.git"
        }
    ]

Then, add the bundle to your requirements section in composer.json:

        "keylightberlin/util": "dev-master"

Now initialize the bundle by adding it to your AppKernel.php:

public function registerBundles()
    {
        $bundles = array(
            ...
            new KeylightUtilBundle\KeylightUtilBundle(),
            ...
        );
        
        ...
    }

Basic usage

You can configure the following options in config.yml

keylight_util: email: sender_address: ~ aws: s3_access_key_id: ~ s3_secret_access_key: ~ s3_bucket: ~ s3_base_path: ~ cloudfront_endpoint: ~

Entity traits

Emails

EntityManager

Twig extensions

Dependencies

Asset handler use awesome tool pdf2htmlEX (https://github.com/coolwanglu/pdf2htmlEX) to render an html file out of pdf.