Skip to content

Commit 8b890fa

Browse files
committed
Initial source commit
1 parent 3612ae2 commit 8b890fa

File tree

107 files changed

+23346
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+23346
-1
lines changed

Diff for: .gitignore

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
/bootstrap/compiled.php
1+
vendor/
2+
node_modules/
3+
4+
# Laravel 4 specific
5+
bootstrap/compiled.php
6+
app/storage/
7+
8+
# Laravel 5 & Lumen specific
9+
bootstrap/cache/
10+
storage/
211
.env.*.php
312
.env.php
413
.env
14+
.env.example

Diff for: CONTRIBUTING.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contribution Guidelines
2+
3+
Please submit all issues and pull requests to the [laravel/framework](http://github.com/laravel/framework) repository!

Diff for: LICENSE

100644100755
File mode changed.

Diff for: app/commands/.gitkeep

Whitespace-only changes.

Diff for: app/config/app.php

+194
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Application Debug Mode
8+
|--------------------------------------------------------------------------
9+
|
10+
| When your application is in debug mode, detailed error messages with
11+
| stack traces will be shown on every error that occurs within your
12+
| application. If disabled, a simple generic error page is shown.
13+
|
14+
*/
15+
16+
'debug' => true,
17+
18+
/*
19+
|--------------------------------------------------------------------------
20+
| Application URL
21+
|--------------------------------------------------------------------------
22+
|
23+
| This URL is used by the console to properly generate URLs when using
24+
| the Artisan command line tool. You should set this to the root of
25+
| your application so that it is used when running Artisan tasks.
26+
|
27+
*/
28+
29+
'url' => 'http://localhost',
30+
31+
/*
32+
|--------------------------------------------------------------------------
33+
| Application Timezone
34+
|--------------------------------------------------------------------------
35+
|
36+
| Here you may specify the default timezone for your application, which
37+
| will be used by the PHP date and date-time functions. We have gone
38+
| ahead and set this to a sensible default for you out of the box.
39+
|
40+
*/
41+
42+
'timezone' => 'UTC',
43+
44+
/*
45+
|--------------------------------------------------------------------------
46+
| Application Locale Configuration
47+
|--------------------------------------------------------------------------
48+
|
49+
| The application locale determines the default locale that will be used
50+
| by the translation service provider. You are free to set this value
51+
| to any of the locales which will be supported by the application.
52+
|
53+
*/
54+
55+
'locale' => 'en',
56+
57+
/*
58+
|--------------------------------------------------------------------------
59+
| Application Fallback Locale
60+
|--------------------------------------------------------------------------
61+
|
62+
| The fallback locale determines the locale to use when the current one
63+
| is not available. You may change the value to correspond to any of
64+
| the language folders that are provided through your application.
65+
|
66+
*/
67+
68+
'fallback_locale' => 'en',
69+
70+
/*
71+
|--------------------------------------------------------------------------
72+
| Encryption Key
73+
|--------------------------------------------------------------------------
74+
|
75+
| This key is used by the Illuminate encrypter service and should be set
76+
| to a random, 32 character string, otherwise these encrypted strings
77+
| will not be safe. Please do this before deploying an application!
78+
|
79+
*/
80+
81+
'key' => 'J482oy8wMvQbUL804jDhw4LzmW2P5rIr',
82+
83+
'cipher' => MCRYPT_RIJNDAEL_128,
84+
85+
/*
86+
|--------------------------------------------------------------------------
87+
| Autoloaded Service Providers
88+
|--------------------------------------------------------------------------
89+
|
90+
| The service providers listed here will be automatically loaded on the
91+
| request to your application. Feel free to add your own services to
92+
| this array to grant expanded functionality to your applications.
93+
|
94+
*/
95+
96+
'providers' => array(
97+
98+
'Illuminate\Foundation\Providers\ArtisanServiceProvider',
99+
'Illuminate\Auth\AuthServiceProvider',
100+
'Illuminate\Cache\CacheServiceProvider',
101+
'Illuminate\Session\CommandsServiceProvider',
102+
'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider',
103+
'Illuminate\Routing\ControllerServiceProvider',
104+
'Illuminate\Cookie\CookieServiceProvider',
105+
'Illuminate\Database\DatabaseServiceProvider',
106+
'Illuminate\Encryption\EncryptionServiceProvider',
107+
'Illuminate\Filesystem\FilesystemServiceProvider',
108+
'Illuminate\Hashing\HashServiceProvider',
109+
'Illuminate\Html\HtmlServiceProvider',
110+
'Illuminate\Log\LogServiceProvider',
111+
'Illuminate\Mail\MailServiceProvider',
112+
'Illuminate\Database\MigrationServiceProvider',
113+
'Illuminate\Pagination\PaginationServiceProvider',
114+
'Illuminate\Queue\QueueServiceProvider',
115+
'Illuminate\Redis\RedisServiceProvider',
116+
'Illuminate\Remote\RemoteServiceProvider',
117+
'Illuminate\Auth\Reminders\ReminderServiceProvider',
118+
'Illuminate\Database\SeedServiceProvider',
119+
'Illuminate\Session\SessionServiceProvider',
120+
'Illuminate\Translation\TranslationServiceProvider',
121+
'Illuminate\Validation\ValidationServiceProvider',
122+
'Illuminate\View\ViewServiceProvider',
123+
'Illuminate\Workbench\WorkbenchServiceProvider',
124+
125+
),
126+
127+
/*
128+
|--------------------------------------------------------------------------
129+
| Service Provider Manifest
130+
|--------------------------------------------------------------------------
131+
|
132+
| The service provider manifest is used by Laravel to lazy load service
133+
| providers which are not needed for each request, as well to keep a
134+
| list of all of the services. Here, you may set its storage spot.
135+
|
136+
*/
137+
138+
'manifest' => storage_path().'/meta',
139+
140+
/*
141+
|--------------------------------------------------------------------------
142+
| Class Aliases
143+
|--------------------------------------------------------------------------
144+
|
145+
| This array of class aliases will be registered when this application
146+
| is started. However, feel free to register as many as you wish as
147+
| the aliases are "lazy" loaded so they don't hinder performance.
148+
|
149+
*/
150+
151+
'aliases' => array(
152+
153+
'App' => 'Illuminate\Support\Facades\App',
154+
'Artisan' => 'Illuminate\Support\Facades\Artisan',
155+
'Auth' => 'Illuminate\Support\Facades\Auth',
156+
'Blade' => 'Illuminate\Support\Facades\Blade',
157+
'Cache' => 'Illuminate\Support\Facades\Cache',
158+
'ClassLoader' => 'Illuminate\Support\ClassLoader',
159+
'Config' => 'Illuminate\Support\Facades\Config',
160+
'Controller' => 'Illuminate\Routing\Controller',
161+
'Cookie' => 'Illuminate\Support\Facades\Cookie',
162+
'Crypt' => 'Illuminate\Support\Facades\Crypt',
163+
'DB' => 'Illuminate\Support\Facades\DB',
164+
'Eloquent' => 'Illuminate\Database\Eloquent\Model',
165+
'Event' => 'Illuminate\Support\Facades\Event',
166+
'File' => 'Illuminate\Support\Facades\File',
167+
'Form' => 'Illuminate\Support\Facades\Form',
168+
'Hash' => 'Illuminate\Support\Facades\Hash',
169+
'HTML' => 'Illuminate\Support\Facades\HTML',
170+
'Input' => 'Illuminate\Support\Facades\Input',
171+
'Lang' => 'Illuminate\Support\Facades\Lang',
172+
'Log' => 'Illuminate\Support\Facades\Log',
173+
'Mail' => 'Illuminate\Support\Facades\Mail',
174+
'Paginator' => 'Illuminate\Support\Facades\Paginator',
175+
'Password' => 'Illuminate\Support\Facades\Password',
176+
'Queue' => 'Illuminate\Support\Facades\Queue',
177+
'Redirect' => 'Illuminate\Support\Facades\Redirect',
178+
'NRedis' => 'Illuminate\Support\Facades\Redis',
179+
'Request' => 'Illuminate\Support\Facades\Request',
180+
'Response' => 'Illuminate\Support\Facades\Response',
181+
'Route' => 'Illuminate\Support\Facades\Route',
182+
'Schema' => 'Illuminate\Support\Facades\Schema',
183+
'Seeder' => 'Illuminate\Database\Seeder',
184+
'Session' => 'Illuminate\Support\Facades\Session',
185+
'SoftDeletingTrait' => 'Illuminate\Database\Eloquent\SoftDeletingTrait',
186+
'SSH' => 'Illuminate\Support\Facades\SSH',
187+
'Str' => 'Illuminate\Support\Str',
188+
'URL' => 'Illuminate\Support\Facades\URL',
189+
'Validator' => 'Illuminate\Support\Facades\Validator',
190+
'View' => 'Illuminate\Support\Facades\View',
191+
192+
),
193+
194+
);

