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 |
|---|---|---|---|---|---|---|---|---|
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Auth/RegisterTest.php | tests/Feature/Auth/RegisterTest.php | <?php
namespace Tests\Feature\Auth;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class RegisterTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function an_user_can_register()
{
if (config('auth.register')) {
$u... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Auth/LoginTest.php | tests/Feature/Auth/LoginTest.php | <?php
namespace Tests\Feature\Auth;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class LoginTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function a_user_login_with_valid_credentials()
{
$user = create(User::class);
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Auth/Passwords/EmailTest.php | tests/Feature/Auth/Passwords/EmailTest.php | <?php
namespace Tests\Feature\Auth\Passwords;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class EmailTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function a_user_can_send_password_reset_link()
{
$user = create(User::cl... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Auth/Passwords/ResetTest.php | tests/Feature/Auth/Passwords/ResetTest.php | <?php
namespace Tests\Feature\Auth\Passwords;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class ResetTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function a_user_can_send_password_reset_link()
{
$user = create(User::cl... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Back/ProfileTest.php | tests/Feature/Back/ProfileTest.php | <?php
namespace Tests\Feature\Back;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Facades\Storage;
use Tests\TestCase;
class ProfileTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function unauthori... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Back/DashboardTest.php | tests/Feature/Back/DashboardTest.php | <?php
namespace Tests\Feature\Back;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class DashboardTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function unauthorized_user_may_not_visit_dashboard()
{
$this
->get(route('back.dashboar... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Back/Users/ListUserTest.php | tests/Feature/Back/Users/ListUserTest.php | <?php
namespace Tests\Feature\Back\Users;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class ListUserTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function unauthorized_user_may_not_visit_users()
{
$this
->ge... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Back/Users/EditUserTest.php | tests/Feature/Back/Users/EditUserTest.php | <?php
namespace Tests\Feature\Back\Users;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class EditUserTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function unauthorized_user_cannot_visit_users()
{
$this
->get... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Back/Users/DeleteUserTest.php | tests/Feature/Back/Users/DeleteUserTest.php | <?php
namespace Tests\Feature\Back\Users;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class DeleteUserTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function authorized_users_can_delete_user()
{
$this->signIn();
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Back/Users/CreateUserTest.php | tests/Feature/Back/Users/CreateUserTest.php | <?php
namespace Tests\Feature\Back\Users;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class CreateUserTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function unauthorized_user_cannot_visit_users()
{
$this
->g... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Back/Contacts/EditContactTest.php | tests/Feature/Back/Contacts/EditContactTest.php | <?php
namespace Tests\Feature\Back\Contacts;
use App\Models\Contact;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class EditContactTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function unauthorized_user_cannot_visit_contacts()
{
$this
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Back/Contacts/ListContactTest.php | tests/Feature/Back/Contacts/ListContactTest.php | <?php
namespace Tests\Feature\Back\Contacts;
use App\Models\Contact;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class ListContactTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function unauthorized_contact_may_not_visit_contacts()
{
$this
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Back/Contacts/DeleteContactTest.php | tests/Feature/Back/Contacts/DeleteContactTest.php | <?php
namespace Tests\Feature\Back\Contacts;
use App\Models\Contact;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class DeleteContactTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function authorized_users_can_delete_contact()
{
$this->signIn... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Back/Contacts/CreateContactTest.php | tests/Feature/Back/Contacts/CreateContactTest.php | <?php
namespace Tests\Feature\Back\Contacts;
use App\Models\Contact;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
class CreateContactTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function unauthorized_user_cannot_visit_contacts()
{
$this
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Feature/Guest/HomeTest.php | tests/Feature/Guest/HomeTest.php | <?php
namespace Tests\Feature\Guest;
use Tests\TestCase;
class HomeTest extends TestCase
{
/** @test */
public function a_visitor_can_visit_homepage()
{
$response = $this->get('/');
$response->assertSee('/img/logo.png');
$response->assertSee('Login');
}
}
| php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/tests/Unit/ExampleTest.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/routes/channels.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/public/index.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/app.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/session.php | config/session.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be use... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/queue.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/cache.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/view.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/database.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/services.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/filesystems.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/mail.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/broadcasting.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/config/auth.php | config/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Enabled
|--------------------------------------------------------------------------
*/
'register' => true,
/*
|---------------------------------------------------------------... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/database/seeds/DatabaseSeeder.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/database/factories/ModelFactory.php | database/factories/ModelFactory.php | <?php
use Faker\Generator as Faker;
$factory->define(App\Models\User::class, function (Faker $faker) {
static $password;
return [
'name' => $faker->name,
'email' => $faker->unique()->safeEmail,
'password' => $password ?: $password = bcrypt('secret'),
];
});
$factory->define(App\M... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/database/migrations/2017_09_26_000000_create_contacts_table.php | database/migrations/2017_09_26_000000_create_contacts_table.php | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateContactsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('contacts', fun... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/database/migrations/2014_10_12_000000_create_users_table.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/database/migrations/2014_10_12_100000_create_password_resets_table.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/lang/en/passwords.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/lang/en/messages.php | resources/lang/en/messages.php | <?php
return [
'success' => 'Operation has been successful.',
'exception' => 'Unexpected error, please contact the administrator.',
'no-records' => 'No records found.',
'add-new' => 'Add new',
'confirm-title' => 'Are you sure?',
'confirm' => 'This operation is irreversible, do you want to proce... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/lang/en/dictionary.php | resources/lang/en/dictionary.php | <?php
return [
'email' => 'Email Address',
'password' => 'Password',
'login' => 'Login',
'logout' => 'Logout',
'users' => 'Users',
'contacts' => 'Contacts',
'register' => 'Register',
'name' => 'Name',
'picture' => 'Picture',
'update' => 'Update',
'create' => 'Create',
'b... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/lang/en/pagination.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/lang/en/back.php | resources/lang/en/back.php | <?php
return [
'back.success' => 'Operation has been successful',
'dashboard' => 'Dashboard',
'profile' => 'Profile',
'users' => [
'create' => 'Create new user'
],
'contacts' => [
'create' => 'Create new contact'
]
]; | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/lang/en/validation.php | 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 | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/lang/en/auth.php | resources/lang/en/auth.php | <?php
return [
'restricted-access' => 'Restricted Access',
'forgot' => 'Forgot your password?',
'remember' => 'Remember my password',
'password-confirmation' => 'Password Confirmation',
'reset-password' => 'Reset Password',
'send-link' => 'Send Password Reset Link',
'change-password' => 'Ch... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/guest/layout.blade.php | resources/views/guest/layout.blade.php | <!DOCTYPE html>
<html lang="en">
<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>{{ config('app.name') }}</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=R... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/guest/home.blade.php | resources/views/guest/home.blade.php | @extends('guest.layout')
@section('content')
<div class="flex-center position-ref full-height">
<div class="content">
<div class="title m-b-md">
<img src="/img/logo.png" width="100%" />
</div>
<div class="links">
<a href="/login">Login</a... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/auth/layout.blade.php | resources/views/auth/layout.blade.php | @extends('back.theme')
@section('body')
<nav class="navbar navbar-transparent navbar-absolute">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/">
<img src="/img/logo-white.png" height="30" />
</a>
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/auth/login.blade.php | resources/views/auth/login.blade.php | @extends('auth.layout')
@section('title', trans('dictionary.login'))
@section('content')
{!! Form::open(['method' => 'post', 'route' => ['login']]) !!}
<div class="card {{ !$errors->isEmpty() ?: 'card-hidden' }}">
<div class="header text-center">{{ trans('auth.restricted-access') }}</div>
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/auth/register.blade.php | resources/views/auth/register.blade.php | @extends('auth.layout')
@section('title', trans('dictionary.register'))
@section('content')
{!! Form::open(['method' => 'post', 'route' => ['register']]) !!}
<div class="card {{ !$errors->isEmpty() ?: 'card-hidden' }}">
<div class="header text-center">{{ trans('dictionary.register') }}</div>
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/auth/passwords/email.blade.php | resources/views/auth/passwords/email.blade.php | @extends('auth.layout')
@section('title', trans('auth.reset-password'))
@section('content')
{!! Form::open(['method' => 'post', 'route' => ['password.email']]) !!}
<div class="card {{ !$errors->isEmpty() ?: 'card-hidden' }}">
<div class="header text-center">{{ trans('auth.reset-password') }}</... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/auth/passwords/reset.blade.php | resources/views/auth/passwords/reset.blade.php | @extends('auth.layout')
@section('title', trans('auth.reset-password'))
@section('content')
{!! Form::open(['method' => 'post', 'route' => ['password.request']]) !!}
<input type="hidden" name="token" value="{{ $token }}">
<div class="card {{ !$errors->isEmpty() ?: 'card-hidden' }}">
<... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/theme.blade.php | resources/views/back/theme.blade.php | <!doctype html>
<html lang="{{ config('app.locale') }}">
<head>
<meta charset="utf-8"/>
<title>@yield('title') - {{ config('app.name') }}</title>
<link rel="icon" type="image/png" href="/img/favicon.ico">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta content='width=device-wid... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/layout.blade.php | resources/views/back/layout.blade.php | @extends('back.theme')
@section('body')
<div class="wrapper">
@include('back.layout.sidebar')
<div class="main-panel">
@include('back.layout.header')
<div class="content">
<div class="container-fluid">
@include('flash::message')
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/profile.blade.php | resources/views/back/profile.blade.php | @extends('back.layout')
@section('title', trans('back.profile'))
@section('content')
<div class="row">
<div class="col-md-8">
<div class="card">
<div class="content">
{!! Form::open(['method' => 'post', 'route' => ['back.profile'], 'files' => true]) !!}
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/dashboard.blade.php | resources/views/back/dashboard.blade.php | @extends('back.layout')
@section('title', trans('back.dashboard'))
@section('content')
@endsection | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/layout/header.blade.php | resources/views/back/layout/header.blade.php | <nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-minimize">
<button id="minimizeSidebar" class="btn btn-default btn-fill btn-round btn-icon">
<i class="fa fa-ellipsis-v visible-on-sidebar-regular"></i>
<i class="fa fa-navicon vi... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/layout/sidebar.blade.php | resources/views/back/layout/sidebar.blade.php | <div class="sidebar" data-color="black" data-image="/img/full-screen-image-{{ $background }}.jpg">
<div class="logo">
<a href="{{ route('back.dashboard') }}" class="logo-text">
<img src="/img/logo-white.png" height="40"/>
</a>
</div>
<div class="logo logo-mini">
<a href=... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/users/edit.blade.php | resources/views/back/users/edit.blade.php | @extends('back.layout')
@section('title', trans('dictionary.users'))
@push('page-actions')
<a href="{{ route('back.users.index') }}" class="btn btn-default">@lang('dictionary.back')</a>
@endpush
@section('content')
<div class="row">
<div class="col-md-12">
<div class="card">
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/users/index.blade.php | resources/views/back/users/index.blade.php | @extends('back.layout')
@section('title', trans('dictionary.users'))
@push('page-actions')
<a href="{{ route('back.users.create') }}" class="btn btn-fill btn-primary">@lang('messages.add-new')</a>
@endpush
@section('content')
<div class="row">
<div class="col-md-12">
<div class="card">
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/users/create.blade.php | resources/views/back/users/create.blade.php | @extends('back.layout')
@section('title', trans('dictionary.users'))
@push('page-actions')
<a href="{{ route('back.users.index') }}" class="btn btn-default">@lang('dictionary.back')</a>
@endpush
@section('content')
<div class="row">
<div class="col-md-12">
<div class="card">
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/contacts/edit.blade.php | resources/views/back/contacts/edit.blade.php | @extends('back.layout')
@section('title', trans('dictionary.contacts'))
@push('page-actions')
<a href="{{ route('back.contacts.index') }}" class="btn btn-default">@lang('dictionary.back')</a>
@endpush
@section('content')
<div class="row">
<div class="col-md-12">
<div class="card">
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/contacts/index.blade.php | resources/views/back/contacts/index.blade.php | @extends('back.layout')
@section('title', trans('dictionary.contacts'))
@push('page-actions')
<a href="{{ route('back.contacts.create') }}" class="btn btn-fill btn-primary">@lang('messages.add-new')</a>
@endpush
@section('content')
<div class="row">
<div class="col-md-12">
<div class="car... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
rdehnhardt/skeleton | https://github.com/rdehnhardt/skeleton/blob/7b30a828b3ad52bfea1930345db1b1c91df120be/resources/views/back/contacts/create.blade.php | resources/views/back/contacts/create.blade.php | @extends('back.layout')
@section('title', trans('dictionary.contacts'))
@push('page-actions')
<a href="{{ route('back.contacts.index') }}" class="btn btn-default">@lang('dictionary.back')</a>
@endpush
@section('content')
<div class="row">
<div class="col-md-12">
<div class="card">
... | php | MIT | 7b30a828b3ad52bfea1930345db1b1c91df120be | 2026-01-05T03:36:52.480569Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Kernel.php | sources/app/src/Kernel.php | <?php
declare(strict_types=1);
namespace App;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\Config\Resource\FileResource;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Kernel as Bas... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Entity/User.php | sources/app/src/Entity/User.php | <?php
declare(strict_types=1);
namespace App\Entity;
use DateTime;
use Doctrine\ORM\Mapping as ORM;
use Exception;
use Ramsey\Uuid\Uuid;
use Ramsey\Uuid\UuidInterface;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity
* @ORM\Table(name... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Entity/Post.php | sources/app/src/Entity/Post.php | <?php
declare(strict_types=1);
namespace App\Entity;
use DateTime;
use Doctrine\ORM\Mapping as ORM;
use Exception;
use Ramsey\Uuid\Uuid;
use Ramsey\Uuid\UuidInterface;
/**
* @ORM\Entity
* @ORM\Table(name="posts")
* @ORM\HasLifecycleCallbacks
*/
class Post
{
/**
* @ORM\Id
* @ORM\Column(type="uuid",... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Controller/IndexController.php | sources/app/src/Controller/IndexController.php | <?php
declare(strict_types=1);
namespace App\Controller;
use App\Entity\User;
use Safe\Exceptions\JsonException;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Serializer\Encoder\Js... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Controller/PostController.php | sources/app/src/Controller/PostController.php | <?php
declare(strict_types=1);
namespace App\Controller;
use App\Entity\Post;
use Doctrine\ORM\EntityManagerInterface;
use FOS\RestBundle\Controller\Annotations as Rest;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Compo... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Controller/SecurityController.php | sources/app/src/Controller/SecurityController.php | <?php
declare(strict_types=1);
namespace App\Controller;
use App\Entity\User;
use RuntimeException;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use S... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Exception/HTTPExceptionListener.php | sources/app/src/Exception/HTTPExceptionListener.php | <?php
declare(strict_types=1);
namespace App\Exception;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpKernel\Event\ExceptionEvent;
use Symfony\Component\HttpKernel\Exception\HttpException;
use function strpos;
final class HTTPExceptionListener
{
public function onKernelException(E... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Migrations/Version20190618080327.php | sources/app/src/Migrations/Version20190618080327.php | <?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20190618080327 extends AbstractMigration
{
public function getDescription() : string
{... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Migrations/Version20190618154659.php | sources/app/src/Migrations/Version20190618154659.php | <?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20190618154659 extends AbstractMigration
{
public function getDescription() : string
{... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Migrations/Version20190618152017.php | sources/app/src/Migrations/Version20190618152017.php | <?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20190618152017 extends AbstractMigration
{
public function getDescription() : string
{... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/DataFixtures/AppFixtures.php | sources/app/src/DataFixtures/AppFixtures.php | <?php
declare(strict_types=1);
namespace App\DataFixtures;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Common\Persistence\ObjectManager;
final class AppFixtures extends Fixture
{
public function load(ObjectManager $manager): void
{
$manager->flush();
}
}
| php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/DataFixtures/UserFixtures.php | sources/app/src/DataFixtures/UserFixtures.php | <?php
declare(strict_types=1);
namespace App\DataFixtures;
use App\Entity\User;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Common\Persistence\ObjectManager;
final class UserFixtures extends Fixture
{
public const DEFAULT_USER_LOGIN = 'foo';
public const DEFAULT_USER_PASSWORD = 'bar';
pub... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/src/Security/HashPasswordListener.php | sources/app/src/Security/HashPasswordListener.php | <?php
declare(strict_types=1);
namespace App\Security;
use App\Entity\User;
use Doctrine\Common\EventSubscriber;
use Doctrine\ORM\Event\LifecycleEventArgs;
use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
use function get_class;
final class HashPasswordListener implements EventSubscriber
{
... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/tests/bootstrap.php | sources/app/tests/bootstrap.php | <?php
declare(strict_types=1);
use Symfony\Component\Process\Exception\ProcessFailedException;
use Symfony\Component\Process\Process;
require dirname(__DIR__) . '/vendor/autoload.php';
$_SERVER += $_ENV;
$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null ?: 'dev';
$_SERVER['APP... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/tests/Controller/PostControllerTest.php | sources/app/tests/Controller/PostControllerTest.php | <?php
declare(strict_types=1);
namespace App\Tests\Controller;
use App\DataFixtures\UserFixtures;
use Safe\Exceptions\JsonException;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use function count;
final class PostControllerTest extends AbstractControllerWebTestCase
{... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/tests/Controller/AbstractControllerWebTestCase.php | sources/app/tests/Controller/AbstractControllerWebTestCase.php | <?php
declare(strict_types=1);
namespace App\Tests\Controller;
use App\DataFixtures\UserFixtures;
use Safe\Exceptions\JsonException;
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundatio... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/public/index.php | sources/app/public/index.php | <?php
use App\Kernel;
use Symfony\Component\Debug\Debug;
use Symfony\Component\HttpFoundation\Request;
require dirname(__DIR__).'/config/bootstrap.php';
if ($_SERVER['APP_DEBUG']) {
umask(0000);
Debug::enable();
}
if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) {
... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/config/bundles.php | sources/app/config/bundles.php | <?php
return [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle::class => ['all' => true],
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
Doctrine\Bundle\DoctrineBundle\DoctrineBun... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
thecodingmachine/symfony-vuejs | https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/config/bootstrap.php | sources/app/config/bootstrap.php | <?php
#use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__).'/vendor/autoload.php';
// Load cached env vars if the .env.local.php file exists
// Run "composer dump-env prod" to create it (requires symfony/flex >=1.2)
/*if (is_array($env = @include dirname(__DIR__).'/.env.local.php')) {
foreach ($env as ... | php | MIT | 61f2e9f2cddab229c1e6994e2e8a8e01631ba33f | 2026-01-05T03:37:12.723547Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step6/footer.php | Step6/footer.php | </div><!-- #container -->
</body>
</html> | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step6/charge.php | Step6/charge.php | <?php
require_once('./header.php');
require_once('./db.php');
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$error = false;
try {
if (isset($_POST['customer_id'])) {
$charge = \Stripe\Charge::create(array(
'customer' => $_POST['customer_id'],
'amount' => 53500,
'currency' ... | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step6/config.php | Step6/config.php | <?php
require_once('public/vendor/autoload.php');
$stripe = array(
'secret_key' => '<YOUR SECRET STRIPE API KEY>',
'publishable_key' => '<YOUR PUBLISHABLE STRIPE API KEY>'
);
\Stripe\Stripe::setApiKey($stripe['secret_key']); | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step6/login.php | Step6/login.php | <?php
require_once('./header.php');
require_once('./db.php');
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
if (isset($_POST['email']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
$existing_customer = get_customer($_POST['email']);
if ($existing_customer && crypt($_POST['password'], $existing_cu... | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step6/index.php | Step6/index.php | <?php
require_once('./header.php');
require_once('./payment_form.php');
require_once('./footer.php');
| php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step6/header.php | Step6/header.php | <?php require_once('../config.php'); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Wilde Things</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="container">
<h2>Wilde Things</h2> | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step6/payment_form.php | Step6/payment_form.php | <h3>Sign up and buy a quote now! Only $535.00!</h3>
<form action="charge.php" method="POST">
<input type="hidden" name="single_purchase" value="single_purchase" />
<input type="password" name="password" placeholder="Password" />
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="... | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step6/hook.php | Step6/hook.php | <?php
require_once('../config.php');
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$postdata = @file_get_contents("php://input");
$event = json_decode($postdata);
if ($event->type == 'invoice.payment_succeeded') {
$customer_id = $event->data->object->customer;
$customer = \Stripe\Customer::retrieve($customer_id)... | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step6/login_form.php | Step6/login_form.php | <form action="login.php" method="post">
<h3>Log in to make a purchase with the card you have on file!</h3>
<input type="text" name="email" placeholder="E-mail address" />
<input type="password" name="password" placeholder="Password" />
<input type="submit" name="login" value="Login" />
</form> | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step6/db.php | Step6/db.php | <?php
// We are using a file instead of a DB for convenience.
// In a real application, we'd be using a database and not delimiting our entries with strings like this
// (which is pretty fragile -- for example, e-mails can actually contain semicolons and commas inside quotation marks, which would break our little schem... | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step7/footer.php | Step7/footer.php | </div><!-- #container -->
</body>
</html> | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step7/charge.php | Step7/charge.php | <?php
require_once('./header.php');
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$error = false;
try {
if (!isset($_POST['stripeToken'])) throw new Exception("The Stripe Token was not generated correctly");
$charge = \Stripe\Charge::create(array(
'source' => $_POST['stripeToken'],
'amount... | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step7/config.php | Step7/config.php | <?php
require_once('public/vendor/autoload.php');
$stripe = array(
'secret_key' => '<YOUR SECRET STRIPE API KEY>',
'publishable_key' => '<YOUR PUBLISHABLE STRIPE API KEY>'
);
\Stripe\Stripe::setApiKey($stripe['secret_key']); | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step7/index.php | Step7/index.php | <?php
require_once('./header.php');
require_once('./payment_form.php');
require_once('./footer.php');
| php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step7/header.php | Step7/header.php | <?php require_once('../config.php'); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- CSS for styles -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="https://js.stripe.com/v2/"></script>
<!-- jQuery is used only f... | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step7/payment_form.php | Step7/payment_form.php | <h3>Purchase a quote by Oscar Wilde today! Only $535! Limited supply and going fast, buy now!</h3>
<!-- to display errors returned by createToken -->
<span class="payment-errors"></span>
<form id="payment-form" action="charge.php" method="post">
<div class="form-row">
<label>Card Number<... | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step4/footer.php | Step4/footer.php | </div><!-- #container -->
</body>
</html> | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step4/charge.php | Step4/charge.php | <?php
require_once('./header.php');
require_once('./db.php');
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$error = false;
try {
if (isset($_POST['customer_id'])) {
$charge = \Stripe\Charge::create(array(
'customer' => $_POST['customer_id'],
'amount' => 53500,
'currency' ... | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step4/config.php | Step4/config.php | <?php
require_once('public/vendor/autoload.php');
$stripe = array(
'secret_key' => '<YOUR SECRET STRIPE API KEY>',
'publishable_key' => '<YOUR PUBLISHABLE STRIPE API KEY>'
);
\Stripe\Stripe::setApiKey($stripe['secret_key']); | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step4/login.php | Step4/login.php | <?php
require_once('./header.php');
require_once('./db.php');
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
if (isset($_POST['email']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
$existing_customer = get_customer($_POST['email']);
if ($existing_customer && crypt($_POST['password'], $existing_cu... | php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
stripe-archive/wilde-things | https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step4/index.php | Step4/index.php | <?php
require_once('./header.php');
require_once('./payment_form.php');
require_once('./footer.php');
| php | MIT | 652b080faa4fe4ad6b613844d0ada5c7256504c1 | 2026-01-05T03:37:24.540104Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.