Commit 04cf377a157c07a92fae807a6a71999f44a5b129

Authored by univirtual
0 parents

Enviando proyecto a Git Hub

.gitattributes 0 → 100644
  1 +++ a/.gitattributes
  1 +* text=auto
0 2 \ No newline at end of file
... ...
.gitignore 0 → 100644
  1 +++ a/.gitignore
  1 +/bootstrap/compiled.php
  2 +/vendor
  3 +composer.phar
  4 +composer.lock
  5 +.env.local.php
  6 +.env.php
  7 +.DS_Store
  8 +Thumbs.db
0 9 \ No newline at end of file
... ...
CONTRIBUTING.md 0 → 100644
  1 +++ a/CONTRIBUTING.md
  1 +# Contribution Guidelines
  2 +
  3 +Please submit all issues and pull requests to the [laravel/framework](http://github.com/laravel/framework) repository!
0 4 \ No newline at end of file
... ...
app/commands/.gitkeep 0 → 100644
  1 +++ a/app/commands/.gitkeep
... ...
app/config/app.php 0 → 100644
  1 +++ a/app/config/app.php
  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 + | Encryption Key
  60 + |--------------------------------------------------------------------------
  61 + |
  62 + | This key is used by the Illuminate encrypter service and should be set
  63 + | to a random, 32 character string, otherwise these encrypted strings
  64 + | will not be safe. Please do this before deploying an application!
  65 + |
  66 + */
  67 +
  68 + 'key' => 'dSAbO9wbMVDid9V2pzgNvvfFvJRvqgcM',
  69 +
  70 + /*
  71 + |--------------------------------------------------------------------------
  72 + | Autoloaded Service Providers
  73 + |--------------------------------------------------------------------------
  74 + |
  75 + | The service providers listed here will be automatically loaded on the
  76 + | request to your application. Feel free to add your own services to
  77 + | this array to grant expanded functionality to your applications.
  78 + |
  79 + */
  80 +
  81 + 'providers' => array(
  82 +
  83 + 'Illuminate\Foundation\Providers\ArtisanServiceProvider',
  84 + 'Illuminate\Auth\AuthServiceProvider',
  85 + 'Illuminate\Cache\CacheServiceProvider',
  86 + 'Illuminate\Session\CommandsServiceProvider',
  87 + 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider',
  88 + 'Illuminate\Routing\ControllerServiceProvider',
  89 + 'Illuminate\Cookie\CookieServiceProvider',
  90 + 'Illuminate\Database\DatabaseServiceProvider',
  91 + 'Illuminate\Encryption\EncryptionServiceProvider',
  92 + 'Illuminate\Filesystem\FilesystemServiceProvider',
  93 + 'Illuminate\Hashing\HashServiceProvider',
  94 + 'Illuminate\Html\HtmlServiceProvider',
  95 + 'Illuminate\Log\LogServiceProvider',
  96 + 'Illuminate\Mail\MailServiceProvider',
  97 + 'Illuminate\Database\MigrationServiceProvider',
  98 + 'Illuminate\Pagination\PaginationServiceProvider',
  99 + 'Illuminate\Queue\QueueServiceProvider',
  100 + 'Illuminate\Redis\RedisServiceProvider',
  101 + 'Illuminate\Remote\RemoteServiceProvider',
  102 + 'Illuminate\Auth\Reminders\ReminderServiceProvider',
  103 + 'Illuminate\Database\SeedServiceProvider',
  104 + 'Illuminate\Session\SessionServiceProvider',
  105 + 'Illuminate\Translation\TranslationServiceProvider',
  106 + 'Illuminate\Validation\ValidationServiceProvider',
  107 + 'Illuminate\View\ViewServiceProvider',
  108 + 'Illuminate\Workbench\WorkbenchServiceProvider',
  109 +
  110 + ),
  111 +
  112 + /*
  113 + |--------------------------------------------------------------------------
  114 + | Service Provider Manifest
  115 + |--------------------------------------------------------------------------
  116 + |
  117 + | The service provider manifest is used by Laravel to lazy load service
  118 + | providers which are not needed for each request, as well to keep a
  119 + | list of all of the services. Here, you may set its storage spot.
  120 + |
  121 + */
  122 +
  123 + 'manifest' => storage_path().'/meta',
  124 +
  125 + /*
  126 + |--------------------------------------------------------------------------
  127 + | Class Aliases
  128 + |--------------------------------------------------------------------------
  129 + |
  130 + | This array of class aliases will be registered when this application
  131 + | is started. However, feel free to register as many as you wish as
  132 + | the aliases are "lazy" loaded so they don't hinder performance.
  133 + |
  134 + */
  135 +
  136 + 'aliases' => array(
  137 +
  138 + 'App' => 'Illuminate\Support\Facades\App',
  139 + 'Artisan' => 'Illuminate\Support\Facades\Artisan',
  140 + 'Auth' => 'Illuminate\Support\Facades\Auth',
  141 + 'Blade' => 'Illuminate\Support\Facades\Blade',
  142 + 'Cache' => 'Illuminate\Support\Facades\Cache',
  143 + 'ClassLoader' => 'Illuminate\Support\ClassLoader',
  144 + 'Config' => 'Illuminate\Support\Facades\Config',
  145 + 'Controller' => 'Illuminate\Routing\Controller',
  146 + 'Cookie' => 'Illuminate\Support\Facades\Cookie',
  147 + 'Crypt' => 'Illuminate\Support\Facades\Crypt',
  148 + 'DB' => 'Illuminate\Support\Facades\DB',
  149 + 'Eloquent' => 'Illuminate\Database\Eloquent\Model',
  150 + 'Event' => 'Illuminate\Support\Facades\Event',
  151 + 'File' => 'Illuminate\Support\Facades\File',
  152 + 'Form' => 'Illuminate\Support\Facades\Form',
  153 + 'Hash' => 'Illuminate\Support\Facades\Hash',
  154 + 'HTML' => 'Illuminate\Support\Facades\HTML',
  155 + 'Input' => 'Illuminate\Support\Facades\Input',
  156 + 'Lang' => 'Illuminate\Support\Facades\Lang',
  157 + 'Log' => 'Illuminate\Support\Facades\Log',
  158 + 'Mail' => 'Illuminate\Support\Facades\Mail',
  159 + 'Paginator' => 'Illuminate\Support\Facades\Paginator',
  160 + 'Password' => 'Illuminate\Support\Facades\Password',
  161 + 'Queue' => 'Illuminate\Support\Facades\Queue',
  162 + 'Redirect' => 'Illuminate\Support\Facades\Redirect',
  163 + 'Redis' => 'Illuminate\Support\Facades\Redis',
  164 + 'Request' => 'Illuminate\Support\Facades\Request',
  165 + 'Response' => 'Illuminate\Support\Facades\Response',
  166 + 'Route' => 'Illuminate\Support\Facades\Route',
  167 + 'Schema' => 'Illuminate\Support\Facades\Schema',
  168 + 'Seeder' => 'Illuminate\Database\Seeder',
  169 + 'Session' => 'Illuminate\Support\Facades\Session',
  170 + 'SSH' => 'Illuminate\Support\Facades\SSH',
  171 + 'Str' => 'Illuminate\Support\Str',
  172 + 'URL' => 'Illuminate\Support\Facades\URL',
  173 + 'Validator' => 'Illuminate\Support\Facades\Validator',
  174 + 'View' => 'Illuminate\Support\Facades\View',
  175 +
  176 + ),
  177 +
  178 +);
