Skip to content

Commit

Permalink
Merge pull request #1 from adamturcsan/develop
Browse files Browse the repository at this point in the history
First version for create-module
  • Loading branch information
adamturcsan authored Aug 8, 2016
2 parents dbad2d5 + 41981ea commit a5520a9
Show file tree
Hide file tree
Showing 12 changed files with 2,123 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor/
23 changes: 23 additions & 0 deletions bin/zf-tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env php
<?php

/*
* All rights reserved © 2016 Legow Hosting Kft.
*/

namespace LegoW\ZFTools;

chdir(dirname(__FILE__));

// Setup/verify autoloading
if (file_exists($a = __DIR__ . '/../../../autoload.php')) {
require $a;
} elseif (file_exists($a = __DIR__ . '/../vendor/autoload.php')) {
require $a;
} else {
fwrite(STDERR, 'Cannot locate autoloader; please run "composer install"' . PHP_EOL);
exit(1);
}

$command = new CommandHandler(array_slice($argv, 1));
$command->dispatchCommand();
23 changes: 23 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "legow/zf-tools",
"description": "Tools for helping Zend Framework app development processes",
"type": "library",
"bin": [
"bin/zf-tools"
],
"require": {
"php": "^7.0",
"zendframework/zend-code": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^5.5",
"zendframework/zend-modulemanager": "*"
},
"autoload": {
"psr-4": {
"LegoW\\ZFTools\\": "src/"
}
},
"license": "MIT",
"minimum-stability": "dev"
}
Loading

0 comments on commit a5520a9

Please sign in to comment.