├── src
├── Presets
│ ├── bootstrap-stubs
│ │ ├── app.scss
│ │ ├── _variables.scss
│ │ └── bootstrap.js
│ ├── react-stubs
│ │ ├── app.js
│ │ ├── webpack.mix.js
│ │ └── Example.js
│ ├── vue-stubs
│ │ ├── webpack.mix.js
│ │ ├── ExampleComponent.vue
│ │ └── app.js
│ ├── Bootstrap.php
│ ├── Preset.php
│ ├── React.php
│ └── Vue.php
├── Auth
│ ├── RedirectsUsers.php
│ ├── stubs
│ │ ├── controllers
│ │ │ └── HomeController.stub
│ │ └── routes.stub
│ ├── bootstrap-stubs
│ │ ├── home.stub
│ │ ├── auth
│ │ │ ├── verify.stub
│ │ │ ├── passwords
│ │ │ │ ├── email.stub
│ │ │ │ ├── confirm.stub
│ │ │ │ └── reset.stub
│ │ │ ├── login.stub
│ │ │ └── register.stub
│ │ └── layouts
│ │ │ └── app.stub
│ ├── RegistersUsers.php
│ ├── ConfirmsPasswords.php
│ ├── VerifiesEmails.php
│ ├── SendsPasswordResetEmails.php
│ ├── ThrottlesLogins.php
│ ├── ResetsPasswords.php
│ └── AuthenticatesUsers.php
├── UiServiceProvider.php
├── ControllersCommand.php
├── UiCommand.php
├── AuthRouteMethods.php
└── AuthCommand.php
├── .php_cs
├── stubs
├── Auth
│ ├── ForgotPasswordController.stub
│ ├── ResetPasswordController.stub
│ ├── LoginController.stub
│ ├── ConfirmPasswordController.stub
│ ├── VerificationController.stub
│ └── RegisterController.stub
└── migrations
│ └── 2014_10_12_100000_create_password_resets_table.php
├── LICENSE.md
├── composer.json
├── CHANGELOG.md
└── README.md
/src/Presets/bootstrap-stubs/app.scss:
--------------------------------------------------------------------------------
1 | // Fonts
2 | @import url('https://fonts.googleapis.com/css?family=Nunito');
3 |
4 | // Variables
5 | @import 'variables';
6 |
7 | // Bootstrap
8 | @import '~bootstrap/scss/bootstrap';
9 |
--------------------------------------------------------------------------------
/src/Presets/bootstrap-stubs/_variables.scss:
--------------------------------------------------------------------------------
1 | // Body
2 | $body-bg: #f8fafc;
3 |
4 | // Typography
5 | $font-family-sans-serif: 'Nunito', sans-serif;
6 | $font-size-base: 0.9rem;
7 | $line-height-base: 1.6;
8 |
9 | // Colors
10 | $blue: #3490dc;
11 | $indigo: #6574cd;
12 | $purple: #9561e2;
13 | $pink: #f66d9b;
14 | $red: #e3342f;
15 | $orange: #f6993f;
16 | $yellow: #ffed4a;
17 | $green: #38c172;
18 | $teal: #4dc0b5;
19 | $cyan: #6cb2eb;
20 |
--------------------------------------------------------------------------------
/src/Auth/RedirectsUsers.php:
--------------------------------------------------------------------------------
1 | redirectTo();
16 | }
17 |
18 | return property_exists($this, 'redirectTo') ? $this->redirectTo : '/home';
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/.php_cs:
--------------------------------------------------------------------------------
1 | notPath('vendor')
5 | ->in(__DIR__)
6 | ->name('*.php')
7 | ->notName('*.stub')
8 | ->ignoreDotFiles(true)
9 | ->ignoreVCS(true);
10 |
11 | return PhpCsFixer\Config::create()
12 | ->setRules([
13 | '@PSR2' => true,
14 | 'array_syntax' => ['syntax' => 'short'],
15 | 'ordered_imports' => ['sortAlgorithm' => 'alpha'],
16 | 'no_unused_imports' => true,
17 | 'psr4' => true,
18 | ])
19 | ->setFinder($finder);
20 |
--------------------------------------------------------------------------------
/src/Presets/react-stubs/app.js:
--------------------------------------------------------------------------------
1 | /**
2 | * First we will load all of this project's JavaScript dependencies which
3 | * includes React and other helpers. It's a great starting point while
4 | * building robust, powerful web applications using React + Laravel.
5 | */
6 |
7 | require('./bootstrap');
8 |
9 | /**
10 | * Next, we will create a fresh React component instance and attach it to
11 | * the page. Then, you may begin adding components to this application
12 | * or customize the JavaScript scaffolding to fit your unique needs.
13 | */
14 |
15 | require('./components/Example');
16 |
--------------------------------------------------------------------------------
/src/Presets/vue-stubs/webpack.mix.js:
--------------------------------------------------------------------------------
1 | const mix = require('laravel-mix');
2 |
3 | /*
4 | |--------------------------------------------------------------------------
5 | | Mix Asset Management
6 | |--------------------------------------------------------------------------
7 | |
8 | | Mix provides a clean, fluent API for defining some Webpack build steps
9 | | for your Laravel application. By default, we are compiling the Sass
10 | | file for the application as well as bundling up all the JS files.
11 | |
12 | */
13 |
14 | mix.js('resources/js/app.js', 'public/js')
15 | .sass('resources/sass/app.scss', 'public/css');
16 |
--------------------------------------------------------------------------------
/src/Presets/react-stubs/webpack.mix.js:
--------------------------------------------------------------------------------
1 | const mix = require('laravel-mix');
2 |
3 | /*
4 | |--------------------------------------------------------------------------
5 | | Mix Asset Management
6 | |--------------------------------------------------------------------------
7 | |
8 | | Mix provides a clean, fluent API for defining some Webpack build steps
9 | | for your Laravel application. By default, we are compiling the Sass
10 | | file for the application as well as bundling up all the JS files.
11 | |
12 | */
13 |
14 | mix.react('resources/js/app.js', 'public/js')
15 | .sass('resources/sass/app.scss', 'public/css');
16 |
--------------------------------------------------------------------------------
/src/Presets/vue-stubs/ExampleComponent.vue:
--------------------------------------------------------------------------------
1 |
2 |