... ...
app/config/auth.php 0 → 100644
  1 +++ a/app/config/auth.php
  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 +);
... ...
app/config/cache.php 0 → 100644
  1 +++ a/app/config/cache.php
  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 +);
... ...
app/config/compile.php 0 → 100644
  1 +++ a/app/config/compile.php
  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 19 \ No newline at end of file
... ...
app/config/database.php 0 → 100644
  1 +++ a/app/config/database.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | PDO Fetch Style
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | By default, database results will be returned as instances of the PHP
  11 + | stdClass object; however, you may desire to retrieve records in an
  12 + | array format for simplicity. Here you can tweak the fetch style.
  13 + |
  14 + */
  15 +
  16 + 'fetch' => PDO::FETCH_CLASS,
  17 +
  18 + /*
  19 + |--------------------------------------------------------------------------
  20 + | Default Database Connection Name
  21 + |--------------------------------------------------------------------------
  22 + |
  23 + | Here you may specify which of the database connections below you wish
  24 + | to use as your default connection for all database work. Of course
  25 + | you may use many connections at once using the Database library.
  26 + |
  27 + */
  28 +
  29 + 'default' => 'mysql',
  30 +
  31 + /*
  32 + |--------------------------------------------------------------------------
  33 + | Database Connections
  34 + |--------------------------------------------------------------------------
  35 + |
  36 + | Here are each of the database connections setup for your application.
  37 + | Of course, examples of configuring each database platform that is
  38 + | supported by Laravel is shown below to make development simple.
  39 + |
  40 + |
  41 + | All database work in Laravel is done through the PHP PDO facilities
  42 + | so make sure you have the driver for your particular database of
  43 + | choice installed on your machine before you begin development.
  44 + |
  45 + */
  46 +
  47 + 'connections' => array(
  48 +
  49 + 'sqlite' => array(
  50 + 'driver' => 'sqlite',
  51 + 'database' => __DIR__.'/../database/production.sqlite',
  52 + 'prefix' => '',
  53 + ),
  54 +
  55 + 'mysql' => array(
  56 + 'driver' => 'mysql',
  57 + 'host' => 'localhost',
  58 + 'database' => 'database',
  59 + 'username' => 'root',
  60 + 'password' => '',
  61 + 'charset' => 'utf8',
  62 + 'collation' => 'utf8_unicode_ci',
  63 + 'prefix' => '',
  64 + ),
  65 +
  66 + 'pgsql' => array(
  67 + 'driver' => 'pgsql',
  68 + 'host' => 'localhost',
  69 + 'database' => 'database',
  70 + 'username' => 'root',
  71 + 'password' => '',
  72 + 'charset' => 'utf8',
  73 + 'prefix' => '',
  74 + 'schema' => 'public',
  75 + ),
  76 +
  77 + 'sqlsrv' => array(
  78 + 'driver' => 'sqlsrv',
  79 + 'host' => 'localhost',
  80 + 'database' => 'database',
  81 + 'username' => 'root',
  82 + 'password' => '',
  83 + 'prefix' => '',
  84 + ),
  85 +
  86 + ),
  87 +
  88 + /*
  89 + |--------------------------------------------------------------------------
  90 + | Migration Repository Table
  91 + |--------------------------------------------------------------------------
  92 + |
  93 + | This table keeps track of all the migrations that have already run for
  94 + | your application. Using this information, we can determine which of
  95 + | the migrations on disk haven't actually been run in the database.
  96 + |
  97 + */
  98 +
  99 + 'migrations' => 'migrations',
  100 +
  101 + /*
  102 + |--------------------------------------------------------------------------
  103 + | Redis Databases
  104 + |--------------------------------------------------------------------------
  105 + |
  106 + | Redis is an open source, fast, and advanced key-value store that also
  107 + | provides a richer set of commands than a typical key-value systems
  108 + | such as APC or Memcached. Laravel makes it easy to dig right in.
  109 + |
  110 + */
  111 +
  112 + 'redis' => array(
  113 +
  114 + 'cluster' => false,
  115 +
  116 + 'default' => array(
  117 + 'host' => '127.0.0.1',
  118 + 'port' => 6379,
  119 + 'database' => 0,
  120 + ),
  121 +
  122 + ),
  123 +
  124 +);
