diff --git a/.gitignore b/.gitignore index 0795792..8b2066c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ src/Public/.DS_Store src/.DS_Store src/Database/.DS_Store +src/Controllers/.DS_Store diff --git a/composer.json b/composer.json index 36bea0c..248e598 100755 --- a/composer.json +++ b/composer.json @@ -33,5 +33,15 @@ "OpenPolice\\": "src/", "OpenPolice\\Models\\": "storage/app/models/openpolice" } + }, + "extra": { + "laravel": { + "providers": [ + "FlexYourRights\\OpenPolice\\OpenPoliceServiceProvider" + ], + "aliases": { + "OpenPolice": "FlexYourRights\\OpenPolice\\OpenPoliceFacade" + } + } } } diff --git a/src/Controllers/Middleware/routes-api.php b/src/Controllers/Middleware/routes-api.php new file mode 100644 index 0000000..8eeb61a --- /dev/null +++ b/src/Controllers/Middleware/routes-api.php @@ -0,0 +1,17 @@ + $ vagrant ssh $ cd /home/vagrant/Code $ composer global require "laravel/installer" -$ composer create-project laravel/laravel OpenPolice "5.3.*" +$ composer create-project laravel/laravel OpenPolice "5.8.*"


Now you should be able to confirm your successful installation by pulling up http://homestead.test/ in your browser!