PHPackages                             phine/sami-github - 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. [Templating &amp; Views](/categories/templating)
4. /
5. phine/sami-github

AbandonedArchivedLibrary[Templating &amp; Views](/categories/templating)

phine/sami-github
=================

A Sami theme for GitHub Markdown formatted documentation.

1.0.4(12y ago)62.3k7[1 issues](https://github.com/kherge-archive/sami-github/issues)MITPHP

Since Sep 13Pushed 12y agoCompare

[ Source](https://github.com/kherge-archive/sami-github)[ Packagist](https://packagist.org/packages/phine/sami-github)[ Docs](https://github.com/phine/sami-github)[ RSS](/packages/phine-sami-github/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

GitHub
======

[](#github)

[![Latest Stable Version](https://camo.githubusercontent.com/f8a3a7e53fa02beb332fbdef918bf5120c0bf3243b289f3e5c72a00f66c41374/68747470733a2f2f706f7365722e707567782e6f72672f7068696e652f73616d692d6769746875622f762f737461626c652e706e67)](https://packagist.org/packages/phine/sami-github)[![Total Downloads](https://camo.githubusercontent.com/49e3292a6f33e3d635898719ccc1981d70ab1f9e100a2a0e0f34384f42823eac/68747470733a2f2f706f7365722e707567782e6f72672f7068696e652f73616d692d6769746875622f646f776e6c6f6164732e706e67)](https://packagist.org/packages/phine/sami-github)

A Sami theme for GitHub Markdown formatted documentation.

Usage
-----

[](#usage)

```
use Sami\Sami;
use Sami\Version\GitVersionCollection;
use Symfony\Component\Finder\Finder;

$iterator = Finder::create()
    ->files()
    ->name('*.php')
    ->exclude('Resources')
    ->exclude('Tests')
    ->in($dir = '/path/to/symfony/src')
;

$versions = GitVersionCollection::create($dir)
    ->addFromTags('v2.0.*')
    ->add('2.0', '2.0 branch')
    ->add('master', 'master branch')
;

return new Sami($iterator, array(
    'theme'                => 'github',
    'versions'             => $versions,
    'title'                => 'Symfony2 API',
    'build_dir'            => __DIR__.'/../build/sf2/%version%',
    'cache_dir'            => __DIR__.'/../cache/sf2/%version%',
    // use a custom theme directory
    'template_dirs'        => array(__DIR__.'/themes/sami-github'),
    'default_opened_level' => 2,
));
```

Requirement
-----------

[](#requirement)

- PHP &gt;= 5.3.3
- [Sami](http://sami.sensiolabs.org/) &gt;= 1.1.0

Installation
------------

[](#installation)

Via [Composer](http://getcomposer.org/):

```
$ composer require "phine/sami-github=~1.0"

```

License
-------

[](#license)

This library is available under the [MIT license](LICENSE).

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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 ~1 days

Total

5

Last Release

4669d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9122157?v=4)[Kevin Herrera](/maintainers/kherge)[@kherge](https://github.com/kherge)

---

Top Contributors

[![kherge](https://avatars.githubusercontent.com/u/9122157?v=4)](https://github.com/kherge "kherge (40 commits)")

---

Tags

githubsami

### Embed Badge

![Health badge](/badges/phine-sami-github/health.svg)

```
[![Health](https://phpackages.com/badges/phine-sami-github/health.svg)](https://phpackages.com/packages/phine-sami-github)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.1k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

282.2k](/packages/webkinder-sproutset)

PHPackages © 2026

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