padosoft / presenty
Presentation and Formatting helper with nice fluent interface.
Installs: 5 813
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 3
Requires
- php: >=7.1.0
- padosoft/support: ^3.0.4
Requires (Dev)
- padosoft/test: ^2.1
- phpunit/phpunit: ^5.7.27|^6.5.14|^7.5.20|^8.5.26|^9.5.20|^10.0
This package is auto-updated.
Last update: 2024-12-20 14:30:41 UTC
README
This package provides a Presentation and Formatting helper with nice fluent interface.
Table of Contents
##Requires
- "php" : ">=7.1.0",
- padosoft/support": "^3.0.4"
Installation
You can install the package via composer:
$ composer require padosoft/presenty
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 '<a href="https://www.padosoft.com">https://www.padosoft.com</a>' echo presenty('https://www.padosoft.com')->anchor(['target' => '_blank']);//print '<a href="https://www.padosoft.com" target="_blank">https://www.padosoft.com</a>'
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email instead of using the issue tracker.
Credits
About Padosoft
Padosoft (https://www.padosoft.com) is a software house based in Florence, Italy. Specialized in E-commerce and web sites.
License
The MIT License (MIT). Please see License File for more information.