platinumpixs / phing-random-string
Provides A Task To Generate A Random String For Phing
Installs: 10 634
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 1
Requires (Dev)
- phing/phing: dev-master
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-10-26 14:39:19 UTC
README
Simple php class to generate a random number for a phing build.
Basic Usage
<?xml version="1.0" ?> <project name="TestingRandomString" default="generateRandomString"> <taskdef name="randomString" classname="src.PlatinumPixs.RandomString.GenerateTask" /> <target name="generateRandomString"> <randomString name="variableName" length="8" stringType="uppercase_numeric" /> </target> </project>
Options
Installing via Composer
{ "require": { "platinumpixs/phing-random-string": "dev-master" } }
If installed via composer the name for the taskdef will be.
<taskdef name="randomString" classname="vendor.platinumpixs.phing-random-string.src.PlatinumPixs.RandomString.GenerateTask" />