PHPackages                             padosoft/presenty - 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. padosoft/presenty

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

padosoft/presenty
=================

Presentation and Formatting helper with nice fluent interface.

1.3.0(1y ago)112.6k↓43.8%1[4 PRs](https://github.com/padosoft/presenty/pulls)MITPHPPHP &gt;=7.1.0

Since May 9Pushed 9mo ago2 watchersCompare

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

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

Presentation and Formatting helper with nice fluent interface.
==============================================================

[](#presentation-and-formatting-helper-with-nice-fluent-interface)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f778bd459934a8d6379e7665fed6a969d2a2a6798a61f0436d279e91c0edac02/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7061646f736f66742f70726573656e74792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/padosoft/presenty)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/789a3894c54704cc314d95f31d3428541470e748e40cca6c887429f0d5e3f7d6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7061646f736f66742f70726573656e74792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/padosoft/presenty)[![Quality Score](https://camo.githubusercontent.com/46f5016d9c66dfc29af7764aa44d9a5e790c2e0b9c78dd80daf0a3c719a039b3/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7061646f736f66742f70726573656e74792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/padosoft/presenty)[![Total Downloads](https://camo.githubusercontent.com/f84bd781f57bf9b955ddb09072aa1b1efb6540c87b7af57d07e13b8cacac9c5d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7061646f736f66742f70726573656e74792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/padosoft/presenty)

This package provides a Presentation and Formatting helper with nice fluent interface.

Table of Contents
=================

[](#table-of-contents)

- [Presentation and Formatting helper](#presentation-and-formatting-helper)
    - [Requires](#requires)
    - [Installation](#installation)
    - [USAGE](#usage)
    - [Change log](#change-log)
    - [Testing](#testing)
    - [Contributing](#contributing)
    - [Security](#security)
    - [Credits](#credits)
    - [About Padosoft](#about-padosoft)
    - [License](#license)

\##Requires

- "php" : "&gt;=7.1.0",
- padosoft/support": "^3.0.4"

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

[](#installation)

You can install the package via composer:

```
$ composer require padosoft/presenty
```

USAGE
-----

[](#usage)

```
//number
echo presenty('2')->number(2);//print '2.00'
echo presenty('2.00')->number(2);//print '2.00'
echo presenty(2)->number(2);//print '2.00'
echo presenty(1000, '.' , ',')->number(2);//print '1.000,00'

//anchor
echo presenty('https://www.padosoft.com')->anchor();//print 'https://www.padosoft.com'
echo presenty('https://www.padosoft.com')->anchor(['target' => '_blank']);//print 'https://www.padosoft.com'
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Lorenzo Padovani](https://github.com/lopadova)
- [All Contributors](../../contributors)

About Padosoft
--------------

[](#about-padosoft)

Padosoft () is a software house based in Florence, Italy. Specialized in E-commerce and web sites.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance46

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 63.6% 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 ~440 days

Recently: every ~550 days

Total

6

Last Release

728d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9fabb1f16f7a29a235494893175d25d51628fe2a6c9052834e35abe0666c9a8e?d=identicon)[lopadova](/maintainers/lopadova)

---

Top Contributors

[![lopadova](https://avatars.githubusercontent.com/u/10467699?v=4)](https://github.com/lopadova "lopadova (7 commits)")[![leopado](https://avatars.githubusercontent.com/u/20923180?v=4)](https://github.com/leopado "leopado (4 commits)")

---

Tags

fluent-interfaceformatformattingpresentationformatpresenterfluent-interfacepadosoftpresenty

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/padosoft-presenty/health.svg)

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

###  Alternatives

[willdurand/negotiation

Content Negotiation tools for PHP provided as a standalone library.

1.4k122.0M157](/packages/willdurand-negotiation)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[gabrielelana/byte-units

Library to parse, format and convert byte units

1672.2M19](/packages/gabrielelana-byte-units)[gajus/dindent

HTML indentation library for development and testing.

1781.9M50](/packages/gajus-dindent)[consistence/consistence

Consistence - consistent approach and additions to PHP's functionality

1831.1M18](/packages/consistence-consistence)[kartik-v/yii2-datecontrol

Date control module allowing separation of formats for View and Model for Yii Framework 2.0

551.5M36](/packages/kartik-v-yii2-datecontrol)

PHPackages © 2026

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