-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving laravel 4 into develop branch.
- Loading branch information
1 parent
63bf89e
commit 5d99f9f
Showing
463 changed files
with
1,289 additions
and
65,192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,4 @@ | ||
# Numerous always-ignore extensions | ||
*.diff | ||
*.err | ||
*.orig | ||
*.log | ||
*.rej | ||
*.swo | ||
*.swp | ||
*.vi | ||
*~ | ||
*.sass-cache | ||
|
||
# OS or Editor folders | ||
.DS_Store | ||
Thumbs.db | ||
.cache | ||
.project | ||
.settings | ||
.tmproj | ||
*.esproj | ||
nbproject | ||
|
||
# Dreamweaver added files | ||
_notes | ||
dwsync.xml | ||
|
||
# Komodo | ||
*.komodoproject | ||
.komodotools | ||
|
||
# Folders to ignore | ||
.hg | ||
.svn | ||
.CVS | ||
intermediate | ||
publish | ||
.idea | ||
/vendor | ||
composer.phar | ||
composer.lock | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
# Pull request guidelines | ||
# Contribution Guidelines | ||
|
||
[GitHub pull requests](https://help.github.com/articles/using-pull-requests) are a great way for everyone in the community to contribute to the Laravel codebase. Found a bug? Just fix it in your fork and submit a pull request. This will then be reviewed, and, if found as good, merged into the main repository. | ||
|
||
In order to keep the codebase clean, stable and at high quality, even with so many people contributing, some guidelines are necessary for high-quality pull requests: | ||
|
||
- **Branch:** Unless they are immediate documentation fixes relevant for old versions, pull requests should be sent to the `develop` branch only. Make sure to select that branch as target when creating the pull request (GitHub will not automatically select it.) | ||
- **Documentation:** If you are adding a new feature or changing the API in any relevant way, this should be documented. The documentation files can be found directly in the core repository. | ||
- **Unit tests:** To keep old bugs from re-appearing and generally hold quality at a high level, the Laravel core is thoroughly unit-tested. Thus, when you create a pull request, it is expected that you unit test any new code you add. For any bug you fix, you should also add regression tests to make sure the bug will never appear again. If you are unsure about how to write tests, the core team or other contributors will gladly help. | ||
Please submit all issues and pull requests to the [laravel/framework](http://github.com/laravel/framework) repository! |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
<?php | ||
|
||
return array( | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Application Debug Mode | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When your application is in debug mode, detailed error messages with | ||
| stack traces will be shown on every error that occurs within your | ||
| application. If disabled, a simple generic error page is shown. | ||
| | ||
*/ | ||
|
||
'debug' => true, | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Application Timezone | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here you may specify the default timezone for your application, which | ||
| will be used by the PHP date and date-time functions. We have gone | ||
| ahead and set this to a sensible default for you out of the box. | ||
| | ||
*/ | ||
|
||
'timezone' => 'UTC', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Application Locale Configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The application locale determines the default locale that will be used | ||
| by the translation service provider. You are free to set this value | ||
| to any of the locales which will be supported by the application. | ||
| | ||
*/ | ||
|
||
'locale' => 'en', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Application Fallback Locale | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The fallback locale determines the locale to use when the current one | ||
| is not available. You may change the value to correspond to any of | ||
| the language folders that are provided through your application. | ||
| | ||
*/ | ||
|
||
'fallback_locale' => 'en', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Encryption Key | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This key is used by the Illuminate encrypter service and should be set | ||
| to a random, long string, otherwise these encrypted values will not | ||
| be safe. Make sure to change it before deploying any application! | ||
| | ||
*/ | ||
|
||
'key' => 'YourSecretKey!!!', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Autoloaded Service Providers | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The service providers listed here will be automatically loaded on the | ||
| request to your application. Feel free to add your own services to | ||
| this array to grant expanded functionality to your applications. | ||
| | ||
*/ | ||
|
||
'providers' => array( | ||
|
||
'Illuminate\Foundation\Providers\ArtisanServiceProvider', | ||
'Illuminate\Auth\AuthServiceProvider', | ||
'Illuminate\Cache\CacheServiceProvider', | ||
'Illuminate\Foundation\Providers\CommandCreatorServiceProvider', | ||
'Illuminate\Foundation\Providers\ComposerServiceProvider', | ||
'Illuminate\Routing\ControllerServiceProvider', | ||
'Illuminate\Cookie\CookieServiceProvider', | ||
'Illuminate\Database\DatabaseServiceProvider', | ||
'Illuminate\Encryption\EncryptionServiceProvider', | ||
'Illuminate\Filesystem\FilesystemServiceProvider', | ||
'Illuminate\Hashing\HashServiceProvider', | ||
'Illuminate\Foundation\Providers\KeyGeneratorServiceProvider', | ||
'Illuminate\Log\LogServiceProvider', | ||
'Illuminate\Mail\MailServiceProvider', | ||
'Illuminate\Database\MigrationServiceProvider', | ||
'Illuminate\Pagination\PaginationServiceProvider', | ||
'Illuminate\Foundation\Providers\PublisherServiceProvider', | ||
'Illuminate\Redis\RedisServiceProvider', | ||
'Illuminate\Database\SeedServiceProvider', | ||
'Illuminate\Foundation\Providers\ServerServiceProvider', | ||
'Illuminate\Session\SessionServiceProvider', | ||
'Illuminate\Foundation\Providers\TinkerServiceProvider', | ||
'Illuminate\Translation\TranslationServiceProvider', | ||
'Illuminate\Validation\ValidationServiceProvider', | ||
'Illuminate\View\ViewServiceProvider', | ||
'Illuminate\Workbench\WorkbenchServiceProvider', | ||
|
||
), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Service Provider Manifest | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The service provider manifest is used by Laravel to lazy load service | ||
| providers which are not needed for each request, as well to keep a | ||
| list of all of the services. Here, you may set its storage spot. | ||
| | ||
*/ | ||
|
||
'manifest' => __DIR__.'/../storage/meta', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Class Aliases | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This array of class aliases will be registered when this application | ||
| is started. However, feel free to register as many as you wish as | ||
| the aliases are "lazy" loaded so they don't hinder performance. | ||
| | ||
*/ | ||
|
||
'aliases' => array( | ||
|
||
'App' => 'Illuminate\Support\Facades\App', | ||
'Artisan' => 'Illuminate\Support\Facades\Artisan', | ||
'Auth' => 'Illuminate\Support\Facades\Auth', | ||
'Blade' => 'Illuminate\Support\Facades\Blade', | ||
'Cache' => 'Illuminate\Support\Facades\Cache', | ||
'Config' => 'Illuminate\Support\Facades\Config', | ||
'Controller' => 'Illuminate\Routing\Controllers\Controller', | ||
'Cookie' => 'Illuminate\Support\Facades\Cookie', | ||
'Crypt' => 'Illuminate\Support\Facades\Crypt', | ||
'DB' => 'Illuminate\Support\Facades\DB', | ||
'Eloquent' => 'Illuminate\Database\Eloquent\Model', | ||
'Event' => 'Illuminate\Support\Facades\Event', | ||
'File' => 'Illuminate\Support\Facades\File', | ||
'Hash' => 'Illuminate\Support\Facades\Hash', | ||
'Input' => 'Illuminate\Support\Facades\Input', | ||
'Lang' => 'Illuminate\Support\Facades\Lang', | ||
'Log' => 'Illuminate\Support\Facades\Log', | ||
'Mail' => 'Illuminate\Support\Facades\Mail', | ||
'Paginator' => 'Illuminate\Support\Facades\Paginator', | ||
'Redirect' => 'Illuminate\Support\Facades\Redirect', | ||
'Redis' => 'Illuminate\Support\Facades\Redis', | ||
'Request' => 'Illuminate\Support\Facades\Request', | ||
'Response' => 'Illuminate\Support\Facades\Response', | ||
'Route' => 'Illuminate\Support\Facades\Route', | ||
'Schema' => 'Illuminate\Support\Facades\Schema', | ||
'Session' => 'Illuminate\Support\Facades\Session', | ||
'URL' => 'Illuminate\Support\Facades\URL', | ||
'Validator' => 'Illuminate\Support\Facades\Validator', | ||
'View' => 'Illuminate\Support\Facades\View', | ||
|
||
), | ||
|
||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
|
||
return array( | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Default Authentication Driver | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This option controls the authentication driver that will be utilized. | ||
| This drivers manages the retrieval and authentication of the users | ||
| attempting to get access to protected areas of your application. | ||
| | ||
| Supported: "database", "eloquent" | ||
| | ||
*/ | ||
|
||
'driver' => 'eloquent', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Authentication Model | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "Eloquent" authentication driver, we need to know which | ||
| Eloquent model should be used to retrieve your users. Of course, it | ||
| is often just the "User" model but you may use whatever you like. | ||
| | ||
*/ | ||
|
||
'model' => 'User', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Authentication Table | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "Database" authentication driver, we need to know which | ||
| table should be used to retrieve your users. We have chosen a basic | ||
| default value but you may easily change it to any table you like. | ||
| | ||
*/ | ||
|
||
'table' => 'users', | ||
|
||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?php | ||
|
||
return array( | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Default Cache Driver | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This option controls the default cache "driver" that will be used when | ||
| using the Caching library. Of course, you may use other drivers any | ||
| time you wish. This is the default when another is not specified. | ||
| | ||
| Supported: "file", "database", "apc", "memcached", "redis", "array" | ||
| | ||
*/ | ||
|
||
'driver' => 'file', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| File Cache Location | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "file" cache driver, we need a location where the cache | ||
| files may be stored. A sensible default has been specified, but you | ||
| are free to change it to any other place on disk that you desire. | ||
| | ||
*/ | ||
|
||
'path' => __DIR__.'/../storage/cache', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Database Cache Connection | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "database" cache driver you may specify the connection | ||
| that should be used to store the cached items. When this option is | ||
| null the default database connection will be utilized for cache. | ||
| | ||
*/ | ||
|
||
'connection' => null, | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Database Cache Table | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When using the "database" cache driver we need to know the table that | ||
| should be used to store the cached items. A default table name has | ||
| been provided but you're free to change it however you deem fit. | ||
| | ||
*/ | ||
|
||
'table' => 'cache', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Memcached Servers | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Now you may specify an array of your Memcached servers that should be | ||
| used when utilizing the Memcached cache driver. All of the servers | ||
| should contain a value for "host", "port", and "weight" options. | ||
| | ||
*/ | ||
|
||
'memcached' => array( | ||
|
||
array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100), | ||
|
||
), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Cache Key Prefix | ||
|-------------------------------------------------------------------------- | ||
| | ||
| When utilizing a RAM based store such as APC or Memcached, there might | ||
| be other applications utilizing the same cache. So, we'll specify a | ||
| value to get prefixed to all our keys so we can avoid collisions. | ||
| | ||
*/ | ||
|
||
'prefix' => 'laravel', | ||
|
||
); |
Oops, something went wrong.