... ...
app/config/mail.php 0 → 100644
  1 +++ a/app/config/mail.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Mail Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | Laravel supports both SMTP and PHP's "mail" function as drivers for the
  11 + | sending of e-mail. You may specify which one you're using throughout
  12 + | your application here. By default, Laravel is setup for SMTP mail.
  13 + |
  14 + | Supported: "smtp", "mail", "sendmail"
  15 + |
  16 + */
  17 +
  18 + 'driver' => 'smtp',
  19 +
  20 + /*
  21 + |--------------------------------------------------------------------------
  22 + | SMTP Host Address
  23 + |--------------------------------------------------------------------------
  24 + |
  25 + | Here you may provide the host address of the SMTP server used by your
  26 + | applications. A default option is provided that is compatible with
  27 + | the Postmark mail service, which will provide reliable delivery.
  28 + |
  29 + */
  30 +
  31 + 'host' => 'smtp.mailgun.org',
  32 +
  33 + /*
  34 + |--------------------------------------------------------------------------
  35 + | SMTP Host Port
  36 + |--------------------------------------------------------------------------
  37 + |
  38 + | This is the SMTP port used by your application to delivery e-mails to
  39 + | users of your application. Like the host we have set this value to
  40 + | stay compatible with the Postmark e-mail application by default.
  41 + |
  42 + */
  43 +
  44 + 'port' => 587,
  45 +
  46 + /*
  47 + |--------------------------------------------------------------------------
  48 + | Global "From" Address
  49 + |--------------------------------------------------------------------------
  50 + |
  51 + | You may wish for all e-mails sent by your application to be sent from
  52 + | the same address. Here, you may specify a name and address that is
  53 + | used globally for all e-mails that are sent by your application.
  54 + |
  55 + */
  56 +
  57 + 'from' => array('address' => null, 'name' => null),
  58 +
  59 + /*
  60 + |--------------------------------------------------------------------------
  61 + | E-Mail Encryption Protocol
  62 + |--------------------------------------------------------------------------
  63 + |
  64 + | Here you may specify the encryption protocol that should be used when
  65 + | the application send e-mail messages. A sensible default using the
  66 + | transport layer security protocol should provide great security.
  67 + |
  68 + */
  69 +
  70 + 'encryption' => 'tls',
  71 +
  72 + /*
  73 + |--------------------------------------------------------------------------
  74 + | SMTP Server Username
  75 + |--------------------------------------------------------------------------
  76 + |
  77 + | If your SMTP server requires a username for authentication, you should
  78 + | set it here. This will get used to authenticate with your server on
  79 + | connection. You may also set the "password" value below this one.
  80 + |
  81 + */
  82 +
  83 + 'username' => null,
  84 +
  85 + /*
  86 + |--------------------------------------------------------------------------
  87 + | SMTP Server Password
  88 + |--------------------------------------------------------------------------
  89 + |
  90 + | Here you may set the password required by your SMTP server to send out
  91 + | messages from your application. This will be given to the server on
  92 + | connection so that the application will be able to send messages.
  93 + |
  94 + */
  95 +
  96 + 'password' => null,
  97 +
  98 + /*
  99 + |--------------------------------------------------------------------------
  100 + | Sendmail System Path
  101 + |--------------------------------------------------------------------------
  102 + |
  103 + | When using the "sendmail" driver to send e-mails, we will need to know
  104 + | the path to where Sendmail lives on this server. A default path has
  105 + | been provided here, which will work well on most of your systems.
  106 + |
  107 + */
  108 +
  109 + 'sendmail' => '/usr/sbin/sendmail -bs',
  110 +
  111 + /*
  112 + |--------------------------------------------------------------------------
  113 + | Mail "Pretend"
  114 + |--------------------------------------------------------------------------
  115 + |
  116 + | When this option is enabled, e-mail will not actually be sent over the
  117 + | web and will instead be written to your application's logs files so
  118 + | you may inspect the message. This is great for local development.
  119 + |
  120 + */
  121 +
  122 + 'pretend' => false,
  123 +
  124 +);
0 125 \ No newline at end of file
... ...
app/config/packages/.gitkeep 0 → 100644
  1 +++ a/app/config/packages/.gitkeep
... ...
app/config/queue.php 0 → 100644
  1 +++ a/app/config/queue.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Queue Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | The Laravel queue API supports a variety of back-ends via an unified
  11 + | API, giving you convenient access to each back-end using the same
  12 + | syntax for each one. Here you may set the default queue driver.
  13 + |
  14 + | Supported: "sync", "beanstalkd", "sqs", "iron"
  15 + |
  16 + */
  17 +
  18 + 'default' => 'sync',
  19 +
  20 + /*
  21 + |--------------------------------------------------------------------------
  22 + | Queue Connections
  23 + |--------------------------------------------------------------------------
  24 + |
  25 + | Here you may configure the connection information for each server that
  26 + | is used by your application. A default configuration has been added
  27 + | for each back-end shipped with Laravel. You are free to add more.
  28 + |
  29 + */
  30 +
  31 + 'connections' => array(
  32 +
  33 + 'sync' => array(
  34 + 'driver' => 'sync',
  35 + ),
  36 +
  37 + 'beanstalkd' => array(
  38 + 'driver' => 'beanstalkd',
  39 + 'host' => 'localhost',
  40 + 'queue' => 'default',
  41 + ),
  42 +
  43 + 'sqs' => array(
  44 + 'driver' => 'sqs',
  45 + 'key' => 'your-public-key',
  46 + 'secret' => 'your-secret-key',
  47 + 'queue' => 'your-queue-url',
  48 + 'region' => 'us-east-1',
  49 + ),
  50 +
  51 + 'iron' => array(
  52 + 'driver' => 'iron',
  53 + 'project' => 'your-project-id',
  54 + 'token' => 'your-token',
  55 + 'queue' => 'your-queue-name',
  56 + ),
  57 +
  58 + 'redis' => array(
  59 + 'driver' => 'redis',
  60 + 'queue' => 'default',
  61 + ),
  62 +
  63 + ),
  64 +
  65 + /*
  66 + |--------------------------------------------------------------------------
  67 + | Failed Queue Jobs
  68 + |--------------------------------------------------------------------------
  69 + |
  70 + | These options configure the behavior of failed queue job logging so you
  71 + | can control which database and table are used to store the jobs that
  72 + | have failed. You may change them to any database / table you wish.
  73 + |
  74 + */
  75 +
  76 + 'failed' => array(
  77 +
  78 + 'database' => 'mysql', 'table' => 'failed_jobs',
  79 +
  80 + ),
  81 +
  82 +);
