#35 some deps for restful interface

This commit is contained in:
Nabeel Shahzad 2017-06-28 14:01:27 -05:00
parent 5dce55b4f3
commit 43effce37c
4 changed files with 233 additions and 3 deletions

View File

@ -22,7 +22,9 @@
"league/geotools": "@stable", "league/geotools": "@stable",
"toin0u/geotools-laravel": "^1.0", "toin0u/geotools-laravel": "^1.0",
"anlutro/l4-settings": "^0.5.0", "anlutro/l4-settings": "^0.5.0",
"webpatser/laravel-uuid": "^2.0" "webpatser/laravel-uuid": "^2.0",
"chrisbjr/api-guard": "^4.0",
"spatie/laravel-fractal": "^4.01"
}, },
"require-dev": { "require-dev": {
"fzaninotto/faker": "~1.4", "fzaninotto/faker": "~1.4",

224
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "7525e3933b2ad8a1f88d01bb12263d86", "content-hash": "43f3e5ba26994dd305c74c84a42177dd",
"packages": [ "packages": [
{ {
"name": "anlutro/l4-settings", "name": "anlutro/l4-settings",
@ -167,6 +167,58 @@
], ],
"time": "2016-06-13T19:28:20+00:00" "time": "2016-06-13T19:28:20+00:00"
}, },
{
"name": "chrisbjr/api-guard",
"version": "v4.0.0",
"source": {
"type": "git",
"url": "https://github.com/chrisbjr/api-guard.git",
"reference": "83b10c7f781af413e0d76e6771ce90024a24efb4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/chrisbjr/api-guard/zipball/83b10c7f781af413e0d76e6771ce90024a24efb4",
"reference": "83b10c7f781af413e0d76e6771ce90024a24efb4",
"shasum": ""
},
"require": {
"ellipsesynergie/api-response": "*",
"illuminate/database": "^5.3.0",
"illuminate/support": "^5.3.0",
"php": ">=5.6.4"
},
"require-dev": {
"phpunit/phpunit": "^4.0 || ^5.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Chrisbjr\\ApiGuard\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"authors": [
{
"name": "Chris Bautista",
"email": "chrisbjr@gmail.com"
},
{
"name": "Mark Jayson Fuentes",
"email": "awkwardusername@gmail.com"
}
],
"description": "A simple way of authenticating your APIs with API keys using Laravel",
"homepage": "https://github.com/chrisbjr/api-guard",
"keywords": [
"api",
"api authentication",
"api keys",
"json",
"laravel",
"rest"
],
"time": "2017-05-27T16:22:13+00:00"
},
{ {
"name": "doctrine/annotations", "name": "doctrine/annotations",
"version": "v1.4.0", "version": "v1.4.0",
@ -777,6 +829,67 @@
"abandoned": "php-http/httplug", "abandoned": "php-http/httplug",
"time": "2015-08-12T09:35:40+00:00" "time": "2015-08-12T09:35:40+00:00"
}, },
{
"name": "ellipsesynergie/api-response",
"version": "0.13.0",
"source": {
"type": "git",
"url": "https://github.com/ellipsesynergie/api-response.git",
"reference": "8dc21b2a81c6c25495b7abb3b5df56d37307275c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ellipsesynergie/api-response/zipball/8dc21b2a81c6c25495b7abb3b5df56d37307275c",
"reference": "8dc21b2a81c6c25495b7abb3b5df56d37307275c",
"shasum": ""
},
"require": {
"league/fractal": "~0.13",
"php": ">=5.4.0"
},
"require-dev": {
"illuminate/contracts": "~5.0",
"illuminate/http": "~5.0",
"mockery/mockery": "~0.9",
"phpunit/phpunit": "~4.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "0.13-dev"
}
},
"autoload": {
"psr-4": {
"EllipseSynergie\\ApiResponse\\": "src",
"EllipseSynergie\\ApiResponse\\Tests\\": "tests"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Maxime Beaudoin",
"email": "maxime.beaudoin@ellipse-synergie.com",
"role": "Developer"
},
{
"name": "Phil Sturgeon",
"email": "email@philsturgeon.co.uk",
"role": "Developer"
}
],
"description": "Simple package to handle response properly in your API",
"homepage": "https://github.com/ellipsesynergie/api-response",
"keywords": [
"api",
"fractal",
"json"
],
"time": "2017-05-10T20:51:03+00:00"
},
{ {
"name": "erusev/parsedown", "name": "erusev/parsedown",
"version": "1.6.2", "version": "1.6.2",
@ -2395,6 +2508,115 @@
], ],
"time": "2017-03-25T12:08:31+00:00" "time": "2017-03-25T12:08:31+00:00"
}, },
{
"name": "spatie/fractalistic",
"version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/spatie/fractalistic.git",
"reference": "8f00c666a8b8dfb06f79286f97255e6ab1c89639"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/fractalistic/zipball/8f00c666a8b8dfb06f79286f97255e6ab1c89639",
"reference": "8f00c666a8b8dfb06f79286f97255e6ab1c89639",
"shasum": ""
},
"require": {
"league/fractal": "^0.16.0",
"php": "^5.6|^7.0"
},
"require-dev": {
"illuminate/pagination": "~5.3.0|~5.4.0",
"phpunit/phpunit": "^5.7"
},
"type": "library",
"autoload": {
"psr-4": {
"Spatie\\Fractalistic\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Freek Van der Herten",
"email": "freek@spatie.be",
"homepage": "https://spatie.be",
"role": "Developer"
}
],
"description": "A developer friendly wrapper around Fractal",
"homepage": "https://github.com/spatie/fractalistic",
"keywords": [
"api",
"fractal",
"fractalistic",
"spatie",
"transform"
],
"time": "2017-05-29T14:16:20+00:00"
},
{
"name": "spatie/laravel-fractal",
"version": "4.01",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-fractal.git",
"reference": "3b95780f5f3ca79e29d445a5df87eac9f7c7c053"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-fractal/zipball/3b95780f5f3ca79e29d445a5df87eac9f7c7c053",
"reference": "3b95780f5f3ca79e29d445a5df87eac9f7c7c053",
"shasum": ""
},
"require": {
"illuminate/contracts": "~5.1.0|~5.2.0|~5.3.0|~5.4.0",
"illuminate/support": "~5.1.0|~5.2.0|~5.3.0|~5.4.0",
"php": "^5.6|^7.0",
"spatie/fractalistic": "^2.0"
},
"require-dev": {
"orchestra/testbench": "~3.2.0|3.3.0|~3.4.0",
"phpunit/phpunit": "^5.7.5"
},
"type": "library",
"autoload": {
"psr-4": {
"Spatie\\Fractal\\": "src"
},
"files": [
"src/helpers.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Freek Van der Herten",
"email": "freek@spatie.be",
"homepage": "https://spatie.be",
"role": "Developer"
}
],
"description": "An easy to use Fractal integration for Laravel applications",
"homepage": "https://github.com/spatie/laravel-fractal",
"keywords": [
"api",
"fractal",
"laravel",
"laravel-fractal",
"lumen",
"spatie",
"transform"
],
"time": "2017-05-05T19:01:43+00:00"
},
{ {
"name": "spatie/laravel-pjax", "name": "spatie/laravel-pjax",
"version": "1.3.1", "version": "1.3.1",

View File

@ -3,7 +3,9 @@
<component name="NewModuleRootManager" inherit-compiler-output="true"> <component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output /> <exclude-output />
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/vendor/chrisbjr/api-guard" />
<excludeFolder url="file://$MODULE_DIR$/vendor/dompdf/dompdf" /> <excludeFolder url="file://$MODULE_DIR$/vendor/dompdf/dompdf" />
<excludeFolder url="file://$MODULE_DIR$/vendor/ellipsesynergie/api-response" />
<excludeFolder url="file://$MODULE_DIR$/vendor/jeremeamia/SuperClosure" /> <excludeFolder url="file://$MODULE_DIR$/vendor/jeremeamia/SuperClosure" />
<excludeFolder url="file://$MODULE_DIR$/vendor/league/fractal" /> <excludeFolder url="file://$MODULE_DIR$/vendor/league/fractal" />
<excludeFolder url="file://$MODULE_DIR$/vendor/maatwebsite/excel" /> <excludeFolder url="file://$MODULE_DIR$/vendor/maatwebsite/excel" />
@ -32,7 +34,9 @@
<library name="PHP" type="php"> <library name="PHP" type="php">
<CLASSES> <CLASSES>
<root url="file://$APPLICATION_HOME_DIR$/bin" /> <root url="file://$APPLICATION_HOME_DIR$/bin" />
<root url="file://$MODULE_DIR$/vendor/chrisbjr/api-guard" />
<root url="file://$MODULE_DIR$/vendor/dompdf/dompdf" /> <root url="file://$MODULE_DIR$/vendor/dompdf/dompdf" />
<root url="file://$MODULE_DIR$/vendor/ellipsesynergie/api-response" />
<root url="file://$MODULE_DIR$/vendor/jeremeamia/SuperClosure" /> <root url="file://$MODULE_DIR$/vendor/jeremeamia/SuperClosure" />
<root url="file://$MODULE_DIR$/vendor/league/fractal" /> <root url="file://$MODULE_DIR$/vendor/league/fractal" />
<root url="file://$MODULE_DIR$/vendor/maatwebsite/excel" /> <root url="file://$MODULE_DIR$/vendor/maatwebsite/excel" />
@ -48,7 +52,9 @@
<JAVADOC /> <JAVADOC />
<SOURCES> <SOURCES>
<root url="file://$APPLICATION_HOME_DIR$/bin" /> <root url="file://$APPLICATION_HOME_DIR$/bin" />
<root url="file://$MODULE_DIR$/vendor/chrisbjr/api-guard" />
<root url="file://$MODULE_DIR$/vendor/dompdf/dompdf" /> <root url="file://$MODULE_DIR$/vendor/dompdf/dompdf" />
<root url="file://$MODULE_DIR$/vendor/ellipsesynergie/api-response" />
<root url="file://$MODULE_DIR$/vendor/jeremeamia/SuperClosure" /> <root url="file://$MODULE_DIR$/vendor/jeremeamia/SuperClosure" />
<root url="file://$MODULE_DIR$/vendor/league/fractal" /> <root url="file://$MODULE_DIR$/vendor/league/fractal" />
<root url="file://$MODULE_DIR$/vendor/maatwebsite/excel" /> <root url="file://$MODULE_DIR$/vendor/maatwebsite/excel" />

View File

@ -16,4 +16,4 @@
<li><a href="{!! url('/admin/airports') !!}"><i class="fa fa-globe"></i>&nbsp;airports</a></li> <li><a href="{!! url('/admin/airports') !!}"><i class="fa fa-globe"></i>&nbsp;airports</a></li>
{{--<li><a href="{!! url('/admin/aircraftclasses') !!}"><i class="fa fa-tag"></i>&nbsp;aircraft classes</a></li>--}} {{--<li><a href="{!! url('/admin/aircraftclasses') !!}"><i class="fa fa-tag"></i>&nbsp;aircraft classes</a></li>--}}
<li><a href="#"><i class="fa fa-user-circle-o" aria-hidden="true"></i>&nbsp;users</a></li> <li><a href="#"><i class="fa fa-user-circle-o" aria-hidden="true"></i>&nbsp;users</a></li>
<li><a href="{!! url('/admin/ranks') !!}"><i class="fa fa-user-circle-o" aria-hidden="true"></i>&nbsp;ranks</a></li> <li><a href="{!! url('/admin/ranks') !!}"><i class="fa fa-id-card-o" aria-hidden="true"></i>&nbsp;ranks</a></li>