Browse Source

camera play; begin dummy camera

tags/0.1.0
Robin Thoni 9 years ago
parent
commit
71df84c7e0
53 changed files with 445 additions and 96 deletions
  1. 0
    0
      .gitignore
  2. 0
    0
      app/Console/Commands/.gitkeep
  3. 0
    0
      app/Console/Kernel.php
  4. 0
    0
      app/Events/Event.php
  5. 0
    0
      app/Exceptions/Handler.php
  6. 31
    0
      app/Http/Business/Cameras/AbstractCamera.php
  7. 25
    0
      app/Http/Business/Cameras/DummyCamera.php
  8. 32
    0
      app/Http/Business/CamerasBusiness.php
  9. 0
    0
      app/Http/Business/Commands/AbstractCommand.php
  10. 0
    0
      app/Http/Business/Commands/DummyCommand.php
  11. 0
    0
      app/Http/Business/CommandsBusiness.php
  12. 0
    0
      app/Http/Business/Sensors/AbstractSensor.php
  13. 0
    0
      app/Http/Business/Sensors/DummySensor.php
  14. 0
    0
      app/Http/Business/SensorsBusiness.php
  15. 22
    0
      app/Http/Controller/CamerasController.php
  16. 0
    0
      app/Http/Controller/CommandsController.php
  17. 0
    0
      app/Http/Controller/SensorsController.php
  18. 0
    0
      app/Http/DBO/CameraTypesDbo.php
  19. 0
    0
      app/Http/DBO/CamerasDbo.php
  20. 45
    0
      app/Http/DBO/CamerasImageDbo.php
  21. 0
    0
      app/Http/DBO/CommandTypesDbo.php
  22. 0
    0
      app/Http/DBO/CommandsDbo.php
  23. 0
    0
      app/Http/DBO/SensorTypesDbo.php
  24. 0
    0
      app/Http/DBO/SensorsDbo.php
  25. 0
    0
      app/Http/DBO/SensorsValueDbo.php
  26. 0
    0
      app/Http/Middleware/TokenMiddleware.php
  27. 2
    1
      app/Http/routes.php
  28. 0
    0
      app/Jobs/Job.php
  29. 0
    0
      app/Listeners/Listener.php
  30. 0
    0
      app/Providers/AppServiceProvider.php
  31. 0
    0
      app/Providers/EventServiceProvider.php
  32. 0
    0
      artisan
  33. 1
    1
      bootstrap/app.php
  34. 2
    1
      composer.json
  35. 285
    93
      composer.lock
  36. 0
    0
      database/factories/ModelFactory.php
  37. 0
    0
      database/migrations/.gitkeep
  38. 0
    0
      database/seeds/DatabaseSeeder.php
  39. 0
    0
      phpunit.xml
  40. 0
    0
      public/.htaccess
  41. 0
    0
      public/index.php
  42. 0
    0
      readme.md
  43. BIN
      resources/images/dummy_camera.jpg
  44. 0
    0
      resources/lang/en/validation.php
  45. 0
    0
      resources/views/.gitkeep
  46. 0
    0
      server.php
  47. 0
    0
      storage/app/.gitignore
  48. 0
    0
      storage/framework/cache/.gitignore
  49. 0
    0
      storage/framework/sessions/.gitignore
  50. 0
    0
      storage/framework/views/.gitignore
  51. 0
    0
      storage/logs/.gitignore
  52. 0
    0
      tests/ExampleTest.php
  53. 0
    0
      tests/TestCase.php

+ 0
- 0
.gitignore View File


+ 0
- 0
app/Console/Commands/.gitkeep View File


+ 0
- 0
app/Console/Kernel.php View File


+ 0
- 0
app/Events/Event.php View File


+ 0
- 0
app/Exceptions/Handler.php View File


+ 31
- 0
app/Http/Business/Cameras/AbstractCamera.php View File

