PHPackages                             idmarinas/advertising-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. idmarinas/advertising-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

idmarinas/advertising-bundle
============================

Show network ads in your Symfony App. Come with the Adsense Network and Generic network for add your own network.

2.2.1(1mo ago)53.3kBSD-3-ClausePHPPHP ^8.2CI passing

Since Feb 13Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/idmarinas/advertising-bundle)[ Packagist](https://packagist.org/packages/idmarinas/advertising-bundle)[ Docs](https://github.com/idmarinas/advertising-bundle)[ Fund](https://github.com/sponsors/idmarinas)[ Fund](https://www.paypal.me/idmarinas)[ RSS](/packages/idmarinas-advertising-bundle/feed)WikiDiscussions 2.x Synced 5d ago

READMEChangelog (10)Dependencies (60)Versions (23)Used By (0)

IDMarinas Advertising Bundle
============================

[](#idmarinas-advertising-bundle)

[![GitHub release](https://camo.githubusercontent.com/2d19bf48a8567e085c9b0e6087bf2dba9a798cfcad7d3d8ca35dcb3e1464785b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f69646d6172696e61732f6164766572746973696e672d62756e646c652e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/2d19bf48a8567e085c9b0e6087bf2dba9a798cfcad7d3d8ca35dcb3e1464785b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f69646d6172696e61732f6164766572746973696e672d62756e646c652e7376673f7374796c653d666f722d7468652d6261646765)[![GitHub Release Date](https://camo.githubusercontent.com/224287355c48164985d6ea10149b99fa62763dcedfcd6fcbdb1162a8e87b139b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f69646d6172696e61732f6164766572746973696e672d62756e646c652e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/224287355c48164985d6ea10149b99fa62763dcedfcd6fcbdb1162a8e87b139b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f69646d6172696e61732f6164766572746973696e672d62756e646c652e7376673f7374796c653d666f722d7468652d6261646765)

> Show network ads in your Symfony App. Come with the Adsense Network and Generic network for add your own network.

[![Test Suite](https://camo.githubusercontent.com/4de594a1c203255538800be387c49b27aa6c69a0cf2dce57b54c43588a081c88/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f69646d6172696e61732f6164766572746973696e672d62756e646c652f7068702e796d6c3f6272616e63683d322e78267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6f676f436f6c6f723d7768697465266c6162656c3d4c6f746764253230546573742532305375697465)](https://github.com/idmarinas/advertising-bundle/actions/workflows/php.yml)[![Quality Gate Status](https://camo.githubusercontent.com/0691db0620e7f401e1fa36f1666c39e9d7bbf5dcc1b32486145858e87c2c24ae/68747470733a2f2f696d672e736869656c64732e696f2f736f6e61722f7175616c6974795f676174652f69646d6172696e61735f6164766572746973696e672d62756e646c652f322e783f7365727665723d6874747073253341253246253246736f6e6172636c6f75642e696f267374796c653d666f722d7468652d6261646765266c6f676f3d736f6e6172636c6f7564266c6f676f436f6c6f723d7768697465)](https://sonarcloud.io/summary/new_code?id=idmarinas_advertising-bundle)[![Coverage](https://camo.githubusercontent.com/2ce234ddcc3ced7c730d9332e8f84e996f76d3b5f03243a9b467c279429bc4ac/68747470733a2f2f696d672e736869656c64732e696f2f736f6e61722f636f7665726167652f69646d6172696e61735f6164766572746973696e672d62756e646c652f322e783f7365727665723d6874747073253341253246253246736f6e6172636c6f75642e696f267374796c653d666f722d7468652d6261646765266c6f676f3d736f6e6172636c6f7564266c6f676f436f6c6f723d7768697465)](https://sonarcloud.io/dashboard?id=idmarinas_advertising-bundle)[![Technical Debt](https://camo.githubusercontent.com/eb31988a12ae9d11b8b9941257cdb0843d0fc04cddb0d26b9af332f49f66844c/68747470733a2f2f696d672e736869656c64732e696f2f736f6e61722f746563685f646562742f69646d6172696e61735f6164766572746973696e672d62756e646c652f322e783f7365727665723d6874747073253341253246253246736f6e6172636c6f75642e696f267374796c653d666f722d7468652d6261646765266c6f676f3d736f6e6172636c6f7564266c6f676f436f6c6f723d7768697465)](https://sonarcloud.io/dashboard?id=idmarinas_advertising-bundle)

[![Github commits (since latest release)](https://camo.githubusercontent.com/9bacfcd6743a0f4359da1cfcea131deee71ff88340d70d5bbc44a1053db1fc0a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d6974732d73696e63652f69646d6172696e61732f6164766572746973696e672d62756e646c652f6c61746573742f322e783f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/9bacfcd6743a0f4359da1cfcea131deee71ff88340d70d5bbc44a1053db1fc0a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d6974732d73696e63652f69646d6172696e61732f6164766572746973696e672d62756e646c652f6c61746573742f322e783f7374796c653d666f722d7468652d6261646765)[![GitHub commit activity](https://camo.githubusercontent.com/602f0ce22a6f75a556223b652473731057d4279e162fefc60e34d00d9dabe0a8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f772f69646d6172696e61732f6164766572746973696e672d62756e646c652f322e783f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/602f0ce22a6f75a556223b652473731057d4279e162fefc60e34d00d9dabe0a8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f772f69646d6172696e61732f6164766572746973696e672d62756e646c652f322e783f7374796c653d666f722d7468652d6261646765)[![GitHub last commit](https://camo.githubusercontent.com/a47c022c8c53b929be72c16120f93890ec31cace57c81dd16fda3f9749c4f16a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f69646d6172696e61732f6164766572746973696e672d62756e646c652f322e783f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/a47c022c8c53b929be72c16120f93890ec31cace57c81dd16fda3f9749c4f16a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f69646d6172696e61732f6164766572746973696e672d62756e646c652f322e783f7374796c653d666f722d7468652d6261646765)

#### Code analysis

[](#code-analysis)

[![Reliability Rating](https://camo.githubusercontent.com/d437ccfe9baa14fb544b1471060e89f9195a4dd992d97fbcf966ee58e38ed668/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d69646d6172696e61735f6164766572746973696e672d62756e646c65266272616e63683d322e78266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=idmarinas_advertising-bundle)[![Bugs](https://camo.githubusercontent.com/cd03bc13f58f0dba8c6463f00d9636a277e34619c63ba8abe1d41bd4136e36dd/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d69646d6172696e61735f6164766572746973696e672d62756e646c65266272616e63683d322e78266d65747269633d62756773)](https://sonarcloud.io/dashboard?id=idmarinas_advertising-bundle)[![Security Rating](https://camo.githubusercontent.com/38cf4a00079b98c897b27e42df811f84e07344841b8a7176e32f7b65c0ebe9cc/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d69646d6172696e61735f6164766572746973696e672d62756e646c65266272616e63683d322e78266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=idmarinas_advertising-bundle)[![Vulnerabilities](https://camo.githubusercontent.com/578f6930490aab8530b3597a97e6340840e888ca0076b881cda15b71ea14f7c0/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d69646d6172696e61735f6164766572746973696e672d62756e646c65266272616e63683d322e78266d65747269633d76756c6e65726162696c6974696573)](https://sonarcloud.io/dashboard?id=idmarinas_advertising-bundle)[![Maintainability Rating](https://camo.githubusercontent.com/fcdcce673c8ab62ac0c4f986070343cd05f0463ea13bee85fe9034b029b7f1ff/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d69646d6172696e61735f6164766572746973696e672d62756e646c65266272616e63683d322e78266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/dashboard?id=idmarinas_advertising-bundle)[![Code Smells](https://camo.githubusercontent.com/2700659a8d51b7ac522128e7f0d5908abc37e8a52e55e3adc64f34b4cb79041d/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d69646d6172696e61735f6164766572746973696e672d62756e646c65266272616e63683d322e78266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/dashboard?id=idmarinas_advertising-bundle)[![Duplicated Lines (%)](https://camo.githubusercontent.com/7982437e1d28fdbe85b203446d779511d7644d11e3b22615facd1d378b4e5f78/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d69646d6172696e61735f6164766572746973696e672d62756e646c65266272616e63683d322e78266d65747269633d6475706c6963617465645f6c696e65735f64656e73697479)](https://sonarcloud.io/dashboard?id=idmarinas_advertising-bundle)

> ## 🖖 Support
>
> [](#-support)
>
> 🩵 If you like this project, give it a 🌟 and share it with your friends!
>
> [![PayPal.Me - The safer, easier way to pay online!](https://camo.githubusercontent.com/d2e370ccd0eb7753d9dfe5cb325feb0cd7fa21732e60c1aadcd2234632d53ac3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d68656c705f6d795f70726f6a656374732d6666616132392e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d70617970616c2663616368655365636f6e64733d3836343030)](https://www.paypal.me/idmarinas)[![Liberapay - Donate](https://camo.githubusercontent.com/5fce3cf49749086af57e10ed30295a36809231cd15da5558efb24411651edd7e/68747470733a2f2f696d672e736869656c64732e696f2f6c69626572617061792f72656365697665732f49444d6172696e61732e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d6c69626572617061792663616368655365636f6e64733d3836343030)](https://liberapay.com/IDMarinas/donate)[![GitHub Sponsor](https://camo.githubusercontent.com/0a426232f312932729da79168b32bddc4dde752877cd5f0984f8904a3eebdc13/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53706f6e736f722d6561346161613f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6f676f436f6c6f723d7768697465)](https://github.com/sponsors/idmarinas)

💾 Installation
==============

[](#-installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

💪 Applications that use Symfony Flex
------------------------------------

[](#-applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require idmarinas/advertising-bundle
```

🚫 Applications that don't use Symfony Flex
------------------------------------------

[](#-applications-that-dont-use-symfony-flex)

### Step 1️⃣: Download the Bundle

[](#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 require idmarinas/advertising-bundle
```

### Step 2️⃣: Enable the Bundle

[](#step-2️⃣-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Idm\Bundle\Advertising\IdmAdvertisingBundle::class => ['all' => true],
];
```

🖱️ Tech used in code
--------------------

[](#️-tech-used-in-code)

[![GitHub code size in bytes](https://camo.githubusercontent.com/09e99e7808c67e3ab1dc4945c62953996a12fc46a4945b5726f6f5eb813b8a6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f69646d6172696e61732f6164766572746973696e672d62756e646c652e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/09e99e7808c67e3ab1dc4945c62953996a12fc46a4945b5726f6f5eb813b8a6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f69646d6172696e61732f6164766572746973696e672d62756e646c652e7376673f7374796c653d666f722d7468652d6261646765)[![PHP](https://camo.githubusercontent.com/bbeaca4ecdd74d3fde840f711ebb8a5def2ff801187623f9bc365761b3b66f86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2532333737374242342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://www.php.net)[![Symfony](https://camo.githubusercontent.com/8439cfdb4b18445c21325e95d2ac4bd8c43e66104d698f4f17d671725254440e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d626c61636b2e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d73796d666f6e79266c6f676f436f6c6f723d7768697465)](https://www.symfony.com)

🛠️ Tools used for create this project
-------------------------------------

[](#️-tools-used-for-create-this-project)

[![Dependabot](https://camo.githubusercontent.com/295fa8fe26869215aa836584c0aea81eefe3384fdf9a71103d23f84b21829104/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e6461626f742d3032354538433f7374796c653d666f722d7468652d6261646765266c6f676f3d646570656e6461626f74266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/295fa8fe26869215aa836584c0aea81eefe3384fdf9a71103d23f84b21829104/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e6461626f742d3032354538433f7374796c653d666f722d7468652d6261646765266c6f676f3d646570656e6461626f74266c6f676f436f6c6f723d7768697465)[![GitHub Actions](https://camo.githubusercontent.com/9bcd4f4861422acabdd23854b1644aec39140ad63f4b3d6d1b26f271bcc51074/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f676974687562253230616374696f6e732d2532333236373145352e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562616374696f6e73266c6f676f436f6c6f723d7768697465)](https://github.com/features/actions)[![Docker](https://camo.githubusercontent.com/97af73d098e049bf2d11e027500814d62dd2c840ce11d1cb5270607ae9949b2f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f636b65722d2532333064623765642e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d646f636b6572266c6f676f436f6c6f723d7768697465)](https://www.docker.com)[![Composer](https://camo.githubusercontent.com/b87eb3375706dab8b0445656c1be7c2d0bdc9f6e7717189a2a1647de346f54d4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6d706f7365722d2532333863353533303f7374796c653d666f722d7468652d6261646765266c6f676f3d636f6d706f736572266c6f676f436f6c6f723d7768697465)](https://getcomposer.org)

💬 Social
--------

[](#-social)

[![X](https://camo.githubusercontent.com/95b81aa75206a3d84029c9d00ee59a6fdf40bdb323c9a11ec22be53c2b53ce85/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f547769747465722d2532333030303030302e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d58266c6f676f436f6c6f723d7768697465)](https://x.com/idmarinas)[![Discord](https://camo.githubusercontent.com/26133934d3c9deaf296f5af68252a2646ef6ff217eacb121a20e2c55898cc1a5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446973636f72642d49444d6172696e61732d626c75653f6c6f676f3d646973636f7264267374796c653d666f722d7468652d6261646765266c6f676f436f6c6f723d7768697465)](https://discord.gg/FXEZqpF)

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 99.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~94 days

Total

21

Last Release

33d ago

Major Versions

0.2.1 → 1.0.02022-02-19

1.x-dev → 2.0.02025-03-14

PHP version history (5 changes)0.1.0PHP &gt;=7.1.3

1.0.0PHP ^7.4 | ^8.0 | ^8.1

1.5.0PHP ^7.4 | ^8.0

1.x-devPHP ^8.0

2.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35842929?v=4)[IDMarinas](/maintainers/IDMarinas)[@idmarinas](https://github.com/idmarinas)

---

Top Contributors

[![idmarinas](https://avatars.githubusercontent.com/u/35842929?v=4)](https://github.com/idmarinas "idmarinas (346 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

advertisingadvertising-bundlebundlesymfony-bundlesymfony6symfony7Symfony Bundle

###  Code Quality

TestsPHPUnit

Static AnalysisRector

### Embed Badge

![Health badge](/badges/idmarinas-advertising-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/idmarinas-advertising-bundle/health.svg)](https://phpackages.com/packages/idmarinas-advertising-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