... ...
app/config/remote.php 0 → 100644
  1 +++ a/app/config/remote.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Remote Connection Name
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | Here you may specify the default connection that will be used for SSH
  11 + | operations. This name should correspond to a connection name below
  12 + | in the server list. Each connection will be manually accessible.
  13 + |
  14 + */
  15 +
  16 + 'default' => 'production',
  17 +
  18 + /*
  19 + |--------------------------------------------------------------------------
  20 + | Remote Server Connections
  21 + |--------------------------------------------------------------------------
  22 + |
  23 + | These are the servers that will be accessible via the SSH task runner
  24 + | facilities of Laravel. This feature radically simplifies executing
  25 + | tasks on your servers, such as deploying out these applications.
  26 + |
  27 + */
  28 +
  29 + 'connections' => array(
  30 +
  31 + 'production' => array(
  32 + 'host' => '',
  33 + 'username' => '',
  34 + 'password' => '',
  35 + 'key' => '',
  36 + 'keyphrase' => '',
  37 + 'root' => '/var/www',
  38 + ),
  39 +
  40 + ),
  41 +
  42 + /*
  43 + |--------------------------------------------------------------------------
  44 + | Remote Server Groups
  45 + |--------------------------------------------------------------------------
  46 + |
  47 + | Here you may list connections under a single group name, which allows
  48 + | you to easily access all of the servers at once using a short name
  49 + | that is extremely easy to remember, such as "web" or "database".
  50 + |
  51 + */
  52 +
  53 + 'groups' => array(
  54 +
  55 + 'web' => array('production')
  56 +
  57 + ),
  58 +
  59 +);
0 60 \ No newline at end of file
... ...
app/config/session.php 0 → 100644
  1 +++ a/app/config/session.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Session Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | This option controls the default session "driver" that will be used on
  11 + | requests. By default, we will use the lightweight native driver but
  12 + | you may specify any of the other wonderful drivers provided here.
  13 + |
  14 + | Supported: "file", "cookie", "database", "apc",
  15 + | "memcached", "redis", "array"
  16 + |
  17 + */
  18 +
  19 + 'driver' => 'file',
  20 +
  21 + /*
  22 + |--------------------------------------------------------------------------
  23 + | Session Lifetime
  24 + |--------------------------------------------------------------------------
  25 + |
  26 + | Here you may specify the number of minutes that you wish the session
  27 + | to be allowed to remain idle before it expires. If you want them
  28 + | to immediately expire on the browser closing, set that option.
  29 + |
  30 + */
  31 +
  32 + 'lifetime' => 120,
  33 +
  34 + 'expire_on_close' => false,
  35 +
  36 + /*
  37 + |--------------------------------------------------------------------------
  38 + | Session File Location
  39 + |--------------------------------------------------------------------------
  40 + |
  41 + | When using the native session driver, we need a location where session
  42 + | files may be stored. A default has been set for you but a different
  43 + | location may be specified. This is only needed for file sessions.
  44 + |
  45 + */
  46 +
  47 + 'files' => storage_path().'/sessions',
  48 +
  49 + /*
  50 + |--------------------------------------------------------------------------
  51 + | Session Database Connection
  52 + |--------------------------------------------------------------------------
  53 + |
  54 + | When using the "database" or "redis" session drivers, you may specify a
  55 + | connection that should be used to manage these sessions. This should
  56 + | correspond to a connection in your database configuration options.
  57 + |
  58 + */
  59 +
  60 + 'connection' => null,
  61 +
  62 + /*
  63 + |--------------------------------------------------------------------------
  64 + | Session Database Table
  65 + |--------------------------------------------------------------------------
  66 + |
  67 + | When using the "database" session driver, you may specify the table we
  68 + | should use to manage the sessions. Of course, a sensible default is
  69 + | provided for you; however, you are free to change this as needed.
  70 + |
  71 + */
  72 +
  73 + 'table' => 'sessions',
  74 +
  75 + /*
  76 + |--------------------------------------------------------------------------
  77 + | Session Sweeping Lottery
  78 + |--------------------------------------------------------------------------
  79 + |
  80 + | Some session drivers must manually sweep their storage location to get
  81 + | rid of old sessions from storage. Here are the chances that it will
  82 + | happen on a given request. By default, the odds are 2 out of 100.
  83 + |
  84 + */
  85 +
  86 + 'lottery' => array(2, 100),
  87 +
  88 + /*
  89 + |--------------------------------------------------------------------------
  90 + | Session Cookie Name
  91 + |--------------------------------------------------------------------------
  92 + |
  93 + | Here you may change the name of the cookie used to identify a session
  94 + | instance by ID. The name specified here will get used every time a
  95 + | new session cookie is created by the framework for every driver.
  96 + |
  97 + */
  98 +
  99 + 'cookie' => 'laravel_session',
  100 +
  101 + /*
  102 + |--------------------------------------------------------------------------
  103 + | Session Cookie Path
  104 + |--------------------------------------------------------------------------
  105 + |
  106 + | The session cookie path determines the path for which the cookie will
  107 + | be regarded as available. Typically, this will be the root path of
  108 + | your application but you are free to change this when necessary.
  109 + |
  110 + */
  111 +
  112 + 'path' => '/',
  113 +
  114 + /*
  115 + |--------------------------------------------------------------------------
  116 + | Session Cookie Domain
  117 + |--------------------------------------------------------------------------
  118 + |
  119 + | Here you may change the domain of the cookie used to identify a session
  120 + | in your application. This will determine which domains the cookie is
  121 + | available to in your application. A sensible default has been set.
  122 + |
  123 + */
  124 +
  125 + 'domain' => null,
  126 +
  127 + /*
  128 + |--------------------------------------------------------------------------
  129 + | HTTPS Only Cookies
  130 + |--------------------------------------------------------------------------
  131 + |
  132 + | By setting this option to true, session cookies will only be sent back
  133 + | to the server if the browser has a HTTPS connection. This will keep
  134 + | the cookie from being sent to you if it can not be done securely.
  135 + |
  136 + */
  137 +
  138 + 'secure' => false,
  139 +
  140 +);
... ...
app/config/testing/cache.php 0 → 100644
  1 +++ a/app/config/testing/cache.php
  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' => 'array',
  19 +
  20 +);