@@ -0,0 +1,31 @@
1
+<?php
2
+/**
3
+ * Created by PhpStorm.
4
+ * User: robin
5
+ * Date: 11/24/15
6
+ * Time: 12:53 PM
7
+ */
8
+
9
+namespace app\Http\Business\Cameras;
10
+
11
+
12
+use App\Http\DBO\CamerasDbo;
13
+use app\Http\DBO\CamerasImageDbo;
14
+
15
+abstract class AbstractCamera
16
+{
17
+    /**
18
+     * @var CamerasDbo
19
+     */
20
+    protected $_camera;
21
+
22
+    public function __construct(CamerasDbo $camera)
23
+    {
24
+        $this->_camera = $camera;
25
+    }
26
+
27
+    /**
28
+     * @return CamerasImageDbo
29
+     */
30
+    public abstract function getImage();
31
+}

+ 25
- 0
app/Http/Business/Cameras/DummyCamera.php View File

@@ -0,0 +1,25 @@
1
+<?php
2
+/**
3
+ * Created by PhpStorm.
4
+ * User: robin
5
+ * Date: 11/24/15
6
+ * Time: 12:56 PM
7
+ */
8
+
9
+namespace App\Http\Business\Cameras;
10
+
11
+
12
+use App\Http\DBO\CamerasImageDbo;
13
+
14
+class DummyCamera extends AbstractCamera
15
+{
16
+    /**
17
+     * @return CamerasImageDbo
18
+     */
19
+    public function getImage()
20
+    {
21
+        $imageDbo = new CamerasImageDbo();
22
+        $imageDbo->setImage(42);
23
+        return $imageDbo;
24
+    }
25
+}

+ 32
- 0
app/Http/Business/CamerasBusiness.php View File

@@ -0,0 +1,32 @@
1
+<?php
2
+
3
+namespace App\Http\Business;
4
+
5
+use app\Http\Business\Camera\AbstractCamera;
6
+use App\Http\DBO\CamerasDbo;
7
+use app\Http\DBO\CamerasImageDbo;
8
+use App\Http\DBO\CameraTypesDbo;
9
+
10
+/**
11
+ * Created by PhpStorm.
12
+ * User: robin
13
+ * Date: 11/23/15
14
+ * Time: 11:59 PM
15
+ */
16
+class CamerasBusiness
17
+{
18
+    /**
19
+     * @param CamerasDbo $camera
20
+     * @param CameraTypesDbo $type
21
+     * @return CamerasImageDbo
22
+     */
23
+    public static function getImage(CamerasDbo $camera, CameraTypesDbo $type)
24
+    {
25
+        /**
26
+         * @var $sens AbstractCamera
27
+         */
28
+        $class = $type->getClass();
29
+        $sens = new $class($camera);
30
+        return $sens->getImage();
31
+    }
32
+}

+ 0
- 0
app/Http/Business/Commands/AbstractCommand.php View File


+ 0
- 0
app/Http/Business/Commands/DummyCommand.php View File


+ 0
- 0
app/Http/Business/CommandsBusiness.php View File


+ 0
- 0
app/Http/Business/Sensors/AbstractSensor.php View File


+ 0
- 0
app/Http/Business/Sensors/DummySensor.php View File


+ 0
- 0
app/Http/Business/SensorsBusiness.php View File


+ 22
- 0
app/Http/Controller/CamerasController.php View File

@@ -0,0 +1,22 @@
1
+<?php
2
+/**
3
+ * Created by PhpStorm.
4
+ * User: robin
5
+ * Date: 11/23/15
6
+ * Time: 11:44 PM
7
+ */
8
+
9
+namespace App\Http\Controller;
10
+
11
+use App\Http\Business\CamerasBusiness;
12
+use App\Http\DBO\CamerasDbo;
13
+use App\Http\DBO\CameraTypesDbo;
14
+use Laravel\Lumen\Routing\Controller as BaseController;
15
+
16
+class CamerasController extends BaseController
17
+{
18
+    public function getImage(CamerasDbo $camera, CameraTypesDbo $type)
19
+    {
20
+        return CamerasBusiness::getImage($camera, $type);
21
+    }
22
+}

+ 0
- 0
app/Http/Controller/CommandsController.php View File


+ 0
- 0
app/Http/Controller/SensorsController.php View File


+ 0
- 0
app/Http/DBO/CameraTypesDbo.php View File


+ 0
- 0
app/Http/DBO/CamerasDbo.php View File


+ 45
- 0
app/Http/DBO/CamerasImageDbo.php View File

