Skip to content

Instantly share code, notes, and snippets.

@NezSpencer
Created July 4, 2017 15:03
Show Gist options
  • Save NezSpencer/b7a24cd1ad71b0d8fa59a585d095e2b7 to your computer and use it in GitHub Desktop.
Save NezSpencer/b7a24cd1ad71b0d8fa59a585d095e2b7 to your computer and use it in GitHub Desktop.
class 'Barryvdh\Cors\ServiceProvider' not found issue
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.6.4",
"barryvdh/laravel-cors": "^0.9.2",
"fzaninotto/faker": "^1.6",
"guzzlehttp/guzzle": "~6.0",
"laravel/framework": "5.4.*",
"laravel/tinker": "~1.0"
},
"require-dev": {
"laracasts/generators": "dev-master as 1.1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.7"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
},
"files": [
"app/script.php"
]
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php",
"database/seeds/QuestionsTableSeeder.php"
],
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate",
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall",
"php artisan optimize"
],
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan optimize"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment