kaurava / parallax-bundle
Bundle for Parallax Effect
Installs: 177
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Open Issues: 0
Language:HTML
Type:symfony-bundle
pkg:composer/kaurava/parallax-bundle
Requires
- php: >=5.3.0
- doctrine/orm: ~2.3
- oneup/uploader-bundle: ~1.3
- sensio/framework-extra-bundle: ~2.3|~3.0
- symfony/config: ~2.3
- symfony/dependency-injection: ~2.3
- symfony/doctrine-bridge: ~2.3
- symfony/form: ~2.3
- symfony/framework-bundle: ~2.3
- symfony/http-foundation: ~2.3
- symfony/http-kernel: ~2.3
- symfony/routing: ~2.3
- symfony/yaml: ~2.3
- twig/twig: ~1.0
This package is not auto-updated.
Last update: 2015-11-04 17:47:46 UTC
README
Installation
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:
$ composer "kaurava/parallax-bundle": "dev-master"
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding the following lines in the app/AppKernel.php
file of your project:
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Kaurava\ParallaxBundle\ParallaxBundle(),
            new Oneup\UploaderBundle\OneupUploaderBundle(),
        );
        // ...
    }
    // ...
}
Step 3: Configure the bundle
Add the following lines to your config.yml file
# app/config/config.yml
oneup_uploader:
    mappings:
        gallery:
            frontend: dropzone # or any uploader you use in the frontend
To enable the dynamic routes, add the following to your routing configuration file.
#  app/config/routing.yml
parallax:
    resource: "@ParallaxBundle/Resources/config/routing.yml"
    prefix:   /parallax
oneup_uploader:
    resource: .
    type: uploader
Update yout database schema with
php app/console doctrine:schema:update --force
Then go to the /parallax route of your main route proyect