@@ -0,0 +1,45 @@
1
+<?php
2
+/**
3
+ * Created by PhpStorm.
4
+ * User: robin
5
+ * Date: 11/24/15
6
+ * Time: 12:26 PM
7
+ */
8
+
9
+namespace app\Http\DBO;
10
+
11
+
12
+use Luticate\Utils\LuDbo;
13
+
14
+class CamerasImageDbo extends LuDbo
15
+{
16
+    /**
17
+     * Specify data which should be serialized to JSON
18
+     * @link http://php.net/manual/en/jsonserializable.jsonserialize.php
19
+     * @return mixed data which can be serialized by <b>json_encode</b>,
20
+     * which is a value of any type other than a resource.
21
+     * @since 5.4.0
22
+     */
23
+    function jsonSerialize()
24
+    {
25
+        return [
26
+            "Image" => $this->_image
27
+        ];
28
+    }
29
+
30
+    private $_image;
31
+    /**
32
+     * @return mixed
33
+     */
34
+    public function getImage()
35
+    {
36
+        return $this->_image;
37
+    }
38
+    /**
39
+     * @param mixed $image
40
+     */
41
+    public function setImage($image)
42
+    {
43
+        $this->_image = $image;
44
+    }
45
+}

+ 0
- 0
app/Http/DBO/CommandTypesDbo.php View File


+ 0
- 0
app/Http/DBO/CommandsDbo.php View File


+ 0
- 0
app/Http/DBO/SensorTypesDbo.php View File


+ 0
- 0
app/Http/DBO/SensorsDbo.php View File


+ 0
- 0
app/Http/DBO/SensorsValueDbo.php View File


+ 0
- 0
app/Http/Middleware/TokenMiddleware.php View File


+ 2
- 1
app/Http/routes.php View File

@@ -18,4 +18,5 @@ $route = LuRoute::getInstance();
18 18
 $route->addMiddleware('App\Http\Middleware\TokenMiddleware');
19 19
 
20 20
 $route->post("/commands/exec", "Commands", "exec");
21
-$route->post("/sensors/value", "Sensors", "getValue");
21
+$route->post("/sensors/value", "Sensors", "getValue");
22
+$route->post("/cameras/image", "Cameras", "getImage");

+ 0
- 0
app/Jobs/Job.php View File


+ 0
- 0
app/Listeners/Listener.php View File


+ 0
- 0
app/Providers/AppServiceProvider.php View File


+ 0
- 0
app/Providers/EventServiceProvider.php View File


+ 0
- 0
artisan View File


+ 1
- 1
bootstrap/app.php View File

@@ -19,7 +19,7 @@ $app = new Laravel\Lumen\Application(
19 19
     realpath(__DIR__.'/../')
20 20
 );
21 21
 
22
-//$app->withFacades();
22
+$app->withFacades();
23 23
 
24 24
 //$app->withEloquent();
25 25
 

+ 2
- 1
composer.json View File

@@ -12,7 +12,8 @@
12 12
         "php": ">=5.5.9",
13 13
         "laravel/lumen-framework": "5.1.*",
14 14
         "vlucas/phpdotenv": "~1.0",
15
-        "luticate/utils": "0.1.x"
15
+        "luticate/utils": "0.1.x",
16
+        "imagine/imagine": "^0.6.3"
16 17
     },
17 18
     "require-dev": {
18 19
         "phpunit/phpunit": "~4.0",

+ 285
- 93
composer.lock View File

@@ -4,8 +4,8 @@
4 4
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
5 5
         "This file is @generated automatically"
6 6
     ],
7
-    "hash": "a02f9d0018709933563b482de05b7e38",
8
-    "content-hash": "e892d6a5c111419367d07d9fe69ec71d",
7
+    "hash": "dea3dc2239d27bc91939d5b7a03005bb",
8
+    "content-hash": "7695630f903cb71a2d515af94ba7ce33",
9 9
     "packages": [
10 10
         {
11 11
             "name": "danielstjules/stringy",
@@ -130,6 +130,177 @@
130 130
             ],
131 131
             "time": "2015-11-06 14:35:42"
132 132
         },