0 21 \ No newline at end of file
... ...
app/config/testing/session.php 0 → 100644
  1 +++ a/app/config/testing/session.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Session Driver
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | This option controls the default session "driver" that will be used on
  11 + | requests. By default, we will use the lightweight native driver but
  12 + | you may specify any of the other wonderful drivers provided here.
  13 + |
  14 + | Supported: "native", "cookie", "database", "apc",
  15 + | "memcached", "redis", "array"
  16 + |
  17 + */
  18 +
  19 + 'driver' => 'array',
  20 +
  21 +);
0 22 \ No newline at end of file
... ...
app/config/view.php 0 → 100644
  1 +++ a/app/config/view.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | View Storage Paths
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | Most templating systems load templates from disk. Here you may specify
  11 + | an array of paths that should be checked for your views. Of course
  12 + | the usual Laravel view path has already been registered for you.
  13 + |
  14 + */
  15 +
  16 + 'paths' => array(__DIR__.'/../views'),
  17 +
  18 + /*
  19 + |--------------------------------------------------------------------------
  20 + | Pagination View
  21 + |--------------------------------------------------------------------------
  22 + |
  23 + | This view will be used to render the pagination link output, and can
  24 + | be easily customized here to show any view you like. A clean view
  25 + | compatible with Twitter's Bootstrap is given to you by default.
  26 + |
  27 + */
  28 +
  29 + 'pagination' => 'pagination::slider-3',
  30 +
  31 +);
... ...
app/config/workbench.php 0 → 100644
  1 +++ a/app/config/workbench.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Workbench Author Name
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | When you create new packages via the Artisan "workbench" command your
  11 + | name is needed to generate the composer.json file for your package.
  12 + | You may specify it now so it is used for all of your workbenches.
  13 + |
  14 + */
  15 +
  16 + 'name' => '',
  17 +
  18 + /*
  19 + |--------------------------------------------------------------------------
  20 + | Workbench Author E-Mail Address
  21 + |--------------------------------------------------------------------------
  22 + |
  23 + | Like the option above, your e-mail address is used when generating new
  24 + | workbench packages. The e-mail is placed in your composer.json file
  25 + | automatically after the package is created by the workbench tool.
  26 + |
  27 + */
  28 +
  29 + 'email' => '',
  30 +
  31 +);
0 32 \ No newline at end of file
... ...
app/controllers/.gitkeep 0 → 100644
  1 +++ a/app/controllers/.gitkeep
... ...
app/controllers/BaseController.php 0 → 100644
  1 +++ a/app/controllers/BaseController.php
  1 +<?php
  2 +
  3 +class BaseController extends Controller {
  4 +
  5 + /**
  6 + * Setup the layout used by the controller.
  7 + *
  8 + * @return void
  9 + */
  10 + protected function setupLayout()
  11 + {
  12 + if ( ! is_null($this->layout))
  13 + {
  14 + $this->layout = View::make($this->layout);
  15 + }
  16 + }
  17 +
  18 +}
0 19 \ No newline at end of file
... ...
app/controllers/HomeController.php 0 → 100644
  1 +++ a/app/controllers/HomeController.php
  1 +<?php
  2 +
  3 +class HomeController extends BaseController {
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Default Home Controller
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | You may wish to use controllers instead of, or in addition to, Closure
  11 + | based routes. That's great! Here is an example controller method to
  12 + | get you started. To route to this controller, just add the route:
  13 + |
  14 + | Route::get('/', 'HomeController@showWelcome');
  15 + |
  16 + */
  17 +
  18 + public function showWelcome()
  19 + {
  20 + return View::make('hello');
  21 + }
  22 +
  23 +}
0 24 \ No newline at end of file
... ...
app/database/migrations/.gitkeep 0 → 100644
  1 +++ a/app/database/migrations/.gitkeep
... ...
app/database/production.sqlite 0 → 100644
  1 +++ a/app/database/production.sqlite
... ...
app/database/seeds/.gitkeep 0 → 100644
  1 +++ a/app/database/seeds/.gitkeep
... ...
app/database/seeds/DatabaseSeeder.php 0 → 100644
  1 +++ a/app/database/seeds/DatabaseSeeder.php
  1 +<?php
  2 +
  3 +class DatabaseSeeder extends Seeder {
  4 +
  5 + /**
  6 + * Run the database seeds.
  7 + *
  8 + * @return void
  9 + */
  10 + public function run()
  11 + {
  12 + Eloquent::unguard();
  13 +
  14 + // $this->call('UserTableSeeder');
  15 + }
  16 +
  17 +}
0 18 \ No newline at end of file
... ...
app/filters.php 0 → 100644
  1 +++ a/app/filters.php
  1 +<?php
  2 +
  3 +/*
  4 +|--------------------------------------------------------------------------
  5 +| Application & Route Filters
  6 +|--------------------------------------------------------------------------
  7 +|
  8 +| Below you will find the "before" and "after" events for the application
  9 +| which may be used to do any work before or after a request into your
  10 +| application. Here you may also register your custom route filters.
  11 +|
  12 +*/
  13 +
  14 +App::before(function($request)
  15 +{
  16 + //
  17 +});
  18 +
  19 +
  20 +App::after(function($request, $response)
  21 +{
  22 + //
  23 +});
  24 +
  25 +/*
  26 +|--------------------------------------------------------------------------
  27 +| Authentication Filters
  28 +|--------------------------------------------------------------------------
  29 +|
  30 +| The following filters are used to verify that the user of the current
  31 +| session is logged into this application. The "basic" filter easily
  32 +| integrates HTTP Basic authentication for quick, simple checking.
  33 +|
  34 +*/
  35 +
  36 +Route::filter('auth', function()
  37 +{
  38 + if (Auth::guest()) return Redirect::guest('login');
  39 +});
  40 +
  41 +
  42 +Route::filter('auth.basic', function()
  43 +{
  44 + return Auth::basic();
  45 +});
  46 +
  47 +/*
  48 +|--------------------------------------------------------------------------
  49 +| Guest Filter
  50 +|--------------------------------------------------------------------------
  51 +|
  52 +| The "guest" filter is the counterpart of the authentication filters as
  53 +| it simply checks that the current user is not logged in. A redirect
  54 +| response will be issued if they are, which you may freely change.
  55 +|
  56 +*/
  57 +
  58 +Route::filter('guest', function()
  59 +{
  60 + if (Auth::check()) return Redirect::to('/');
  61 +});
  62 +
  63 +/*
  64 +|--------------------------------------------------------------------------
  65 +| CSRF Protection Filter
  66 +|--------------------------------------------------------------------------
  67 +|
  68 +| The CSRF filter is responsible for protecting your application against
  69 +| cross-site request forgery attacks. If this special token in a user
  70 +| session does not match the one given in this request, we'll bail.
  71 +|
  72 +*/
  73 +
  74 +Route::filter('csrf', function()
  75 +{
  76 + if (Session::token() != Input::get('_token'))
  77 + {
  78 + throw new Illuminate\Session\TokenMismatchException;
  79 + }
  80 +});
