PHPackages                             johnie/embedgithub - 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. johnie/embedgithub

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

johnie/embedgithub
==================

Simply embed Github Readme or Changelog to page or post

v1.0.1(11y ago)101MITPHPPHP &gt;=5.3.0

Since Jan 25Pushed 10y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (3)Used By (0)

Embed GitHub
============

[](#embed-github)

> Simply embed GitHub Readme or any other markdown file to page or post

Getting started
---------------

[](#getting-started)

This should be installed with Composer since it has dependencies:

```
$ composer require johnie/embedgithub

```

### Usage

[](#usage)

**Shortcode**

Simply get the repo readme file

`[embedgithub repo="johnie/embedgithub"]`

You can also trim lines from the top of the readme using the **trim** option:

`[embedgithub repo="johnie/embedgithub" trim="3"]`

This is useful for removing titles since your page/post will most likely already have one.

You can also specify a markdown file using the **file** option, e.g. "changelog.md"

`[embedgithub repo="johnie/embedgithub" file="changelog.md"]`

Licence
-------

[](#licence)

MIT © [Johnie Hjelm](http://johnie.se)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~0 days

Total

2

Last Release

4129d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca89231a2053a21d8b9c0eb6f22f6b4923ef3e6d4dc1066bd45e563b905d4848?d=identicon)[johnie](/maintainers/johnie)

---

Top Contributors

[![frozzare](https://avatars.githubusercontent.com/u/14610?v=4)](https://github.com/frozzare "frozzare (9 commits)")[![johnie](https://avatars.githubusercontent.com/u/864992?v=4)](https://github.com/johnie "johnie (3 commits)")

---

Tags

pluginwordpressgithubchangelogreadme

### Embed Badge

![Health badge](/badges/johnie-embedgithub/health.svg)

```
[![Health](https://phpackages.com/badges/johnie-embedgithub/health.svg)](https://phpackages.com/packages/johnie-embedgithub)
```

###  Alternatives

[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

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