133
+        {
134
+            "name": "guzzlehttp/guzzle",
135
+            "version": "6.1.1",
136
+            "source": {
137
+                "type": "git",
138
+                "url": "https://github.com/guzzle/guzzle.git",
139
+                "reference": "c6851d6e48f63b69357cbfa55bca116448140e0c"
140
+            },
141
+            "dist": {
142
+                "type": "zip",
143
+                "url": "https://api.github.com/repos/guzzle/guzzle/zipball/c6851d6e48f63b69357cbfa55bca116448140e0c",
144
+                "reference": "c6851d6e48f63b69357cbfa55bca116448140e0c",
145
+                "shasum": ""
146
+            },
147
+            "require": {
148
+                "guzzlehttp/promises": "~1.0",
149
+                "guzzlehttp/psr7": "~1.1",
150
+                "php": ">=5.5.0"
151
+            },
152
+            "require-dev": {
153
+                "ext-curl": "*",
154
+                "phpunit/phpunit": "~4.0",
155
+                "psr/log": "~1.0"
156
+            },
157
+            "type": "library",
158
+            "extra": {
159
+                "branch-alias": {
160
+                    "dev-master": "6.1-dev"
161
+                }
162
+            },
163
+            "autoload": {
164
+                "files": [
165
+                    "src/functions_include.php"
166
+                ],
167
+                "psr-4": {
168
+                    "GuzzleHttp\\": "src/"
169
+                }
170
+            },
171
+            "notification-url": "https://packagist.org/downloads/",
172
+            "license": [
173
+                "MIT"
174
+            ],
175
+            "authors": [
176
+                {
177
+                    "name": "Michael Dowling",
178
+                    "email": "mtdowling@gmail.com",
179
+                    "homepage": "https://github.com/mtdowling"
180
+                }
181
+            ],
182
+            "description": "Guzzle is a PHP HTTP client library",
183
+            "homepage": "http://guzzlephp.org/",
184
+            "keywords": [
185
+                "client",
186
+                "curl",
187
+                "framework",
188
+                "http",
189
+                "http client",
190
+                "rest",
191
+                "web service"
192
+            ],
193
+            "time": "2015-11-23 00:47:50"
194
+        },
195
+        {
196
+            "name": "guzzlehttp/promises",
197
+            "version": "1.0.3",
198
+            "source": {
199
+                "type": "git",
200
+                "url": "https://github.com/guzzle/promises.git",
201
+                "reference": "b1e1c0d55f8083c71eda2c28c12a228d708294ea"
202
+            },
203
+            "dist": {
204
+                "type": "zip",
205
+                "url": "https://api.github.com/repos/guzzle/promises/zipball/b1e1c0d55f8083c71eda2c28c12a228d708294ea",
206
+                "reference": "b1e1c0d55f8083c71eda2c28c12a228d708294ea",
207
+                "shasum": ""
208
+            },
209
+            "require": {
210
+                "php": ">=5.5.0"
211
+            },
212
+            "require-dev": {
213
+                "phpunit/phpunit": "~4.0"
214
+            },
215
+            "type": "library",
216
+            "extra": {
217
+                "branch-alias": {
218
+                    "dev-master": "1.0-dev"
219
+                }
220
+            },
221
+            "autoload": {
222
+                "psr-4": {
223
+                    "GuzzleHttp\\Promise\\": "src/"
224
+                },
225
+                "files": [
226
+                    "src/functions_include.php"
227
+                ]
228
+            },
229
+            "notification-url": "https://packagist.org/downloads/",
230
+            "license": [
231
+                "MIT"
232
+            ],
233
+            "authors": [
234
+                {
235
+                    "name": "Michael Dowling",
236
+                    "email": "mtdowling@gmail.com",
237
+                    "homepage": "https://github.com/mtdowling"
238
+                }
239
+            ],
240
+            "description": "Guzzle promises library",
241
+            "keywords": [
242
+                "promise"
243
+            ],
244
+            "time": "2015-10-15 22:28:00"
245
+        },
246
+        {
247
+            "name": "guzzlehttp/psr7",
248
+            "version": "1.2.1",
249
+            "source": {
250
+                "type": "git",
251
+                "url": "https://github.com/guzzle/psr7.git",
252
+                "reference": "4d0bdbe1206df7440219ce14c972aa57cc5e4982"
253
+            },
254
+            "dist": {
255
+                "type": "zip",
256
+                "url": "https://api.github.com/repos/guzzle/psr7/zipball/4d0bdbe1206df7440219ce14c972aa57cc5e4982",
257
+                "reference": "4d0bdbe1206df7440219ce14c972aa57cc5e4982",
258
+                "shasum": ""
259
+            },
260
+            "require": {
261
+                "php": ">=5.4.0",
262
+                "psr/http-message": "~1.0"
263
+            },
264
+            "provide": {
265
+                "psr/http-message-implementation": "1.0"
266
+            },
267
+            "require-dev": {
268
+                "phpunit/phpunit": "~4.0"
269
+            },
270
+            "type": "library",
271
+            "extra": {
272
+                "branch-alias": {
273
+                    "dev-master": "1.0-dev"
274
+                }
275
+            },
276
+            "autoload": {
277
+                "psr-4": {
278
+                    "GuzzleHttp\\Psr7\\": "src/"
279
+                },
280
+                "files": [
281
+                    "src/functions_include.php"
282
+                ]
283
+            },
284
+            "notification-url": "https://packagist.org/downloads/",
285
+            "license": [
286
+                "MIT"
287
+            ],
288
+            "authors": [
289
+                {
290
+                    "name": "Michael Dowling",
291
+                    "email": "mtdowling@gmail.com",
292
+                    "homepage": "https://github.com/mtdowling"
293
+                }
294
+            ],
295
+            "description": "PSR-7 message implementation",
296
+            "keywords": [
297
+                "http",
298
+                "message",
299
+                "stream",
300
+                "uri"
301
+            ],
302
+            "time": "2015-11-03 01:34:55"
303
+        },
133 304
         {
134 305
             "name": "illuminate/auth",
135 306
             "version": "v5.1.22",
@@ -1234,6 +1405,63 @@
1234 1405
             "homepage": "http://laravel.com",
1235 1406
             "time": "2015-10-19 06:01:02"
1236 1407
         },