0 81 \ No newline at end of file
... ...
app/lang/en/pagination.php 0 → 100644
  1 +++ a/app/lang/en/pagination.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Pagination Language Lines
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | The following language lines are used by the paginator library to build
  11 + | the simple pagination links. You are free to change them to anything
  12 + | you want to customize your views to better match your application.
  13 + |
  14 + */
  15 +
  16 + 'previous' => '&laquo; Previous',
  17 +
  18 + 'next' => 'Next &raquo;',
  19 +
  20 +);
0 21 \ No newline at end of file
... ...
app/lang/en/reminders.php 0 → 100644
  1 +++ a/app/lang/en/reminders.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Password Reminder Language Lines
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | The following language lines are the default lines which match reasons
  11 + | that are given by the password broker for a password update attempt
  12 + | has failed, such as for an invalid token or invalid new password.
  13 + |
  14 + */
  15 +
  16 + "password" => "Passwords must be at least six characters and match the confirmation.",
  17 +
  18 + "user" => "We can't find a user with that e-mail address.",
  19 +
  20 + "token" => "This password reset token is invalid.",
  21 +
  22 + "sent" => "Password reminder sent!",
  23 +
  24 +);
... ...
app/lang/en/validation.php 0 → 100644
  1 +++ a/app/lang/en/validation.php
  1 +<?php
  2 +
  3 +return array(
  4 +
  5 + /*
  6 + |--------------------------------------------------------------------------
  7 + | Validation Language Lines
  8 + |--------------------------------------------------------------------------
  9 + |
  10 + | The following language lines contain the default error messages used by
  11 + | the validator class. Some of these rules have multiple versions such
  12 + | as the size rules. Feel free to tweak each of these messages here.
  13 + |
  14 + */
  15 +
  16 + "accepted" => "The :attribute must be accepted.",
  17 + "active_url" => "The :attribute is not a valid URL.",
  18 + "after" => "The :attribute must be a date after :date.",
  19 + "alpha" => "The :attribute may only contain letters.",
  20 + "alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.",
  21 + "alpha_num" => "The :attribute may only contain letters and numbers.",
  22 + "array" => "The :attribute must be an array.",
  23 + "before" => "The :attribute must be a date before :date.",
  24 + "between" => array(
  25 + "numeric" => "The :attribute must be between :min and :max.",
  26 + "file" => "The :attribute must be between :min and :max kilobytes.",
  27 + "string" => "The :attribute must be between :min and :max characters.",
  28 + "array" => "The :attribute must have between :min and :max items.",
  29 + ),
  30 + "confirmed" => "The :attribute confirmation does not match.",
  31 + "date" => "The :attribute is not a valid date.",
  32 + "date_format" => "The :attribute does not match the format :format.",
  33 + "different" => "The :attribute and :other must be different.",
  34 + "digits" => "The :attribute must be :digits digits.",
  35 + "digits_between" => "The :attribute must be between :min and :max digits.",
  36 + "email" => "The :attribute format is invalid.",
  37 + "exists" => "The selected :attribute is invalid.",
  38 + "image" => "The :attribute must be an image.",
  39 + "in" => "The selected :attribute is invalid.",
  40 + "integer" => "The :attribute must be an integer.",
  41 + "ip" => "The :attribute must be a valid IP address.",
  42 + "max" => array(
  43 + "numeric" => "The :attribute may not be greater than :max.",
  44 + "file" => "The :attribute may not be greater than :max kilobytes.",
  45 + "string" => "The :attribute may not be greater than :max characters.",
  46 + "array" => "The :attribute may not have more than :max items.",
  47 + ),
  48 + "mimes" => "The :attribute must be a file of type: :values.",
  49 + "min" => array(
  50 + "numeric" => "The :attribute must be at least :min.",
  51 + "file" => "The :attribute must be at least :min kilobytes.",
  52 + "string" => "The :attribute must be at least :min characters.",
  53 + "array" => "The :attribute must have at least :min items.",
  54 + ),
  55 + "not_in" => "The selected :attribute is invalid.",
  56 + "numeric" => "The :attribute must be a number.",
  57 + "regex" => "The :attribute format is invalid.",
  58 + "required" => "The :attribute field is required.",
  59 + "required_if" => "The :attribute field is required when :other is :value.",
  60 + "required_with" => "The :attribute field is required when :values is present.",
  61 + "required_without" => "The :attribute field is required when :values is not present.",
  62 + "required_without_all" => "The :attribute field is required when none of :values are present.",
  63 + "same" => "The :attribute and :other must match.",
  64 + "size" => array(
  65 + "numeric" => "The :attribute must be :size.",
  66 + "file" => "The :attribute must be :size kilobytes.",
  67 + "string" => "The :attribute must be :size characters.",
  68 + "array" => "The :attribute must contain :size items.",
  69 + ),
  70 + "unique" => "The :attribute has already been taken.",
  71 + "url" => "The :attribute format is invalid.",
  72 +
  73 + /*
  74 + |--------------------------------------------------------------------------
  75 + | Custom Validation Language Lines
  76 + |--------------------------------------------------------------------------
  77 + |
  78 + | Here you may specify custom validation messages for attributes using the
  79 + | convention "attribute.rule" to name the lines. This makes it quick to
  80 + | specify a specific custom language line for a given attribute rule.
  81 + |
  82 + */
  83 +
  84 + 'custom' => array(),
  85 +
  86 + /*
  87 + |--------------------------------------------------------------------------
  88 + | Custom Validation Attributes
  89 + |--------------------------------------------------------------------------
  90 + |
  91 + | The following language lines are used to swap attribute place-holders
  92 + | with something more reader friendly such as E-Mail Address instead
  93 + | of "email". This simply helps us make messages a little cleaner.
  94 + |
  95 + */
  96 +
  97 + 'attributes' => array(),
  98 +
  99 +);
