remove superfluous packages

This commit is contained in:
Nabeel Shahzad 2017-12-28 18:00:35 -06:00
parent 15becf6b67
commit 77d89a2192
6 changed files with 1446 additions and 1716 deletions

View File

@ -2,16 +2,15 @@
namespace App\Http\Controllers\Api;
use Illuminate\Http\Response;
use App\Http\Controllers\AppBaseController;
class BaseController extends AppBaseController
class StatusController extends AppBaseController
{
public function status()
{
return response()->json(
['message' => 'hi'],
['version' => ''],
200
);
}

View File

@ -13,7 +13,7 @@ Route::group([], function()
Route::get('pireps/{id}/acars', 'PirepController@acars_get');
Route::get('pireps/{id}/geojson', 'PirepController@acars_get');
Route::get('status', 'BaseController@status');
Route::get('status', 'StatusController@status');
});
/**

View File

@ -11,11 +11,8 @@
"php": ">=7.0",
"laravel/framework": "v5.5.25",
"symfony/lts": "v3",
"yajra/laravel-datatables-oracle": "8.3.2",
"infyomlabs/laravel-generator": "5.5.x-dev",
"php-http/httplug": "v1.1.0",
"laravelcollective/html": "5.5.1",
"infyomlabs/adminlte-templates": "5.5.x-dev",
"doctrine/annotations": "v1.4.0",
"doctrine/cache": "v1.6.2",
"doctrine/collections": "v1.4.0",
@ -38,7 +35,6 @@
"dg/rss-php": "1.2",
"makinacorpus/php-bloom": "dev-master",
"hashids/hashids": "2.0.4",
"scriptfusion/phpunit-immediate-exception-printer": "1.3.0",
"nwidart/laravel-modules": "2.6.0",
"sebastiaanluca/laravel-helpers": "1.0.2",
"jackiedo/timezonelist": "5.x",
@ -47,7 +43,8 @@
"pragmarx/version": "0.2.2",
"guzzlehttp/guzzle": "6.3.0",
"jmikola/geojson": "1.0.2",
"nabeel/vacentral": "dev-master"
"nabeel/vacentral": "dev-master",
"laracasts/flash": "3.0.2"
},
"require-dev": {
"phpunit/phpunit": "6.4.0",
@ -56,7 +53,8 @@
"mockery/mockery": "0.9.*",
"filp/whoops": "~2.0",
"orchestra/testbench": "v3.5.2",
"bpocallaghan/generators": "5.0.1"
"bpocallaghan/generators": "5.0.1",
"scriptfusion/phpunit-immediate-exception-printer": "1.3.0"
},
"autoload": {
"classmap": [

3066
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -55,12 +55,9 @@ return [
* Package Service Providers...
*/
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
Yajra\Datatables\DatatablesServiceProvider::class,
Collective\Html\HtmlServiceProvider::class,
Laracasts\Flash\FlashServiceProvider::class,
Prettus\Repository\Providers\RepositoryServiceProvider::class,
InfyOm\Generator\InfyOmGeneratorServiceProvider::class,
InfyOm\AdminLTETemplates\AdminLTETemplatesServiceProvider::class,
Spatie\Fractal\FractalServiceProvider::class,
SebastiaanLuca\Helpers\Methods\GlobalHelpersServiceProvider::class,
SebastiaanLuca\Helpers\Collections\CollectionMacrosServiceProvider::class,
@ -116,10 +113,10 @@ return [
'URL' => Illuminate\Support\Facades\URL::class,
'Utils' => App\Facades\Utils::class,
'Validator' => Illuminate\Support\Facades\Validator::class,
'Version' => PragmaRX\Version\Package\Facade::class,
'View' => Illuminate\Support\Facades\View::class,
'Yaml' => Symfony\Component\Yaml\Yaml::class,
# ENUMS
'PilotState' => App\Models\Enums\PilotState::class,
'PirepSource' => App\Models\Enums\PirepSource::class,

View File

@ -1,74 +0,0 @@
<?php
return [
'path' => [
'migration' => base_path('database/migrations/'),
'model' => app_path('Models/'),
'datatables' => app_path('DataTables/'),
'repository' => app_path('Repositories/'),
'routes' => base_path('routes/web.php'),
'api_routes' => base_path('routes/api.php'),
'request' => app_path('Http/Requests/'),
'api_request' => app_path('Http/Requests/API/'),
'controller' => app_path('Http/Controllers/'),
'api_controller' => app_path('Http/Controllers/API/'),
'test_trait' => base_path('tests/traits/'),
'repository_test' => base_path('tests/'),
'api_test' => base_path('tests/'),
'views' => base_path('resources/views/'),
'schema_files' => base_path('resources/model_schemas/'),
'templates_dir' => base_path('resources/infyom/infyom-generator-templates/'),
'modelJs' => base_path('resources/assets/js/models/'),
],
'namespace' => [
'model' => 'App\Models',
'datatables' => 'App\DataTables',
'repository' => 'App\Repositories',
'controller' => 'App\Http\Controllers',
'api_controller' => 'App\Http\Controllers\API',
'request' => 'App\Http\Requests',
'api_request' => 'App\Http\Requests\API',
],
'templates' => 'adminlte-templates',
'model_extend_class' => 'Eloquent',
'api_prefix' => 'api',
'api_version' => 'v1',
'options' => [
'softDelete' => false,
'tables_searchable_default' => false,
],
'prefixes' => [
'route' => 'admin', // using admin will create route('admin.?.index') type routes
'path' => '',
'view' => 'admin',
'public' => 'admin',
],
'add_on' => [
'swagger' => true,
'tests' => true,
'datatables' => false,
'menu' => [
'enabled' => false,
'menu_file' => 'layouts/menu.blade.php',
],
],
'timestamps' => [
'enabled' => true,
'created_at' => 'created_at',
'updated_at' => 'updated_at',
'deleted_at' => 'deleted_at',
],
];