Created
February 25, 2014 02:21
-
-
Save brianwebb01/9201450 to your computer and use it in GitHub Desktop.
Sample Foreman template to follow hexagonal architecture found here: http://git.io/9NY65w
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"structure": { | |
"copy": [ | |
{ | |
"from": "/projects/hex-arch-laravel/app/lib/Contracts/Instances/InstanceInterface.php", | |
"to": "app/lib/Contracts/Instances/InstanceInterface.php" | |
}, | |
{ | |
"from": "/projects/hex-arch-laravel/app/lib/Contracts/Notification/CreatorInterface.php", | |
"to": "app/lib/Contracts/Notification/CreatorInterface.php" | |
}, | |
{ | |
"from": "/projects/hex-arch-laravel/app/lib/Contracts/Notification/DestroyerInterface.php", | |
"to": "app/lib/Contracts/Notification/DestroyerInterface.php" | |
}, | |
{ | |
"from": "/projects/hex-arch-laravel/app/lib/Contracts/Notification/UpdaterInterface.php", | |
"to": "app/lib/Contracts/Notification/UpdaterInterface.php" | |
}, | |
{ | |
"from": "/projects/hex-arch-laravel/app/lib/Contracts/Repositories/RepositoryInterface.php", | |
"to": "app/lib/Contracts/Repositories/RepositoryInterface.php" | |
}, | |
{ | |
"from": "/projects/hex-arch-laravel/app/lib/Providers/RepositoriesServiceProvider.php", | |
"to": "app/lib/Providers/RepositoriesServiceProvider.php" | |
}, | |
{ | |
"from": "/projects/hex-arch-laravel/app/lib/Repositories/DbRepository.php", | |
"to": "app/lib/Repositories/DbRepository.php" | |
}, | |
{ | |
"from": "/projects/hex-arch-laravel/app/lib/Validators/Validator.php", | |
"to": "app/lib/Validators/Validator.php" | |
} | |
], | |
"move": [ | |
{ | |
"from": "", | |
"to": "" | |
} | |
], | |
"delete": [ | |
], | |
"touch": [ | |
], | |
"mkdir": [ | |
"app/lib/Services" | |
] | |
}, | |
"composer": { | |
"require": [ | |
{ | |
"package": "php", | |
"version": ">=5.4.0" | |
}, | |
{ | |
"package": "laravel/framework", | |
"version": "4.1.*" | |
}, | |
{ | |
"package": "nesbot/Carbon", | |
"version": "*" | |
} | |
], | |
"require-dev": [ | |
{ | |
"package": "mockery/mockery", | |
"version": "dev-master" | |
}, | |
{ | |
"package": "hot/phpunit-runner", | |
"version": "dev-master" | |
}, | |
{ | |
"package": "phpunit/phpunit", | |
"version": "dev-master" | |
}, | |
{ | |
"package": "codeception/codeception", | |
"version": "1.8.*@dev" | |
}, | |
{ | |
"package": "squizlabs/php_codesniffer", | |
"version": "*" | |
}, | |
{ | |
"package": "fabpot/php-cs-fixer", | |
"version": "*" | |
}, | |
{ | |
"package": "phpmd/phpmd", | |
"version": "*" | |
} | |
], | |
"autoload": { | |
"classmap": [ | |
"app/lib", | |
"app/commands", | |
"app/controllers", | |
"app/models", | |
"app/database/migrations", | |
"app/database/seeds", | |
"app/test/TestCase.php" | |
], | |
"psr-0": [ | |
], | |
"psr-4": [ | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could execute a new Forman build with this template using: