Skip to content

Commit 032b7d0

Browse files
committed
Primer push
0 parents  commit 032b7d0

File tree

543 files changed

+114917
-0
lines changed

Some content is hidden

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

543 files changed

+114917
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Numerous always-ignore extensions
2+
*.diff
3+
*.err
4+
*.orig
5+
*.log
6+
*.rej
7+
*.swo
8+
*.swp
9+
*.vi
10+
*~
11+
*.sass-cache
12+
13+
# OS or Editor folders
14+
.DS_Store
15+
Thumbs.db
16+
.cache
17+
.project
18+
.settings
19+
.tmproj
20+
*.esproj
21+
nbproject
22+
23+
# Dreamweaver added files
24+
_notes
25+
dwsync.xml
26+
27+
# Komodo
28+
*.komodoproject
29+
.komodotools
30+
31+
# Folders to ignore
32+
.hg
33+
.svn
34+
.CVS
35+
intermediate
36+
publish
37+
.idea
38+
hacer.md

.travis.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
language: php
2+
3+
php:
4+
- 5.3
5+
6+
script: "php artisan test:core"

CONTRIBUTING.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Pull request guidelines
2+
3+
[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.
4+
5+
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:
6+
7+
- **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.)
8+
- **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.
9+
- **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.

application/bundles.php

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
3+
/*
4+
|--------------------------------------------------------------------------
5+
| Bundle Configuration
6+
|--------------------------------------------------------------------------
7+
|
8+
| Bundles allow you to conveniently extend and organize your application.
9+
| Think of bundles as self-contained applications. They can have routes,
10+
| controllers, models, views, configuration, etc. You can even create
11+
| your own bundles to share with the Laravel community.
12+
|
13+
| This is a list of the bundles installed for your application and tells
14+
| Laravel the location of the bundle's root directory, as well as the
15+
| root URI the bundle responds to.
16+
|
17+
| For example, if you have an "admin" bundle located in "bundles/admin"
18+
| that you want to handle requests with URIs that begin with "admin",
19+
| simply add it to the array like this:
20+
|
21+
| 'admin' => array(
22+
| 'location' => 'admin',
23+
| 'handles' => 'admin',
24+
| ),
25+
|
26+
| Note that the "location" is relative to the "bundles" directory.
27+
| Now the bundle will be recognized by Laravel and will be able
28+
| to respond to requests beginning with "admin"!
29+
|
30+
| Have a bundle that lives in the root of the bundle directory
31+
| and doesn't respond to any requests? Just add the bundle
32+
| name to the array and we'll take care of the rest.
33+
|
34+
*/
35+
36+
return array(
37+
'docs' => array('handles' => 'docs'),
38+
'bootstrapper' => array('auto' => true),
39+
);

