mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Working on the default app structure.
This commit is contained in:
parent
a5f4e74889
commit
9aae50e501
@ -1,3 +0,0 @@
|
|||||||
# Contribution Guidelines
|
|
||||||
|
|
||||||
Please submit all issues and pull requests to the [laravel/framework](http://github.com/laravel/framework) repository!
|
|
@ -27,9 +27,11 @@ require __DIR__.'/../vendor/autoload.php';
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (file_exists($compiled = __DIR__.'/compiled.php'))
|
$compiledPath = __DIR__.'/../storage/meta/compiled.php';
|
||||||
|
|
||||||
|
if (file_exists($compiledPath))
|
||||||
{
|
{
|
||||||
require $compiled;
|
require $compiledPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -65,12 +65,12 @@ return array(
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'commands' => __DIR__.'/../app/console',
|
'commands' => __DIR__.'/../app/Console',
|
||||||
'config' => __DIR__.'/../app/config',
|
'config' => __DIR__.'/../config',
|
||||||
'controllers' => __DIR__.'/../app/http/controllers',
|
'controllers' => __DIR__.'/../app/Http/Controllers',
|
||||||
'database' => __DIR__.'/../app/database',
|
'database' => __DIR__.'/../database',
|
||||||
'filters' => __DIR__.'/../app/http/filters',
|
'filters' => __DIR__.'/../app/Http/Filters',
|
||||||
'lang' => __DIR__.'/../app/lang',
|
'lang' => __DIR__.'/../lang',
|
||||||
'requests' => __DIR__.'/../app/http/requests',
|
'requests' => __DIR__.'/../app/Http/Requests',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -4,18 +4,22 @@
|
|||||||
"keywords": ["framework", "laravel"],
|
"keywords": ["framework", "laravel"],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"require": {
|
"require": {
|
||||||
"laravel/framework": "4.3.*"
|
"laravel/framework": "4.3.*",
|
||||||
|
"phpunit/phpunit": "~4.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"classmap": [
|
"classmap": [
|
||||||
"app/console",
|
"app/Console",
|
||||||
"app/database",
|
"app/Http/Controllers",
|
||||||
"app/http",
|
"database",
|
||||||
"app/tests/TestCase.php"
|
"app/Http/Filters",
|
||||||
|
"app/Providers",
|
||||||
|
"app/Http/Requests",
|
||||||
|
"tests/TestCase.php"
|
||||||
],
|
],
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"App\\": "app/core/",
|
"App\\": "app/Core/",
|
||||||
"Providers\\": "app/providers/"
|
"Providers\\": "app/Providers/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -14,7 +14,15 @@ return array(
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
'files' => array(
|
'files' => array(
|
||||||
//
|
|
||||||
|
__DIR__.'/../providers/AppServiceProvider.php',
|
||||||
|
__DIR__.'/../providers/ArtisanServiceProvider.php',
|
||||||
|
__DIR__.'/../providers/ErrorServiceProvider.php',
|
||||||
|
__DIR__.'/../providers/EventServiceProvider.php',
|
||||||
|
__DIR__.'/../providers/FilterServiceProvider.php',
|
||||||
|
__DIR__.'/../providers/LogServiceProvider.php',
|
||||||
|
__DIR__.'/../providers/RouteServiceProvider.php',
|
||||||
|
|
||||||
),
|
),
|
||||||
|
|
||||||
/*
|
/*
|
@ -13,7 +13,7 @@ return array(
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'paths' => array(__DIR__.'/../views'),
|
'paths' => array(app_path().'/Http/Views'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
@ -45,4 +45,5 @@ $app = require_once __DIR__.'/../bootstrap/start.php';
|
|||||||
| and wonderful application we have whipped up for them.
|
| and wonderful application we have whipped up for them.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$app->run();
|
$app->run();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user