Permalink
Browse files

Update to latest L4 skeleton code

  • Loading branch information...
andrew13 committed Mar 20, 2013
1 parent 90f307d commit 396ba3a4d72cca4054c46c6e826c61e522d9d731
Showing with 71 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 app/config/app.php
  3. +18 −0 app/config/compile.php
  4. +31 −0 app/config/workbench.php
  5. +16 −0 bootstrap/autoload.php
  6. +4 −0 composer.json
View
@@ -1,3 +1,4 @@
+/bootstrap/compiled.php
/vendor
composer.phar
composer.lock
View
@@ -89,6 +89,7 @@
'Illuminate\Routing\ControllerServiceProvider',
'Illuminate\Cookie\CookieServiceProvider',
'Illuminate\Database\DatabaseServiceProvider',
+ 'Illuminate\Foundation\Providers\OptimizeServiceProvider',
'Illuminate\Encryption\EncryptionServiceProvider',
'Illuminate\Filesystem\FilesystemServiceProvider',
'Illuminate\Hashing\HashServiceProvider',
View
@@ -0,0 +1,18 @@
+<?php
+
+return array(
+
+ /*
+ |--------------------------------------------------------------------------
+ | Additional Compiled Classes
+ |--------------------------------------------------------------------------
+ |
+ | Here you may specify additional classes to include in the compiled file
+ | generated by the `artisan optimize` command. These should be classes
+ | that are included on basically every request into the application.
+ |
+ */
+
+
+
+);
View
@@ -0,0 +1,31 @@
+<?php
+
+return array(
+
+ /*
+ |--------------------------------------------------------------------------
+ | Workbench Author Name
+ |--------------------------------------------------------------------------
+ |
+ | When you create new packages via the Artisan "workbench" command your
+ | name is needed to generate the composer.json file for your package.
+ | You may specify it now so it is used for all of your workbenches.
+ |
+ */
+
+ 'name' => '',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Workbench Author E-Mail Address
+ |--------------------------------------------------------------------------
+ |
+ | Like the option above, your e-mail address is used when generating new
+ | workbench packages. The e-mail is placed in your composer.json file
+ | automatically whwen the package is created by the workbench tool.
+ |
+ */
+
+ 'email' => '',
+
+);
View
@@ -14,6 +14,22 @@
require __DIR__.'/../vendor/autoload.php';
+/*
+|--------------------------------------------------------------------------
+| Include The Compiled Class File
+|--------------------------------------------------------------------------
+|
+| To dramatically increase your application's performance, you may use a
+| compiled class file which contains all of the classes commonly used
+| by a request. The Artisan "optimize" is used to create this file.
+|
+*/
+
+if (file_exists($compiled = __DIR__.'/compiled.php'))
+{
+ require $compiled;
+}
+
/*
|--------------------------------------------------------------------------
| Register The Laravel Auto Loader
View
@@ -10,6 +10,7 @@
},
"autoload": {
"classmap": [
+
"app/commands",
"app/controllers",
"app/models",
@@ -18,5 +19,8 @@
"app/tests/TestCase.php"
]
},
+ "scripts": {
+ "post-update-cmd": "php artisan optimize"
+ },
"minimum-stability": "dev"
}

0 comments on commit 396ba3a

Please sign in to comment.