platinumpixs/phing-random-string

Provides A Task To Generate A Random String For Phing

dev-master 2013-02-19 16:46 UTC

This package is not auto-updated.

Last update: 2024-12-21 15:24:09 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" />