1408
+        {
1409
+            "name": "imagine/imagine",
1410
+            "version": "v0.6.3",
1411
+            "source": {
1412
+                "type": "git",
1413
+                "url": "https://github.com/avalanche123/Imagine.git",
1414
+                "reference": "149041d2a1b517107bfe270ca2b1a17aa341715d"
1415
+            },
1416
+            "dist": {
1417
+                "type": "zip",
1418
+                "url": "https://api.github.com/repos/avalanche123/Imagine/zipball/149041d2a1b517107bfe270ca2b1a17aa341715d",
1419
+                "reference": "149041d2a1b517107bfe270ca2b1a17aa341715d",
1420
+                "shasum": ""
1421
+            },
1422
+            "require": {
1423
+                "php": ">=5.3.2"
1424
+            },
1425
+            "require-dev": {
1426
+                "sami/sami": "dev-master"
1427
+            },
1428
+            "suggest": {
1429
+                "ext-gd": "to use the GD implementation",
1430
+                "ext-gmagick": "to use the Gmagick implementation",
1431
+                "ext-imagick": "to use the Imagick implementation"
1432
+            },
1433
+            "type": "library",
1434
+            "extra": {
1435
+                "branch-alias": {
1436
+                    "dev-develop": "0.7-dev"
1437
+                }
1438
+            },
1439
+            "autoload": {
1440
+                "psr-0": {
1441
+                    "Imagine": "lib/"
1442
+                }
1443
+            },
1444
+            "notification-url": "https://packagist.org/downloads/",
1445
+            "license": [
1446
+                "MIT"
1447
+            ],
1448
+            "authors": [
1449
+                {
1450
+                    "name": "Bulat Shakirzyanov",
1451
+                    "email": "mallluhuct@gmail.com",
1452
+                    "homepage": "http://avalanche123.com"
1453
+                }
1454
+            ],
1455
+            "description": "Image processing for PHP 5.3",
1456
+            "homepage": "http://imagine.readthedocs.org/",
1457
+            "keywords": [
1458
+                "drawing",
1459
+                "graphics",
1460
+                "image manipulation",
1461
+                "image processing"
1462
+            ],
1463
+            "time": "2015-09-19 16:54:05"
1464
+        },
1237 1465
         {
1238 1466
             "name": "laravel/lumen-framework",
1239 1467
             "version": "v5.1.6",
@@ -1322,11 +1550,14 @@
1322 1550
         },
