Download the PHP package nickvergessen/phpbb-tool-trimmessage without Composer
On this page you can find all versions of the php package nickvergessen/phpbb-tool-trimmessage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nickvergessen/phpbb-tool-trimmessage
More information about nickvergessen/phpbb-tool-trimmessage
Files in nickvergessen/phpbb-tool-trimmessage
Download nickvergessen/phpbb-tool-trimmessage
More information about nickvergessen/phpbb-tool-trimmessage
Files in nickvergessen/phpbb-tool-trimmessage
Vendor nickvergessen
Package phpbb-tool-trimmessage
Short Description This tool contains a class, that is able to trim a message from the phpbb message_parser to a maximum length without breaking the bbcodes/smilies and links.
License GPL-2.0
Homepage https://github.com/nickvergessen/phpbb-tool-trimmessage
Package phpbb-tool-trimmessage
Short Description This tool contains a class, that is able to trim a message from the phpbb message_parser to a maximum length without breaking the bbcodes/smilies and links.
License GPL-2.0
Homepage https://github.com/nickvergessen/phpbb-tool-trimmessage
Please rate this library. Is it a good library?
Informations about the package phpbb-tool-trimmessage
phpBB Trim Message Tool
This tool contains a class, that is able to trim a message from the phpbb message_parser to a maximum length without breaking the bbcodes/smilies and links.
How to use
- Add
nickvergessen/phpbb-tool-trimmessage
as a composer dependency to your extension -
Use the code:
$object = new \Nickvergessen\TrimMessage\TrimMessage($message, $bbcode_uid, $length); // Ready to get parsed: echo $object->message();
How to run tests
We use Travis-CI as a continous intergtation server and phpunit for our unit testing. See more information on the phpBB development wiki.
php composer.phar install --dev
vendor/bin/phpunit
Requirements
- This tool requires php 5.3.3 or above. When you include this tool in your MOD, put a note about the php-version in the author notes.
- This tool does not require a specific database.
License
GNU Public License
All versions of phpbb-tool-trimmessage with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.3
The package nickvergessen/phpbb-tool-trimmessage contains the following files
Loading the files please wait ....