Diff for: app/config/auth.php

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Default Authentication Driver
8+
|--------------------------------------------------------------------------
9+
|
10+
| This option controls the authentication driver that will be utilized.
11+
| This driver manages the retrieval and authentication of the users
12+
| attempting to get access to protected areas of your application.
13+
|
14+
| Supported: "database", "eloquent"
15+
|
16+
*/
17+
18+
'driver' => 'eloquent',
19+
20+
/*
21+
|--------------------------------------------------------------------------
22+
| Authentication Model
23+
|--------------------------------------------------------------------------
24+
|
25+
| When using the "Eloquent" authentication driver, we need to know which
26+
| Eloquent model should be used to retrieve your users. Of course, it
27+
| is often just the "User" model but you may use whatever you like.
28+
|
29+
*/
30+
31+
'model' => 'User',
32+
33+
/*
34+
|--------------------------------------------------------------------------
35+
| Authentication Table
36+
|--------------------------------------------------------------------------
37+
|
38+
| When using the "Database" authentication driver, we need to know which
39+
| table should be used to retrieve your users. We have chosen a basic
40+
| default value but you may easily change it to any table you like.
41+
|
42+
*/
43+
44+
'table' => 'users',
45+
46+
/*
47+
|--------------------------------------------------------------------------
48+
| Password Reminder Settings
49+
|--------------------------------------------------------------------------
50+
|
51+
| Here you may set the settings for password reminders, including a view
52+
| that should be used as your password reminder e-mail. You will also
53+
| be able to set the name of the table that holds the reset tokens.
54+
|
55+
| The "expire" time is the number of minutes that the reminder should be
56+
| considered valid. This security feature keeps tokens short-lived so
57+
| they have less time to be guessed. You may change this as needed.
58+
|
59+
*/
60+
61+
'reminder' => array(
62+
63+
'email' => 'emails.auth.reminder',
64+
65+
'table' => 'password_reminders',
66+
67+
'expire' => 60,
68+
69+
),
70+
71+
);

