PHPackages                             master/code-teaser - 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. master/code-teaser

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

master/code-teaser
==================

Enhancement to the PHP Blog functionality.

v0.0.2(9y ago)118MITPHPPHP &gt;=5.6.0

Since Jul 27Pushed 9y agoCompare

[ Source](https://github.com/trzczy/codeTeaser)[ Packagist](https://packagist.org/packages/master/code-teaser)[ RSS](/packages/master-code-teaser/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

codeTeaser
==========

[](#codeteaser)

Get good looking teaser even if the code was trimmed.

[![Build status](https://camo.githubusercontent.com/a16b1fd84f6cc8b3bd4ee21ffb44af26ab72402470a148c57db979ba2575e976/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f70726f6a6563742f74727a637a792f636f64655465617365722e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/a16b1fd84f6cc8b3bd4ee21ffb44af26ab72402470a148c57db979ba2575e976/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f70726f6a6563742f74727a637a792f636f64655465617365722e7376673f7374796c653d666c6174)[![Test Coverage](https://camo.githubusercontent.com/284478f88569fdf5fb659409582bf91d75715a8185edce4610648b694de5c5ab/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f74727a637a792f636f64655465617365722f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/trzczy/codeTeaser/coverage)

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

[](#installation)

`composer require master/code-teaser`

Usage example
-------------

[](#usage-example)

```
    require __DIR__ . '/vendor/autoload.php';
    $codeTeaserObject = new Trzczy\Model\Domain\codeTeaser();
    $codeTeaser = $codeTeaserObject->build(
        50,
        'Zażółć gęślą jaźń.

        client.setCredentials("user", "passw0rd");
    '
    );
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

3620d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1196305?v=4)[Janusz](/maintainers/trzczy)[@trzczy](https://github.com/trzczy)

---

Top Contributors

[![trzczy](https://avatars.githubusercontent.com/u/1196305?v=4)](https://github.com/trzczy "trzczy (61 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/master-code-teaser/health.svg)

```
[![Health](https://phpackages.com/badges/master-code-teaser/health.svg)](https://phpackages.com/packages/master-code-teaser)
```

###  Alternatives

[lightgear/asset

Easy asset Management for Laravel 4

242.0k6](/packages/lightgear-asset)

PHPackages © 2026

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