dev-master
9999999-devAd Manager Bundle
MIT
The Requires
- php >=5.3.2
- symfony/symfony 2.2.*
- sonata-project/media-bundle dev-master
- sonata-project/admin-bundle dev-master
by Pasinter
manager ad carousel advertising
Ad Manager Bundle
This Symfony2 bundle offers a simple interface to manage website advertising., (*1)
This version of the bundle requires Symfony 2.1+., (*2)
This library is available on Packagist., (*3)
Add the following to your composer.json
:, (*4)
"require": { ... "pasinter/admanager-bundle": "dev-master", ... }
And run ``` bash $ php composer.phar install, (*5)
Composer will install the bundle to your project's `vendor/pasinter` directory. ### Step 2: Enable the bundle Add the bundle to `app/AppKernel.php`: ``` php public function registerBundles() { return array( ... new Pasinter\AdManagerBundle\PasinterAdManagerBundle(), ... ); }
Install & configure SonataAdminBundle (https://github.com/sonata-project/SonataAdminBundle) and SonataMediaBundle (https://github.com/sonata-project/SonataMediaBundle), (*6)
bash
$ php app/console doctrine:schema:update --force
, (*7)
Login to http://app.com/app_dev.php/admin
. Under "Ad Manager" you can manage Ads and Campaigns, (*8)
An Ad has Link, Title and Image fields., (*9)
Campaigns have unique code that can be used to display them on frontend., (*10)
Ad Manager Bundle
MIT
manager ad carousel advertising