diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3264b79 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +/.settings +/.project +/.idea +/.buildpath +/vendor +phpunit.xml +composer.phar +composer.lock +satis.phar \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..2a6db93 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# component-random + +Base definition Random string service diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..c1d46d6 --- /dev/null +++ b/composer.json @@ -0,0 +1,26 @@ +{ + "name": "withouth/component-random", + "description": "Definition from component random string generator", + "type": "component", + "license": "MIT", + "autoload": { + "psr-4": { + "Withouth\\Component\\Random\\": "src/Withouth/Component/Random" + } + }, + "authors": [ + { + "name": "Ugo Sans H", + "email": "ugo@withouth.com" + } + ], + "minimum-stability": "dev", + "require": { + "php" : ">=5.4" + }, + "config": { + "platform": { + "php": "5.4" + } + } +} diff --git a/src/Withouth/Component/Random/Random.php b/src/Withouth/Component/Random/Random.php new file mode 100644 index 0000000..2f83f1d --- /dev/null +++ b/src/Withouth/Component/Random/Random.php @@ -0,0 +1,34 @@ +