Commit ee6f47dc authored by Taylor Otwell's avatar Taylor Otwell

Working on app structure.

parent 262dec16
...@@ -25,7 +25,7 @@ class RouteServiceProvider extends ServiceProvider { ...@@ -25,7 +25,7 @@ class RouteServiceProvider extends ServiceProvider {
{ {
$this->app->booted(function() $this->app->booted(function()
{ {
require app('path.src').'/Http/routes.php'; require app('path').'/routes.php';
}); });
} }
......
...@@ -65,13 +65,13 @@ return array( ...@@ -65,13 +65,13 @@ return array(
| |
*/ */
'commands' => __DIR__.'/../app/src/Console', 'commands' => __DIR__.'/../app/console',
'config' => __DIR__.'/../app/config', 'config' => __DIR__.'/../app/config',
'controllers' => __DIR__.'/../app/src/Http/Controllers', 'controllers' => __DIR__.'/../app/http/controllers',
'database' => __DIR__.'/../app/database', 'database' => __DIR__.'/../app/database',
'filters' => __DIR__.'/../app/src/Http/Filters', 'filters' => __DIR__.'/../app/http/filters',
'lang' => __DIR__.'/../app/lang', 'lang' => __DIR__.'/../app/lang',
'requests' => __DIR__.'/../app/src/Http/Requests', 'requests' => __DIR__.'/../app/http/requests',
'src' => __DIR__.'/../app/src', 'src' => __DIR__.'/../app/src',
); );
...@@ -9,11 +9,12 @@ ...@@ -9,11 +9,12 @@
"autoload": { "autoload": {
"classmap": [ "classmap": [
"app/database", "app/database",
"app/src", "app/http",
"app/tests/TestCase.php" "app/tests/TestCase.php"
], ],
"psr-4": { "psr-4": {
"App\\": "app/src/Core/" "App\\": "app/src/core/",
"Providers\\": "app/providers/"
} }
}, },
"scripts": { "scripts": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment