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/Chapter05/app/Providers/BroadcastServiceProvider.php | Chapter05/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/Chapter05/app/Providers/RouteServiceProvider.php | Chapter05/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/Chapter05/app/Providers/EventServiceProvider.php | Chapter05/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/Chapter05/app/Providers/AppServiceProvider.php | Chapter05/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/Chapter05/app/Providers/AuthServiceProvider.php | Chapter05/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/Chapter05/bootstrap/app.php | Chapter05/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/Chapter05/bootstrap/autoload.php | Chapter05/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/Chapter05/tests/TestCase.php | Chapter05/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/Chapter05/tests/CreatesApplication.php | Chapter05/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/Chapter05/tests/Feature/ExampleTest.php | Chapter05/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/Chapter05/tests/Unit/ExampleTest.php | Chapter05/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/Chapter05/routes/web.php | Chapter05/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/Chapter05/routes/channels.php | Chapter05/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/Chapter05/routes/api.php | Chapter05/routes/api.php | <?php
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/Chapter05/routes/console.php | Chapter05/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/Chapter05/public/index.php | Chapter05/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/Chapter05/config/app.php | Chapter05/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/Chapter05/config/session.php | Chapter05/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/Chapter05/config/queue.php | Chapter05/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/Chapter05/config/cache.php | Chapter05/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/Chapter05/config/view.php | Chapter05/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/Chapter05/config/database.php | Chapter05/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/Chapter05/config/services.php | Chapter05/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/Chapter05/config/filesystems.php | Chapter05/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/Chapter05/config/mail.php | Chapter05/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/Chapter05/config/broadcasting.php | Chapter05/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/Chapter05/config/auth.php | Chapter05/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/Chapter05/database/seeds/ListingsTableSeeder.php | Chapter05/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/Chapter05/database/seeds/DatabaseSeeder.php | Chapter05/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/Chapter05/database/factories/ModelFactory.php | Chapter05/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/Chapter05/database/factories/UserFactory.php | Chapter05/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/Chapter05/database/migrations/2014_10_12_000000_create_users_table.php | Chapter05/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/Chapter05/database/migrations/2014_10_12_100000_create_password_resets_table.php | Chapter05/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/Chapter05/database/migrations/2017_06_20_133317_create_listings_table.php | Chapter05/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/Chapter05/resources/lang/en/passwords.php | Chapter05/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/Chapter05/resources/lang/en/pagination.php | Chapter05/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/Chapter05/resources/lang/en/validation.php | Chapter05/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/Chapter05/resources/lang/en/auth.php | Chapter05/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/Chapter05/resources/views/app.blade.php | Chapter05/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">
<script type="text/javascr... | 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/Chapter03/server.php | Chapter03/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/Chapter03/app/User.php | Chapter03/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/Chapter03/app/Exceptions/Handler.php | Chapter03/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/Chapter03/app/Http/Kernel.php | Chapter03/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/Chapter03/app/Http/Controllers/Controller.php | Chapter03/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/Chapter03/app/Http/Controllers/Auth/LoginController.php | Chapter03/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/Chapter03/app/Http/Controllers/Auth/ForgotPasswordController.php | Chapter03/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/Chapter03/app/Http/Controllers/Auth/ResetPasswordController.php | Chapter03/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/Chapter03/app/Http/Controllers/Auth/RegisterController.php | Chapter03/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/Chapter03/app/Http/Middleware/RedirectIfAuthenticated.php | Chapter03/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/Chapter03/app/Http/Middleware/TrustProxies.php | Chapter03/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/Chapter03/app/Http/Middleware/TrimStrings.php | Chapter03/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/Chapter03/app/Http/Middleware/EncryptCookies.php | Chapter03/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/Chapter03/app/Http/Middleware/VerifyCsrfToken.php | Chapter03/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/Chapter03/app/Console/Kernel.php | Chapter03/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/Chapter03/app/Providers/BroadcastServiceProvider.php | Chapter03/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/Chapter03/app/Providers/RouteServiceProvider.php | Chapter03/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/Chapter03/app/Providers/EventServiceProvider.php | Chapter03/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/Chapter03/app/Providers/AppServiceProvider.php | Chapter03/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/Chapter03/app/Providers/AuthServiceProvider.php | Chapter03/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/Chapter03/bootstrap/app.php | Chapter03/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/Chapter03/bootstrap/autoload.php | Chapter03/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/Chapter03/tests/TestCase.php | Chapter03/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/Chapter03/tests/CreatesApplication.php | Chapter03/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/Chapter03/tests/Feature/ExampleTest.php | Chapter03/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/Chapter03/tests/Unit/ExampleTest.php | Chapter03/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/Chapter03/routes/web.php | Chapter03/routes/web.php | <?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... | 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/Chapter03/routes/channels.php | Chapter03/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/Chapter03/routes/api.php | Chapter03/routes/api.php | <?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... | 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/Chapter03/routes/console.php | Chapter03/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/Chapter03/public/index.php | Chapter03/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/Chapter03/config/app.php | Chapter03/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/Chapter03/config/session.php | Chapter03/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/Chapter03/config/queue.php | Chapter03/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/Chapter03/config/cache.php | Chapter03/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/Chapter03/config/view.php | Chapter03/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/Chapter03/config/database.php | Chapter03/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/Chapter03/config/services.php | Chapter03/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/Chapter03/config/filesystems.php | Chapter03/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/Chapter03/config/mail.php | Chapter03/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/Chapter03/config/broadcasting.php | Chapter03/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/Chapter03/config/auth.php | Chapter03/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/Chapter03/database/seeds/DatabaseSeeder.php | Chapter03/database/seeds/DatabaseSeeder.php | <?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// $this->call(UsersTableSeeder::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/Chapter03/database/factories/ModelFactory.php | Chapter03/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/Chapter03/database/factories/UserFactory.php | Chapter03/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/Chapter03/database/migrations/2014_10_12_000000_create_users_table.php | Chapter03/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/Chapter03/database/migrations/2014_10_12_100000_create_password_resets_table.php | Chapter03/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/Chapter03/resources/lang/en/passwords.php | Chapter03/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/Chapter03/resources/lang/en/pagination.php | Chapter03/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/Chapter03/resources/lang/en/validation.php | Chapter03/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/Chapter03/resources/lang/en/auth.php | Chapter03/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/Chapter03/resources/views/welcome.blade.php | Chapter03/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/Chapter10/server.php | Chapter10/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/Chapter10/app/User.php | Chapter10/app/User.php | <?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Laravel\Passport\HasApiTokens;
class User extends Authenticatable
{
use HasApiTokens, Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
... | 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/Chapter10/app/helpers.php | Chapter10/app/helpers.php | <?php
use Illuminate\Support\Facades\Config;
if (!function_exists('cdn'))
{
function cdn($asset)
{
if (Config::get('app.cdn.bypass') || !Config::get('app.cdn.url')) {
return asset($asset);
} else {
return "//" . Config::get('app.cdn.url') . '/' . $asset;
}
... | 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/Chapter10/app/Listing.php | Chapter10/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/Chapter10/app/Exceptions/Handler.php | Chapter10/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/Chapter10/app/Http/Kernel.php | Chapter10/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/Chapter10/app/Http/Controllers/Controller.php | Chapter10/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/Chapter10/app/Http/Controllers/UserController.php | Chapter10/app/Http/Controllers/UserController.php | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Input;
class UserController extends Controller
{
public function toggle_saved()
{
$id = Input::get('id');
$user = Auth::user();
$saved = $user->saved;... | 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/Chapter10/app/Http/Controllers/ListingController.php | Chapter10/app/Http/Controllers/ListingController.php | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Listing;
use Illuminate\Support\Facades\Auth;
class ListingController extends Controller
{
private function get_listing($listing)
{
$model = $listing->toArray();
for($i = 1; $i <=4; $i++) {
$model['image_' ... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.