repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/view.php
Chapter08/config/view.php
<?php return [ /* |-------------------------------------------------------------------------- | View Storage Paths |-------------------------------------------------------------------------- | | Most templating systems load templates from disk. Here you may specify | an array of paths that...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/database.php
Chapter08/config/database.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections below you wish | to use as...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/services.php
Chapter08/config/services.php
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/filesystems.php
Chapter08/config/filesystems.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/mail.php
Chapter08/config/mail.php
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may s...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/broadcasting.php
Chapter08/config/broadcasting.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Broadcaster |-------------------------------------------------------------------------- | | This option controls the default broadcaster that will be used by the | framework when an even...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/auth.php
Chapter08/config/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/database/seeds/ListingsTableSeeder.php
Chapter08/database/seeds/ListingsTableSeeder.php
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\DB; class ListingsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // Load the file $path = base_path() . '/da...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/database/seeds/DatabaseSeeder.php
Chapter08/database/seeds/DatabaseSeeder.php
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $this->call(ListingsTableSeeder::class); } }
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/database/factories/ModelFactory.php
Chapter08/database/factories/ModelFactory.php
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding yo...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/database/factories/UserFactory.php
Chapter08/database/factories/UserFactory.php
<?php use Faker\Generator as Faker; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | This directory should contain each of the model factory definitions for | your application. Factories pro...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/database/migrations/2014_10_12_000000_create_users_table.php
Chapter08/database/migrations/2014_10_12_000000_create_users_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/database/migrations/2014_10_12_100000_create_password_resets_table.php
Chapter08/database/migrations/2014_10_12_100000_create_password_resets_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePasswordResetsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('password...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/database/migrations/2017_06_20_133317_create_listings_table.php
Chapter08/database/migrations/2017_06_20_133317_create_listings_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateListingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('listings', fu...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/resources/lang/en/passwords.php
Chapter08/resources/lang/en/passwords.php
<?php return [ /* |-------------------------------------------------------------------------- | Password Reset Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are gi...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/resources/lang/en/pagination.php
Chapter08/resources/lang/en/pagination.php
<?php return [ /* |-------------------------------------------------------------------------- | Pagination Language Lines |-------------------------------------------------------------------------- | | The following language lines are used by the paginator library to build | the simple pag...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/resources/lang/en/validation.php
Chapter08/resources/lang/en/validation.php
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/resources/lang/en/auth.php
Chapter08/resources/lang/en/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/resources/views/app.blade.php
Chapter08/resources/views/app.blade.php
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Vuebnb</title> <link rel="stylesheet" href="{{ asset('css/style.css') }}" type="text/css"> <link rel="stylesheet" hre...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/server.php
Chapter04/server.php
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ $uri = urldecode( parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ); // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web server. Thi...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/User.php
Chapter04/app/User.php
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email',...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Listing.php
Chapter04/app/Listing.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Listing extends Model { protected $casts = [ 'amenity_wifi' => 'boolean', 'amenity_pets_allowed' => 'boolean', 'amenity_tv' => 'boolean', 'amenity_kitchen' => 'boolean', 'amenity_breakfast' => 'boolean', ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Exceptions/Handler.php
Chapter04/app/Exceptions/Handler.php
<?php namespace App\Exceptions; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler { /** * A list of the exception types that are not reported. * * @var array */ protected $dontReport = [ // ]; /** ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Kernel.php
Chapter04/app/Http/Kernel.php
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Controllers/Controller.php
Chapter04/app/Http/Controllers/Controller.php
<?php namespace App\Http\Controllers; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; class Controller extends BaseController { use AuthorizesReques...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Controllers/ListingController.php
Chapter04/app/Http/Controllers/ListingController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Listing; class ListingController extends Controller { public function get_listing_api(Listing $listing) { $model = $listing->toArray(); for($i = 1; $i <=4; $i++) { $model['image_' . $i] = asset('images/' . ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Controllers/Auth/LoginController.php
Chapter04/app/Http/Controllers/Auth/LoginController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller |----------------------------...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Controllers/Auth/ForgotPasswordController.php
Chapter04/app/Http/Controllers/Auth/ForgotPasswordController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; class ForgotPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |----...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Controllers/Auth/ResetPasswordController.php
Chapter04/app/Http/Controllers/Auth/ResetPasswordController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; class ResetPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |--------------...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Controllers/Auth/RegisterController.php
Chapter04/app/Http/Controllers/Auth/RegisterController.php
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends Controller { /* |-------------------------------------------------------------------------- ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Middleware/RedirectIfAuthenticated.php
Chapter04/app/Http/Middleware/RedirectIfAuthenticated.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null $guard * @return mixed */ ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Middleware/TrustProxies.php
Chapter04/app/Http/Middleware/TrustProxies.php
<?php namespace App\Http\Middleware; use Illuminate\Http\Request; use Fideloper\Proxy\TrustProxies as Middleware; class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array */ protected $proxies; /** * The current proxy header mappings...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Middleware/TrimStrings.php
Chapter04/app/Http/Middleware/TrimStrings.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware; class TrimStrings extends Middleware { /** * The names of the attributes that should not be trimmed. * * @var array */ protected $except = [ 'password', 'password_conf...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Middleware/EncryptCookies.php
Chapter04/app/Http/Middleware/EncryptCookies.php
<?php namespace App\Http\Middleware; use Illuminate\Cookie\Middleware\EncryptCookies as Middleware; class EncryptCookies extends Middleware { /** * The names of the cookies that should not be encrypted. * * @var array */ protected $except = [ // ]; }
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Http/Middleware/VerifyCsrfToken.php
Chapter04/app/Http/Middleware/VerifyCsrfToken.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ // ]; }
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Console/Kernel.php
Chapter04/app/Console/Kernel.php
<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ // ]; ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Providers/BroadcastServiceProvider.php
Chapter04/app/Providers/BroadcastServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Broadcast; class BroadcastServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Broadcast::routes();...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Providers/RouteServiceProvider.php
Chapter04/app/Providers/RouteServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Route; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * * In addition, it is set as th...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Providers/EventServiceProvider.php
Chapter04/app/Providers/EventServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Event; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for the application. * * @var array */ protected...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Providers/AppServiceProvider.php
Chapter04/app/Providers/AppServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // } /** * Register any application services. * ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/app/Providers/AuthServiceProvider.php
Chapter04/app/Providers/AuthServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Gate; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array */ protected $policies ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/bootstrap/app.php
Chapter04/bootstrap/app.php
<?php /* |-------------------------------------------------------------------------- | Create The Application |-------------------------------------------------------------------------- | | The first thing we will do is create a new Laravel application instance | which serves as the "glue" for all the components of La...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/bootstrap/autoload.php
Chapter04/bootstrap/autoload.php
<?php define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Register The Composer Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader | for ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/tests/TestCase.php
Chapter04/tests/TestCase.php
<?php namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { use CreatesApplication; }
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/tests/CreatesApplication.php
Chapter04/tests/CreatesApplication.php
<?php namespace Tests; use Illuminate\Contracts\Console\Kernel; trait CreatesApplication { /** * Creates the application. * * @return \Illuminate\Foundation\Application */ public function createApplication() { $app = require __DIR__.'/../bootstrap/app.php'; $app->make...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/tests/Feature/ExampleTest.php
Chapter04/tests/Feature/ExampleTest.php
<?php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class ExampleTest extends TestCase { /** * A basic test example. * * @return void */ public function testBasicTest() { $response = $this->get('/'); $response->assertS...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/tests/Unit/ExampleTest.php
Chapter04/tests/Unit/ExampleTest.php
<?php namespace Tests\Unit; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class ExampleTest extends TestCase { /** * A basic test example. * * @return void */ public function testBasicTest() { $this->assertTrue(true); } }
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/routes/web.php
Chapter04/routes/web.php
<?php use Illuminate\Support\Facades\Storage as Storage; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/routes/channels.php
Chapter04/routes/channels.php
<?php /* |-------------------------------------------------------------------------- | Broadcast Channels |-------------------------------------------------------------------------- | | Here you may register all of the event broadcasting channels that your | application supports. The given channel authorization callba...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/routes/api.php
Chapter04/routes/api.php
<?php use Illuminate\Http\Request; Route::get('/listing/{listing}', 'ListingController@get_listing_api');
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/routes/console.php
Chapter04/routes/console.php
<?php use Illuminate\Foundation\Inspiring; /* |-------------------------------------------------------------------------- | Console Routes |-------------------------------------------------------------------------- | | This file is where you may define all of your Closure based console | commands. Each Closure is bou...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/public/index.php
Chapter04/public/index.php
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Register The Auto Loader |------------------------------------...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/app.php
Chapter04/config/app.php
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/session.php
Chapter04/config/session.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Session Driver |-------------------------------------------------------------------------- | | This option controls the default session "driver" that will be used on | requests. By defau...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/queue.php
Chapter04/config/queue.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Queue Driver |-------------------------------------------------------------------------- | | Laravel's queue API supports an assortment of back-ends via a single | API, giving you conven...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/cache.php
Chapter04/config/cache.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Cache Store |-------------------------------------------------------------------------- | | This option controls the default cache connection that gets used while | using this caching li...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/view.php
Chapter04/config/view.php
<?php return [ /* |-------------------------------------------------------------------------- | View Storage Paths |-------------------------------------------------------------------------- | | Most templating systems load templates from disk. Here you may specify | an array of paths that...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/database.php
Chapter04/config/database.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections below you wish | to use as...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/services.php
Chapter04/config/services.php
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/filesystems.php
Chapter04/config/filesystems.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/mail.php
Chapter04/config/mail.php
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may s...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/broadcasting.php
Chapter04/config/broadcasting.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Broadcaster |-------------------------------------------------------------------------- | | This option controls the default broadcaster that will be used by the | framework when an even...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/config/auth.php
Chapter04/config/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/database/seeds/ListingsTableSeeder.php
Chapter04/database/seeds/ListingsTableSeeder.php
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\DB; class ListingsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // Load the file $path = base_path() . '/da...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/database/seeds/DatabaseSeeder.php
Chapter04/database/seeds/DatabaseSeeder.php
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $this->call(ListingsTableSeeder::class); } }
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/database/factories/ModelFactory.php
Chapter04/database/factories/ModelFactory.php
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding yo...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/database/factories/UserFactory.php
Chapter04/database/factories/UserFactory.php
<?php use Faker\Generator as Faker; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | This directory should contain each of the model factory definitions for | your application. Factories pro...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/database/migrations/2014_10_12_000000_create_users_table.php
Chapter04/database/migrations/2014_10_12_000000_create_users_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/database/migrations/2014_10_12_100000_create_password_resets_table.php
Chapter04/database/migrations/2014_10_12_100000_create_password_resets_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePasswordResetsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('password...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/database/migrations/2017_06_20_133317_create_listings_table.php
Chapter04/database/migrations/2017_06_20_133317_create_listings_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateListingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('listings', fu...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/resources/lang/en/passwords.php
Chapter04/resources/lang/en/passwords.php
<?php return [ /* |-------------------------------------------------------------------------- | Password Reset Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are gi...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/resources/lang/en/pagination.php
Chapter04/resources/lang/en/pagination.php
<?php return [ /* |-------------------------------------------------------------------------- | Pagination Language Lines |-------------------------------------------------------------------------- | | The following language lines are used by the paginator library to build | the simple pag...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/resources/lang/en/validation.php
Chapter04/resources/lang/en/validation.php
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/resources/lang/en/auth.php
Chapter04/resources/lang/en/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter04/resources/views/welcome.blade.php
Chapter04/resources/views/welcome.blade.php
<!doctype html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/server.php
Chapter06/server.php
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ $uri = urldecode( parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ); // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web server. Thi...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/User.php
Chapter06/app/User.php
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email',...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Listing.php
Chapter06/app/Listing.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Listing extends Model { protected $casts = [ 'amenity_wifi' => 'boolean', 'amenity_pets_allowed' => 'boolean', 'amenity_tv' => 'boolean', 'amenity_kitchen' => 'boolean', 'amenity_breakfast' => 'boolean', ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Exceptions/Handler.php
Chapter06/app/Exceptions/Handler.php
<?php namespace App\Exceptions; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler { /** * A list of the exception types that are not reported. * * @var array */ protected $dontReport = [ // ]; /** ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Kernel.php
Chapter06/app/Http/Kernel.php
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Controllers/Controller.php
Chapter06/app/Http/Controllers/Controller.php
<?php namespace App\Http\Controllers; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; class Controller extends BaseController { use AuthorizesReques...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Controllers/ListingController.php
Chapter06/app/Http/Controllers/ListingController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Listing; class ListingController extends Controller { private function add_image_urls($model, $id) { for($i = 1; $i <=4; $i++) { $model['image_' . $i] = asset('images/' . $id . '/Image_' . $i . '.jpg'); } ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Controllers/Auth/LoginController.php
Chapter06/app/Http/Controllers/Auth/LoginController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller |----------------------------...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Controllers/Auth/ForgotPasswordController.php
Chapter06/app/Http/Controllers/Auth/ForgotPasswordController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; class ForgotPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |----...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Controllers/Auth/ResetPasswordController.php
Chapter06/app/Http/Controllers/Auth/ResetPasswordController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; class ResetPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |--------------...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Controllers/Auth/RegisterController.php
Chapter06/app/Http/Controllers/Auth/RegisterController.php
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends Controller { /* |-------------------------------------------------------------------------- ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Middleware/RedirectIfAuthenticated.php
Chapter06/app/Http/Middleware/RedirectIfAuthenticated.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null $guard * @return mixed */ ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Middleware/TrustProxies.php
Chapter06/app/Http/Middleware/TrustProxies.php
<?php namespace App\Http\Middleware; use Illuminate\Http\Request; use Fideloper\Proxy\TrustProxies as Middleware; class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array */ protected $proxies; /** * The current proxy header mappings...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Middleware/TrimStrings.php
Chapter06/app/Http/Middleware/TrimStrings.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware; class TrimStrings extends Middleware { /** * The names of the attributes that should not be trimmed. * * @var array */ protected $except = [ 'password', 'password_conf...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Middleware/EncryptCookies.php
Chapter06/app/Http/Middleware/EncryptCookies.php
<?php namespace App\Http\Middleware; use Illuminate\Cookie\Middleware\EncryptCookies as Middleware; class EncryptCookies extends Middleware { /** * The names of the cookies that should not be encrypted. * * @var array */ protected $except = [ // ]; }
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Http/Middleware/VerifyCsrfToken.php
Chapter06/app/Http/Middleware/VerifyCsrfToken.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ // ]; }
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Console/Kernel.php
Chapter06/app/Console/Kernel.php
<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ // ]; ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Providers/BroadcastServiceProvider.php
Chapter06/app/Providers/BroadcastServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Broadcast; class BroadcastServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Broadcast::routes();...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Providers/RouteServiceProvider.php
Chapter06/app/Providers/RouteServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Route; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * * In addition, it is set as th...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Providers/EventServiceProvider.php
Chapter06/app/Providers/EventServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Event; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for the application. * * @var array */ protected...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Providers/AppServiceProvider.php
Chapter06/app/Providers/AppServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // } /** * Register any application services. * ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/app/Providers/AuthServiceProvider.php
Chapter06/app/Providers/AuthServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Gate; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array */ protected $policies ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/bootstrap/app.php
Chapter06/bootstrap/app.php
<?php /* |-------------------------------------------------------------------------- | Create The Application |-------------------------------------------------------------------------- | | The first thing we will do is create a new Laravel application instance | which serves as the "glue" for all the components of La...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/bootstrap/autoload.php
Chapter06/bootstrap/autoload.php
<?php define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Register The Composer Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader | for ...
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5
https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter06/tests/TestCase.php
Chapter06/tests/TestCase.php
<?php namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { use CreatesApplication; }
php
MIT
072a41482c6a23b3f211a10cf8f4297145b856d0
2026-01-05T03:39:48.739384Z
false