... ...
app/models/User.php 0 → 100644
  1 +++ a/app/models/User.php
  1 +<?php
  2 +
  3 +use Illuminate\Auth\UserInterface;
  4 +use Illuminate\Auth\Reminders\RemindableInterface;
  5 +
  6 +class User extends Eloquent implements UserInterface, RemindableInterface {
  7 +
  8 + /**
  9 + * The database table used by the model.
  10 + *
  11 + * @var string
  12 + */
  13 + protected $table = 'users';
  14 +
  15 + /**
  16 + * The attributes excluded from the model's JSON form.
  17 + *
  18 + * @var array
  19 + */
  20 + protected $hidden = array('password');
  21 +
  22 + /**
  23 + * Get the unique identifier for the user.
  24 + *
  25 + * @return mixed
  26 + */
  27 + public function getAuthIdentifier()
  28 + {
  29 + return $this->getKey();
  30 + }
  31 +
  32 + /**
  33 + * Get the password for the user.
  34 + *
  35 + * @return string
  36 + */
  37 + public function getAuthPassword()
  38 + {
  39 + return $this->password;
  40 + }
  41 +
  42 + /**
  43 + * Get the e-mail address where password reminders are sent.
  44 + *
  45 + * @return string
  46 + */
  47 + public function getReminderEmail()
  48 + {
  49 + return $this->email;
  50 + }
  51 +
  52 +}
0 53 \ No newline at end of file
... ...
app/routes.php 0 → 100644
  1 +++ a/app/routes.php
  1 +<?php
  2 +
  3 +/*
  4 +|--------------------------------------------------------------------------
  5 +| Application Routes
  6 +|--------------------------------------------------------------------------
  7 +|
  8 +| Here is where you can register all of the routes for an application.
  9 +| It's a breeze. Simply tell Laravel the URIs it should respond to
  10 +| and give it the Closure to execute when that URI is requested.
  11 +|
  12 +*/
  13 +
  14 +Route::get('/', function()
  15 +{
  16 + return View::make('hello');
  17 +});
0 18 \ No newline at end of file
... ...
app/start/artisan.php 0 → 100644
  1 +++ a/app/start/artisan.php
  1 +<?php
  2 +
  3 +/*
  4 +|--------------------------------------------------------------------------
  5 +| Register The Artisan Commands
  6 +|--------------------------------------------------------------------------
  7 +|
  8 +| Each available Artisan command must be registered with the console so
  9 +| that it is available to be called. We'll register every command so
  10 +| the console gets access to each of the command object instances.
  11 +|
  12 +*/
  13 +
... ...
app/start/global.php 0 → 100644
  1 +++ a/app/start/global.php
  1 +<?php
  2 +
  3 +/*
  4 +|--------------------------------------------------------------------------
  5 +| Register The Laravel Class Loader
  6 +|--------------------------------------------------------------------------
  7 +|
  8 +| In addition to using Composer, you may use the Laravel class loader to
  9 +| load your controllers and models. This is useful for keeping all of
  10 +| your classes in the "global" namespace without Composer updating.
  11 +|
  12 +*/
  13 +
  14 +ClassLoader::addDirectories(array(
  15 +
  16 + app_path().'/commands',
  17 + app_path().'/controllers',
  18 + app_path().'/models',
  19 + app_path().'/database/seeds',
  20 +
  21 +));
  22 +
  23 +/*
  24 +|--------------------------------------------------------------------------
  25 +| Application Error Logger
  26 +|--------------------------------------------------------------------------
  27 +|
  28 +| Here we will configure the error logger setup for the application which
  29 +| is built on top of the wonderful Monolog library. By default we will
  30 +| build a basic log file setup which creates a single file for logs.
  31 +|
  32 +*/
  33 +
  34 +Log::useFiles(storage_path().'/logs/laravel.log');
  35 +
  36 +/*
  37 +|--------------------------------------------------------------------------
  38 +| Application Error Handler
  39 +|--------------------------------------------------------------------------
  40 +|
  41 +| Here you may handle any errors that occur in your application, including
  42 +| logging them or displaying custom views for specific errors. You may
  43 +| even register several error handlers to handle different types of
  44 +| exceptions. If nothing is returned, the default error view is
  45 +| shown, which includes a detailed stack trace during debug.
  46 +|
  47 +*/
  48 +
  49 +App::error(function(Exception $exception, $code)
  50 +{
  51 + Log::error($exception);
  52 +});
  53 +
  54 +/*
  55 +|--------------------------------------------------------------------------
  56 +| Maintenance Mode Handler
  57 +|--------------------------------------------------------------------------
  58 +|
  59 +| The "down" Artisan command gives you the ability to put an application
  60 +| into maintenance mode. Here, you will define what is displayed back
  61 +| to the user if maintenance mode is in effect for the application.
  62 +|
  63 +*/
  64 +
  65 +App::down(function()
  66 +{
  67 + return Response::make("Be right back!", 503);
  68 +});
  69 +
  70 +/*
  71 +|--------------------------------------------------------------------------
  72 +| Require The Filters File
  73 +|--------------------------------------------------------------------------
  74 +|
  75 +| Next we will load the filters file for the application. This gives us
  76 +| a nice separate location to store our route and application filter
  77 +| definitions instead of putting them all in the main routes file.
  78 +|
  79 +*/
  80 +
  81 +require app_path().'/filters.php';
... ...
app/start/local.php 0 → 100644
  1 +++ a/app/start/local.php
  1 +<?php
  2 +
  3 +//
0 4 \ No newline at end of file
... ...
app/storage/.gitignore 0 → 100644
  1 +++ a/app/storage/.gitignore
  1 +services.manifest
0 2 \ No newline at end of file
... ...
app/storage/cache/.gitignore 0 → 100644
  1 +++ a/app/storage/cache/.gitignore
  1 +*
  2 +!.gitignore
