This repo is no longer maintained. If you would like to take over ownership please get in touch.

PUF

PUF (PHP Utility Framework) provides PHP developers with an assortment of utility functions that are commonly used in web applications. Written in PHP 5, PUF aims to become the "go to" framework for all of those functions that you commonly use in apps but can never find because you've forgotten to add it to your snippet collection.

Requirements

To use PUF you will need the following:

PHP 5.3 or greater

Yes that's all!

Please Contribute

The only way this project will become successful and useful is if all of you PHP developers contribute to PUF. Got any favorite snippets that aren't in PUF already? Then throw them in and include your name and website in the @author tag in the documentation. The more you contribute to PUF the more everyone will benefit.

So don't be afraid to give PUF a fork and contribute your own functions!

Licensing

PUF is released under the GPL v2.

Some of the functions that will appear in PUF will be written by other developers or found in other applications (e.g. WordPress, CodeIgniter etc). This is cool. Just make sure the license that their code is released under is compatible with GPL v2, and make sure to give credit where credit is due in the function documentation.

Example Usage

<?php require_once 'puf/puf.include_all.php'; $puf_format = new PUFFormat(); echo $puf_format->size_format(1024); // Output: 1kB ?>

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。
3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考学习用!
4、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。