application/config/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
local/*

application/config/application.php

+221
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Application URL
8+
|--------------------------------------------------------------------------
9+
|
10+
| The URL used to access your application without a trailing slash. The URL
11+
| does not have to be set. If it isn't, we'll try our best to guess the URL
12+
| of your application.
13+
|
14+
*/
15+
16+
'url' => '',
17+
18+
/*
19+
|--------------------------------------------------------------------------
20+
| Asset URL
21+
|--------------------------------------------------------------------------
22+
|
23+
| The base URL used for your application's asset files. This is useful if
24+
| you are serving your assets through a different server or a CDN. If it
25+
| is not set, we'll default to the application URL above.
26+
|
27+
*/
28+
29+
'asset_url' => '',
30+
31+
/*
32+
|--------------------------------------------------------------------------
33+
| Application Index
34+
|--------------------------------------------------------------------------
35+
|
36+
| If you are including the "index.php" in your URLs, you can ignore this.
37+
| However, if you are using mod_rewrite to get cleaner URLs, just set
38+
| this option to an empty string and we'll take care of the rest.
39+
|
40+
*/
41+
42+
'index' => '',
43+
44+
/*
45+
|--------------------------------------------------------------------------
46+
| Application Key
47+
|--------------------------------------------------------------------------
48+
|
49+
| This key is used by the encryption and cookie classes to generate secure
50+
| encrypted strings and hashes. It is extremely important that this key
51+
| remains secret and it should not be shared with anyone. Make it about 32
52+
| characters of random gibberish.
53+
|
54+
*/
55+
56+
'key' => 'YourSecretKeyGoesHere!',
57+
58+
/*
59+
|--------------------------------------------------------------------------
60+
| Profiler Toolbar
61+
|--------------------------------------------------------------------------
62+
|
63+
| Laravel includes a beautiful profiler toolbar that gives you a heads
64+
| up display of the queries and logs performed by your application.
65+
| This is wonderful for development, but, of course, you should
66+
| disable the toolbar for production applications.
67+
|
68+
*/
69+
70+
'profiler' => false,
71+
72+
/*
73+
|--------------------------------------------------------------------------
74+
| Application Character Encoding
75+
|--------------------------------------------------------------------------
76+
|
77+
| The default character encoding used by your application. This encoding
78+
| will be used by the Str, Text, Form, and any other classes that need
79+
| to know what type of encoding to use for your awesome application.
80+
|
81+
*/
82+
83+
'encoding' => 'UTF-8',
84+
85+
/*
86+
|--------------------------------------------------------------------------
87+
| Default Application Language
88+
|--------------------------------------------------------------------------
89+
|
90+
| The default language of your application. This language will be used by
91+
| Lang library as the default language when doing string localization.
92+
|
93+
*/
94+
95+
'language' => 'es',
96+
97+
/*
98+
|--------------------------------------------------------------------------
99+
| Supported Languages
100+
|--------------------------------------------------------------------------
101+
|
102+
| These languages may also be supported by your application. If a request
103+
| enters your application with a URI beginning with one of these values
104+
| the default language will automatically be set to that language.
105+
|
106+
*/
107+
108+
'languages' => array(),
109+
110+
/*
111+
|--------------------------------------------------------------------------
112+
| SSL Link Generation
113+
|--------------------------------------------------------------------------
114+
|
115+
| Many sites use SSL to protect their users' data. However, you may not be
116+
| able to use SSL on your development machine, meaning all HTTPS will be
117+
| broken during development.
118+
|
119+
| For this reason, you may wish to disable the generation of HTTPS links
120+
| throughout your application. This option does just that. All attempts
121+
| to generate HTTPS links will generate regular HTTP links instead.
122+
|
123+
*/
124+
125+
'ssl' => true,
126+
127+
/*
128+
|--------------------------------------------------------------------------
129+
| Application Timezone
130+
|--------------------------------------------------------------------------
131+
|
132+
| The default timezone of your application. The timezone will be used when
133+
| Laravel needs a date, such as when writing to a log file or travelling
134+
| to a distant star at warp speed.
135+
|
136+
*/
137+
138+
'timezone' => 'UTC',
139+
140+
/*
141+
|--------------------------------------------------------------------------
142+
| Class Aliases
143+
|--------------------------------------------------------------------------
144+
|
145+
| Here, you can specify any class aliases that you would like registered
146+
| when Laravel loads. Aliases are lazy-loaded, so feel free to add!
147+
|
148+
| Aliases make it more convenient to use namespaced classes. Instead of
149+
| referring to the class using its full namespace, you may simply use
150+
| the alias defined here.
151+
|
152+
*/
153+
154+
'aliases' => array(
155+
'Auth' => 'Laravel\\Auth',
156+
'Authenticator' => 'Laravel\\Auth\\Drivers\\Driver',
157+
'Asset' => 'Laravel\\Asset',
158+
'Autoloader' => 'Laravel\\Autoloader',
159+
'Blade' => 'Laravel\\Blade',
160+
'Bundle' => 'Laravel\\Bundle',
161+
'Cache' => 'Laravel\\Cache',
162+
'Command' => 'Laravel\\CLI\\Command',
163+
'Config' => 'Laravel\\Config',
164+
'Controller' => 'Laravel\\Routing\\Controller',
165+
'Cookie' => 'Laravel\\Cookie',
166+
'Crypter' => 'Laravel\\Crypter',
167+
'DB' => 'Laravel\\Database',
168+
'Eloquent' => 'Laravel\\Database\\Eloquent\\Model',
169+
'Event' => 'Laravel\\Event',
170+
'File' => 'Laravel\\File',
171+
'Filter' => 'Laravel\\Routing\\Filter',
172+
'Form' => 'Laravel\\Form',
173+
'Hash' => 'Laravel\\Hash',
174+
'HTML' => 'Laravel\\HTML',
175+
'Input' => 'Laravel\\Input',
176+
'IoC' => 'Laravel\\IoC',
177+
'Lang' => 'Laravel\\Lang',
178+
'Log' => 'Laravel\\Log',
179+
'Memcached' => 'Laravel\\Memcached',
180+
//'Paginator' => 'Laravel\\Paginator',
181+
'Profiler' => 'Laravel\\Profiling\\Profiler',
182+
'URL' => 'Laravel\\URL',
183+
'Redirect' => 'Laravel\\Redirect',
184+
'Redis' => 'Laravel\\Redis',
185+
'Request' => 'Laravel\\Request',
186+
'Response' => 'Laravel\\Response',
187+
'Route' => 'Laravel\\Routing\\Route',
188+
'Router' => 'Laravel\\Routing\\Router',
189+
'Schema' => 'Laravel\\Database\\Schema',
190+
'Section' => 'Laravel\\Section',
191+
'Session' => 'Laravel\\Session',
192+
'Str' => 'Laravel\\Str',
193+
'Task' => 'Laravel\\CLI\\Tasks\\Task',
194+
'URI' => 'Laravel\\URI',
195+
'Validator' => 'Laravel\\Validator',
196+
'View' => 'Laravel\\View',
197+
'Alert' => 'Bootstrapper\\Alert',
198+
'Badge' => 'Bootstrapper\\Badge',
199+
'Breadcrumb' => 'Bootstrapper\\Breadcrumb',
200+
'Button' => 'Bootstrapper\\Button',
201+
'ButtonGroup' => 'Bootstrapper\\ButtonGroup',
202+
'ButtonToolbar' => 'Bootstrapper\\ButtonToolbar',
203+
'Carousel' => 'Bootstrapper\\Carousel',
204+
'DropdownButton' => 'Bootstrapper\\DropdownButton',
205+
'Form' => 'Bootstrapper\\Form',
206+
'Helpers' => 'Bootstrapper\\Helpers',
207+
'Icon' => 'Bootstrapper\\Icon',
208+
'Image' => 'Bootstrapper\\Image',
209+
'Label' => 'Bootstrapper\\Label',
210+
'MediaObject' => 'Bootstrapper\\MediaObject',
211+
'Navbar' => 'Bootstrapper\\Navbar',
212+
'Navigation' => 'Bootstrapper\\Navigation',
213+
'Paginator' => 'Bootstrapper\\Paginator',
214+
'Progress' => 'Bootstrapper\\Progress',
215+
'Tabbable' => 'Bootstrapper\\Tabbable',
216+
'Table' => 'Bootstrapper\\Table',
217+
'Thumbnail' => 'Bootstrapper\\Thumbnail',
218+
'Typeahead' => 'Bootstrapper\\Typeahead',
219+
'Typography' => 'Bootstrapper\\Typography',
220+
),
221+
);

0 commit comments

Comments
 (0)