0 3 \ No newline at end of file
... ...
app/storage/logs/.gitignore 0 → 100644
  1 +++ a/app/storage/logs/.gitignore
  1 +*
  2 +!.gitignore
0 3 \ No newline at end of file
... ...
app/storage/meta/.gitignore 0 → 100644
  1 +++ a/app/storage/meta/.gitignore
  1 +*
  2 +!.gitignore
0 3 \ No newline at end of file
... ...
app/storage/sessions/.gitignore 0 → 100644
  1 +++ a/app/storage/sessions/.gitignore
  1 +*
  2 +!.gitignore
0 3 \ No newline at end of file
... ...
app/storage/views/.gitignore 0 → 100644
  1 +++ a/app/storage/views/.gitignore
  1 +*
  2 +!.gitignore
0 3 \ No newline at end of file
... ...
app/tests/ExampleTest.php 0 → 100644
  1 +++ a/app/tests/ExampleTest.php
  1 +<?php
  2 +
  3 +class ExampleTest extends TestCase {
  4 +
  5 + /**
  6 + * A basic functional test example.
  7 + *
  8 + * @return void
  9 + */
  10 + public function testBasicExample()
  11 + {
  12 + $crawler = $this->client->request('GET', '/');
  13 +
  14 + $this->assertTrue($this->client->getResponse()->isOk());
  15 + }
  16 +
  17 +}
0 18 \ No newline at end of file
... ...
app/tests/TestCase.php 0 → 100644
  1 +++ a/app/tests/TestCase.php
  1 +<?php
  2 +
  3 +class TestCase extends Illuminate\Foundation\Testing\TestCase {
  4 +
  5 + /**
  6 + * Creates the application.
  7 + *
  8 + * @return \Symfony\Component\HttpKernel\HttpKernelInterface
  9 + */
  10 + public function createApplication()
  11 + {
  12 + $unitTesting = true;
  13 +
  14 + $testEnvironment = 'testing';
  15 +
  16 + return require __DIR__.'/../../bootstrap/start.php';
  17 + }
  18 +
  19 +}
... ...
app/views/emails/auth/reminder.blade.php 0 → 100644
  1 +++ a/app/views/emails/auth/reminder.blade.php
  1 +<!DOCTYPE html>
  2 +<html lang="en-US">
  3 + <head>
  4 + <meta charset="utf-8">
  5 + </head>
  6 + <body>
  7 + <h2>Password Reset</h2>
  8 +
  9 + <div>
  10 + To reset your password, complete this form: {{ URL::to('password/reset', array($token)) }}.
  11 + </div>
  12 + </body>
  13 +</html>
0 14 \ No newline at end of file
... ...
app/views/hello.php 0 → 100644
  1 +++ a/app/views/hello.php
  1 +<!doctype html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>Laravel PHP Framework</title>
  6 + <style>
  7 + @import url(//fonts.googleapis.com/css?family=Lato:700);
  8 +
  9 + body {
  10 + margin:0;
  11 + font-family:'Lato', sans-serif;
  12 + text-align:center;
  13 + color: #999;
  14 + }
  15 +
  16 + .welcome {
  17 + width: 300px;
  18 + height: 200px;
  19 + position: absolute;
  20 + left: 50%;
  21 + top: 50%;
  22 + margin-left: -150px;
  23 + margin-top: -100px;
  24 + }
  25 +
  26 + a, a:visited {
  27 + text-decoration:none;
  28 + }
  29 +
  30 + h1 {
  31 + font-size: 32px;
  32 + margin: 16px 0 0 0;
  33 + }
  34 + </style>
  35 +</head>
  36 +<body>
  37 + <div class="welcome">
  38 + <a href="http://laravel.com" title="Laravel PHP Framework"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIcAAACHCAYAAAA850oKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbi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B3mUAAAAASUVORK5CYII="></a>
  39 + <h1>You have arrived.</h1>
  40 + </div>
  41 +</body>
  42 +</html>
... ...
artisan 0 → 100644
  1 +++ a/artisan
  1 +#!/usr/bin/env php
  2 +<?php
  3 +
  4 +/*
  5 +|--------------------------------------------------------------------------
  6 +| Register The Auto Loader
  7 +|--------------------------------------------------------------------------
  8 +|
  9 +| Composer provides a convenient, automatically generated class loader
  10 +| for our application. We just need to utilize it! We'll require it
  11 +| into the script here so that we do not have to worry about the
  12 +| loading of any our classes "manually". Feels great to relax.
  13 +|
  14 +*/
  15 +
  16 +require __DIR__.'/bootstrap/autoload.php';
  17 +
  18 +/*
  19 +|--------------------------------------------------------------------------
  20 +| Turn On The Lights
  21 +|--------------------------------------------------------------------------
  22 +|
  23 +| We need to illuminate PHP development, so let's turn on the lights.
  24 +| This bootstrap the framework and gets it ready for use, then it
  25 +| will load up this application so that we can run it and send
  26 +| the responses back to the browser and delight these users.
  27 +|
  28 +*/
  29 +
  30 +$app = require_once __DIR__.'/bootstrap/start.php';
  31 +
  32 +/*
  33 +|--------------------------------------------------------------------------
  34 +| Load The Artisan Console Application
  35 +|--------------------------------------------------------------------------
  36 +|
  37 +| We'll need to run the script to load and return the Artisan console
  38 +| application. We keep this in its own script so that we will load
  39 +| the console application independent of running commands which
  40 +| will allow us to fire commands from Routes when we want to.
  41 +|
  42 +*/
  43 +
  44 +$app->setRequestForConsoleEnvironment();
  45 +
  46 +$artisan = Illuminate\Console\Application::start($app);
  47 +
  48 +/*
  49 +|--------------------------------------------------------------------------
  50 +| Run The Artisan Application
  51 +|--------------------------------------------------------------------------
  52 +|
  53 +| When we run the console application, the current CLI command will be
  54 +| executed in this console and the response sent back to a terminal
  55 +| or another output device for the developers. Here goes nothing!
  56 +|
  57 +*/
  58 +
  59 +$status = $artisan->run();
  60 +
  61 +/*
  62 +|--------------------------------------------------------------------------
  63 +| Shutdown The Application
  64 +|--------------------------------------------------------------------------
  65 +|