Diff for: app/config/cache.php

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Default Cache Driver
8+
|--------------------------------------------------------------------------
9+
|
10+
| This option controls the default cache "driver" that will be used when
11+
| using the Caching library. Of course, you may use other drivers any
12+
| time you wish. This is the default when another is not specified.
13+
|
14+
| Supported: "file", "database", "apc", "memcached", "redis", "array"
15+
|
16+
*/
17+
18+
'driver' => 'file',
19+
20+
/*
21+
|--------------------------------------------------------------------------
22+
| File Cache Location
23+
|--------------------------------------------------------------------------
24+
|
25+
| When using the "file" cache driver, we need a location where the cache
26+
| files may be stored. A sensible default has been specified, but you
27+
| are free to change it to any other place on disk that you desire.
28+
|
29+
*/
30+
31+
'path' => storage_path().'/cache',
32+
33+
/*
34+
|--------------------------------------------------------------------------
35+
| Database Cache Connection
36+
|--------------------------------------------------------------------------
37+
|
38+
| When using the "database" cache driver you may specify the connection
39+
| that should be used to store the cached items. When this option is
40+
| null the default database connection will be utilized for cache.
41+
|
42+
*/
43+
44+
'connection' => null,
45+
46+
/*
47+
|--------------------------------------------------------------------------
48+
| Database Cache Table
49+
|--------------------------------------------------------------------------
50+
|
51+
| When using the "database" cache driver we need to know the table that
52+
| should be used to store the cached items. A default table name has
53+
| been provided but you're free to change it however you deem fit.
54+
|
55+
*/
56+
57+
'table' => 'cache',
58+
59+
/*
60+
|--------------------------------------------------------------------------
61+
| Memcached Servers
62+
|--------------------------------------------------------------------------
63+
|
64+
| Now you may specify an array of your Memcached servers that should be
65+
| used when utilizing the Memcached cache driver. All of the servers
66+
| should contain a value for "host", "port", and "weight" options.
67+
|
68+
*/
69+
70+
'memcached' => array(
71+
72+
array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100),
73+
74+
),
75+
76+
/*
77+
|--------------------------------------------------------------------------
78+
| Cache Key Prefix
79+
|--------------------------------------------------------------------------
80+
|
81+
| When utilizing a RAM based store such as APC or Memcached, there might
82+
| be other applications utilizing the same cache. So, we'll specify a
83+
| value to get prefixed to all our keys so we can avoid collisions.
84+
|
85+
*/
86+
87+
'prefix' => 'laravel',
88+
89+
);

Diff for: app/config/compile.php

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Additional Compiled Classes
8+
|--------------------------------------------------------------------------
9+
|
10+
| Here you may specify additional classes to include in the compiled file
11+
| generated by the `artisan optimize` command. These should be classes
12+
| that are included on basically every request into the application.
13+
|
14+
*/
15+
16+
17+
18+
);

0 commit comments

Comments
 (0)