Skip to content

Commit ee6f47d

Browse files
committed
Working on app structure.
1 parent 262dec1 commit ee6f47d

19 files changed

+8
-7
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

app/src/Providers/RouteServiceProvider.php renamed to app/providers/RouteServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function map()
2525
{
2626
$this->app->booted(function()
2727
{
28-
require app('path.src').'/Http/routes.php';
28+
require app('path').'/routes.php';
2929
});
3030
}
3131

File renamed without changes.

bootstrap/paths.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@
6565
|
6666
*/
6767

68-
'commands' => __DIR__.'/../app/src/Console',
68+
'commands' => __DIR__.'/../app/console',
6969
'config' => __DIR__.'/../app/config',
70-
'controllers' => __DIR__.'/../app/src/Http/Controllers',
70+
'controllers' => __DIR__.'/../app/http/controllers',
7171
'database' => __DIR__.'/../app/database',
72-
'filters' => __DIR__.'/../app/src/Http/Filters',
72+
'filters' => __DIR__.'/../app/http/filters',
7373
'lang' => __DIR__.'/../app/lang',
74-
'requests' => __DIR__.'/../app/src/Http/Requests',
74+
'requests' => __DIR__.'/../app/http/requests',
7575
'src' => __DIR__.'/../app/src',
7676

7777
);

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
"autoload": {
1010
"classmap": [
1111
"app/database",
12-
"app/src",
12+
"app/http",
1313
"app/tests/TestCase.php"
1414
],
1515
"psr-4": {
16-
"App\\": "app/src/Core/"
16+
"App\\": "app/src/core/",
17+
"Providers\\": "app/providers/"
1718
}
1819
},
1920
"scripts": {

0 commit comments

Comments
 (0)