1323 1551
         {
1324 1552
             "name": "luticate/utils",
1325
-            "version": "0.1.1",
1553
+            "version": "0.1.2",
1326 1554
             "source": {
1327 1555
                 "type": "git",
1328 1556
                 "url": "https://git.rthoni.com/luticate/utils.git",
1329
-                "reference": "8965564e6a6b329918ba7e4e9ebcfc9e98f71edc"
1557
+                "reference": "778e4ca0797cdc4691dcdbba9000050f7d9f7e32"
1558
+            },
1559
+            "require": {
1560
+                "guzzlehttp/guzzle": "^6.1"
1330 1561
             },
1331 1562
             "type": "library",
1332 1563
             "autoload": {
@@ -1341,7 +1572,7 @@
1341 1572
                 }
1342 1573
             ],
1343 1574
             "description": "Luticate user management system utils",
1344
-            "time": "2015-11-12 14:55:00"
1575
+            "time": "2015-11-23 23:27:20"
1345 1576
         },
1346 1577
         {
1347 1578
             "name": "monolog/monolog",
@@ -1602,6 +1833,55 @@
1602 1833
             ],
1603 1834
             "time": "2015-11-10 00:45:41"
1604 1835
         },
1836
+        {
1837
+            "name": "psr/http-message",
1838
+            "version": "1.0",
1839
+            "source": {
1840
+                "type": "git",
1841
+                "url": "https://github.com/php-fig/http-message.git",
1842
+                "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298"
1843
+            },
1844
+            "dist": {
1845
+                "type": "zip",
1846
+                "url": "https://api.github.com/repos/php-fig/http-message/zipball/85d63699f0dbedb190bbd4b0d2b9dc707ea4c298",
1847
+                "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298",
1848
+                "shasum": ""
1849
+            },
1850
+            "require": {
1851
+                "php": ">=5.3.0"
1852
+            },
1853
+            "type": "library",
1854
+            "extra": {
1855
+                "branch-alias": {
1856
+                    "dev-master": "1.0.x-dev"
1857
+                }
1858
+            },
1859
+            "autoload": {
1860
+                "psr-4": {
1861
+                    "Psr\\Http\\Message\\": "src/"
1862
+                }
1863
+            },
1864
+            "notification-url": "https://packagist.org/downloads/",
1865
+            "license": [
1866
+                "MIT"
1867
+            ],
1868
+            "authors": [
1869
+                {
1870
+                    "name": "PHP-FIG",
1871
+                    "homepage": "http://www.php-fig.org/"
1872
+                }
1873
+            ],
1874
+            "description": "Common interface for HTTP messages",
1875
+            "keywords": [
1876
+                "http",
1877
+                "http-message",
1878
+                "psr",
1879
+                "psr-7",
1880
+                "request",
1881
+                "response"
1882
+            ],
1883
+            "time": "2015-05-04 20:22:00"
1884
+        },
1605 1885
         {
1606 1886
             "name": "psr/log",
1607 1887
             "version": "1.0.0",
@@ -2446,33 +2726,6 @@
2446 2726
             ],
2447 2727
             "time": "2015-05-29 06:29:14"
2448 2728
         },
