PHPackages                             inc2734/wp-adsense - 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. inc2734/wp-adsense

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

inc2734/wp-adsense
==================

1.0.1(6y ago)05.5k2GPL-2.0-or-laterPHPPHP &gt;=5.6CI failing

Since May 7Pushed 6y agoCompare

[ Source](https://github.com/inc2734/wp-adsense)[ Packagist](https://packagist.org/packages/inc2734/wp-adsense)[ RSS](/packages/inc2734-wp-adsense/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (4)Used By (2)

WP Adsense
==========

[](#wp-adsense)

[![Build Status](https://camo.githubusercontent.com/70fe15522a54ada588dac03ec856ecf641545599c47599678d12402c2d40951d/68747470733a2f2f7472617669732d63692e636f6d2f696e63323733342f77702d616473656e73652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/inc2734/wp-adsense)[![Latest Stable Version](https://camo.githubusercontent.com/acf85e01ec8fdf40964f4d13e61ac9520d10bcc686a76ac88d3ac658afd6df04/68747470733a2f2f706f7365722e707567782e6f72672f696e63323733342f77702d616473656e73652f762f737461626c65)](https://packagist.org/packages/inc2734/wp-adsense)[![License](https://camo.githubusercontent.com/cd2c468f90851a916c6c1457a66c0354e1f73fd68fffb962bf6bcccc20b5b4aa/68747470733a2f2f706f7365722e707567782e6f72672f696e63323733342f77702d616473656e73652f6c6963656e7365)](https://packagist.org/packages/inc2734/wp-adsense)

Install
-------

[](#install)

```
$ composer require inc2734/wp-adsense

```

How to use
----------

[](#how-to-use)

```
use Inc2734\WP_Adsense;

WP_Adsense\Helper::the_adsense_code( $code, $size );

```

Filter hooks
------------

[](#filter-hooks)

### inc2734\_wp\_adsense\_the\_adsense\_code

[](#inc2734_wp_adsense_the_adsense_code)

```
/**
 * Customize the adsense code
 *
 * @param string $code
 * @return string
 */
add_filter(
	'inc2734_wp_adsense_the_adsense_code',
	function( $code ) {
		return $code;
	}
);

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~136 days

Total

3

Last Release

2296d ago

Major Versions

0.1.0 → 1.0.02019-08-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1094306?v=4)[Takashi Kitajima](/maintainers/inc2734)[@inc2734](https://github.com/inc2734)

---

Top Contributors

[![inc2734](https://avatars.githubusercontent.com/u/1094306?v=4)](https://github.com/inc2734 "inc2734 (3 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/inc2734-wp-adsense/health.svg)

```
[![Health](https://phpackages.com/badges/inc2734-wp-adsense/health.svg)](https://phpackages.com/packages/inc2734-wp-adsense)
```

###  Alternatives

[psr7-sessions/storageless

Storageless PSR-7 Session support

652373.0k8](/packages/psr7-sessions-storageless)[bryanjhv/slim-session

Session middleware and helper for Slim framework 4.

233961.5k16](/packages/bryanjhv-slim-session)[logiscape/mcp-sdk-php

Model Context Protocol SDK for PHP

36274.1k6](/packages/logiscape-mcp-sdk-php)[bepsvpt/blurhash

A PHP implementation of BlurHash with Laravel integration.

130259.9k5](/packages/bepsvpt-blurhash)[frosh/development-helper

Development Helper

90286.1k](/packages/frosh-development-helper)[worksome/coding-style

Worksomes coding style

49771.7k57](/packages/worksome-coding-style)

PHPackages © 2026

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