Add ramcar battery api bundle #172

This commit is contained in:
Kendrick Chan 2019-01-20 15:37:23 +08:00
parent 86c20036c0
commit 50d3a8e200
7 changed files with 882 additions and 539 deletions

View file

@ -38,7 +38,8 @@
"autoload": {
"psr-4": {
"App\\": "src/",
"Catalyst\\APIBundle\\": "catalyst/api-bundle/"
"Catalyst\\APIBundle\\": "catalyst/api-bundle/",
"RamcarBattery\\APIBundle\\": "ramcar-batery/api-bundle/"
}
},
"autoload-dev": {

1367
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,7 +0,0 @@
framework:
default_locale: '%locale%'
translator:
paths:
- '%kernel.project_dir%/translations'
fallbacks:
- '%locale%'

View file

@ -1,7 +1,6 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
locale: 'en'
map_default:
latitude: 14.6091
longitude: 121.0223

View file

@ -0,0 +1,10 @@
<?php
namespace RamcarBattery\APIBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class RamcarBatteryAPIBundle extends Bundle
{
}

View file

@ -119,6 +119,9 @@
"psr/simple-cache": {
"version": "1.0.0"
},
"ralouphie/getallheaders": {
"version": "2.0.5"
},
"sensio/framework-extra-bundle": {
"version": "4.0",
"recipe": {
@ -146,6 +149,9 @@
"ref": "9f94d3ea453cd8a3b95db7f82592d7344fe3a76a"
}
},
"symfony/contracts": {
"version": "v1.0.2"
},
"symfony/debug": {
"version": "v4.0.2"
},
@ -233,9 +239,6 @@
"ref": "cda8b550123383d25827705d05a42acf6819fe4e"
}
},
"symfony/security": {
"version": "v4.0.2"
},
"symfony/security-bundle": {
"version": "3.3",
"recipe": {
@ -245,18 +248,21 @@
"ref": "85834af1496735f28d831489d12ab1921a875e0d"
}
},
"symfony/security-core": {
"version": "v4.2.2"
},
"symfony/security-csrf": {
"version": "v4.2.2"
},
"symfony/security-guard": {
"version": "v4.2.2"
},
"symfony/security-http": {
"version": "v4.2.2"
},
"symfony/stopwatch": {
"version": "v4.0.2"
},
"symfony/translation": {
"version": "3.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "3.3",
"ref": "6bcd6c570c017ea6ae5a7a6a027c929fd3542cd8"
}
},
"symfony/twig-bridge": {
"version": "v4.0.2"
},
@ -275,6 +281,9 @@
"symfony/var-dumper": {
"version": "v4.0.2"
},
"symfony/var-exporter": {
"version": "v4.2.2"
},
"symfony/web-profiler-bundle": {
"version": "3.3",
"recipe": {

View file