2449
-        {
2450
-            "name": "luticate/doc",
2451
-            "version": "0.1.1",
2452
-            "source": {
2453
-                "type": "git",
2454
-                "url": "https://git.rthoni.com/luticate/doc.git",
2455
-                "reference": "40f383f1f7cb44ff8639960e52424765e18f06ec"
2456
-            },
2457
-            "require": {
2458
-                "luticate/utils": "0.1.x",
2459
-                "twig/twig": "1.x"
2460
-            },
2461
-            "type": "library",
2462
-            "autoload": {
2463
-                "psr-4": {
2464
-                    "Luticate\\": "src/"
2465
-                }
2466
-            },
2467
-            "authors": [
2468
-                {
2469
-                    "name": "Robin THONI",
2470
-                    "email": "robin@rthoni.com"
2471
-                }
2472
-            ],
2473
-            "description": "Luticate documentation generator",
2474
-            "time": "2015-11-12 15:18:54"
2475
-        },
2476 2729
         {
2477 2730
             "name": "phpdocumentor/reflection-docblock",
2478 2731
             "version": "2.0.4",
@@ -3369,67 +3622,6 @@
3369 3622
             "description": "Symfony Yaml Component",
3370 3623
             "homepage": "https://symfony.com",
3371 3624
             "time": "2015-11-18 13:41:01"
3372
-        },
3373
-        {
3374
-            "name": "twig/twig",
3375
-            "version": "v1.23.1",
3376
-            "source": {
3377
-                "type": "git",
3378
-                "url": "https://github.com/twigphp/Twig.git",
3379
-                "reference": "d9b6333ae8dd2c8e3fd256e127548def0bc614c6"
3380
-            },
3381
-            "dist": {
3382
-                "type": "zip",
3383
-                "url": "https://api.github.com/repos/twigphp/Twig/zipball/d9b6333ae8dd2c8e3fd256e127548def0bc614c6",
3384
-                "reference": "d9b6333ae8dd2c8e3fd256e127548def0bc614c6",
3385
-                "shasum": ""
3386
-            },
3387
-            "require": {
3388
-                "php": ">=5.2.7"
3389
-            },
3390
-            "require-dev": {
3391
-                "symfony/debug": "~2.7",
3392
-                "symfony/phpunit-bridge": "~2.7"
3393
-            },
3394
-            "type": "library",
3395
-            "extra": {
3396
-                "branch-alias": {
3397
-                    "dev-master": "1.23-dev"
3398
-                }
3399
-            },
3400
-            "autoload": {
3401
-                "psr-0": {
3402
-                    "Twig_": "lib/"
3403
-                }
3404
-            },
3405
-            "notification-url": "https://packagist.org/downloads/",
3406
-            "license": [
3407
-                "BSD-3-Clause"
3408
-            ],
3409
-            "authors": [
3410
-                {
3411
-                    "name": "Fabien Potencier",
3412
-                    "email": "fabien@symfony.com",
3413
-                    "homepage": "http://fabien.potencier.org",
3414
-                    "role": "Lead Developer"
3415
-                },
3416
-                {
3417
-                    "name": "Armin Ronacher",
3418
-                    "email": "armin.ronacher@active-4.com",
3419
-                    "role": "Project Founder"
3420
-                },
3421
-                {
3422
-                    "name": "Twig Team",
3423
-                    "homepage": "http://twig.sensiolabs.org/contributors",
3424
-                    "role": "Contributors"
3425
-                }
3426
-            ],
3427
-            "description": "Twig, the flexible, fast, and secure template language for PHP",
3428
-            "homepage": "http://twig.sensiolabs.org",
3429
-            "keywords": [
3430
-                "templating"
3431
-            ],
3432
-            "time": "2015-11-05 12:49:06"
3433 3625
         }
3434 3626
     ],
3435 3627
     "aliases": [],

+ 0
- 0
database/factories/ModelFactory.php View File


+ 0
- 0
database/migrations/.gitkeep View File


+ 0
- 0
database/seeds/DatabaseSeeder.php View File


+ 0
- 0
phpunit.xml View File


+ 0
- 0
public/.htaccess View File


+ 0
- 0
public/index.php View File


+ 0
- 0
readme.md View File


BIN
resources/images/dummy_camera.jpg View File


+ 0
- 0
resources/lang/en/validation.php View File


+ 0
- 0
resources/views/.gitkeep View File


+ 0
- 0
server.php View File


+ 0
- 0
storage/app/.gitignore View File


+ 0
- 0
storage/framework/cache/.gitignore View File


+ 0
- 0
storage/framework/sessions/.gitignore View File


+ 0
- 0
storage/framework/views/.gitignore View File


+ 0
- 0
storage/logs/.gitignore View File


+ 0
- 0
tests/ExampleTest.php View File


+ 0
- 0
tests/TestCase.php View File


Loading…
Cancel
Save