Skip to content

Instantly share code, notes, and snippets.

@joboscribe
Created July 28, 2014 16:36
Show Gist options
  • Save joboscribe/5cffb1d532770918a648 to your computer and use it in GitHub Desktop.
Save joboscribe/5cffb1d532770918a648 to your computer and use it in GitHub Desktop.
//composer.json
{
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php",
"app/libraries",
"app/providers",
"app/helpers",
"app/tests/"
]
},
"config": {
"preferred-install": "dist",
"bin-dir": "bin/"
},
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"minimum-stability": "stable",
"name": "laravel/laravel",
"require": {
"guzzle/guzzle": "3.9.1",
"guzzlehttp/guzzle": "~4.0",
"laravel/framework": "~4.2.4",
"laravelbook/ardent": "2.*"
},
"require-dev": {
"behat/behat": "3.0.*",
"behat/mink-extension": "~2.0@dev",
"behat/mink-goutte-driver": "*",
"behat/mink-selenium-driver": "*",
"phpunit/phpunit": "4.1.*",
"xethron/migrations-generator": "dev-master",
"league/factory-muffin": "~2.0@dev"
},
"scripts": {
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
]
}
}
//phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="bootstrap/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
>
<testsuites>
<testsuite name="Application Test Suite">
<directory>./app/tests/</directory>
</testsuite>
</testsuites>
</phpunit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment