create-v-kit-spa 0.10.1 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/README.md +21 -9
  2. package/dist/messages.d.ts.map +1 -1
  3. package/dist/messages.js +3 -1
  4. package/dist/prompts.d.ts.map +1 -1
  5. package/dist/prompts.js +8 -4
  6. package/lib/159/.editorconfig +18 -0
  7. package/lib/159/.env.example +52 -0
  8. package/lib/159/.gitattributes +10 -0
  9. package/lib/159/.styleci.yml +14 -0
  10. package/lib/159/README.md +190 -0
  11. package/lib/159/RG-README.md +175 -0
  12. package/lib/159/app/Console/Kernel.php +32 -0
  13. package/lib/159/app/Exceptions/Handler.php +41 -0
  14. package/lib/159/app/Http/Controllers/Controller.php +13 -0
  15. package/lib/159/app/Http/Controllers/MainController.php +12 -0
  16. package/lib/159/app/Http/Kernel.php +67 -0
  17. package/lib/159/app/Http/Middleware/Authenticate.php +21 -0
  18. package/lib/159/app/Http/Middleware/EncryptCookies.php +17 -0
  19. package/lib/159/app/Http/Middleware/PreventRequestsDuringMaintenance.php +17 -0
  20. package/lib/159/app/Http/Middleware/RedirectIfAuthenticated.php +32 -0
  21. package/lib/159/app/Http/Middleware/TrimStrings.php +19 -0
  22. package/lib/159/app/Http/Middleware/TrustHosts.php +20 -0
  23. package/lib/159/app/Http/Middleware/TrustProxies.php +28 -0
  24. package/lib/159/app/Http/Middleware/VerifyCsrfToken.php +17 -0
  25. package/lib/159/app/Models/User.php +44 -0
  26. package/lib/159/app/Providers/AppServiceProvider.php +28 -0
  27. package/lib/159/app/Providers/AuthServiceProvider.php +30 -0
  28. package/lib/159/app/Providers/BroadcastServiceProvider.php +21 -0
  29. package/lib/159/app/Providers/EventServiceProvider.php +32 -0
  30. package/lib/159/app/Providers/RouteServiceProvider.php +63 -0
  31. package/lib/159/artisan +53 -0
  32. package/lib/159/bootstrap/app.php +55 -0
  33. package/lib/159/bootstrap/cache/.gitignore +2 -0
  34. package/lib/159/composer.json +62 -0
  35. package/lib/159/config/app.php +235 -0
  36. package/lib/159/config/auth.php +111 -0
  37. package/lib/159/config/broadcasting.php +64 -0
  38. package/lib/159/config/cache.php +110 -0
  39. package/lib/159/config/cors.php +34 -0
  40. package/lib/159/config/database.php +147 -0
  41. package/lib/159/config/filesystems.php +73 -0
  42. package/lib/159/config/hashing.php +52 -0
  43. package/lib/159/config/logging.php +118 -0
  44. package/lib/159/config/mail.php +118 -0
  45. package/lib/159/config/queue.php +93 -0
  46. package/lib/159/config/sanctum.php +65 -0
  47. package/lib/159/config/services.php +33 -0
  48. package/lib/159/config/session.php +201 -0
  49. package/lib/159/config/view.php +36 -0
  50. package/lib/159/database/factories/UserFactory.php +39 -0
  51. package/lib/159/database/migrations/2014_10_12_000000_create_users_table.php +36 -0
  52. package/lib/159/database/migrations/2014_10_12_100000_create_password_resets_table.php +32 -0
  53. package/lib/159/database/migrations/2019_08_19_000000_create_failed_jobs_table.php +36 -0
  54. package/lib/159/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php +36 -0
  55. package/lib/159/database/seeders/DatabaseSeeder.php +18 -0
  56. package/lib/159/package.json +28 -0
  57. package/lib/159/phpunit.xml +31 -0
  58. package/lib/159/public/.htaccess +21 -0
  59. package/lib/159/public/css/app.css +1 -0
  60. package/lib/159/public/fonts/vendor/@mdi/materialdesignicons-webfont.eot +0 -0
  61. package/lib/159/public/fonts/vendor/@mdi/materialdesignicons-webfont.ttf +0 -0
  62. package/lib/159/public/fonts/vendor/@mdi/materialdesignicons-webfont.woff +0 -0
  63. package/lib/159/public/fonts/vendor/@mdi/materialdesignicons-webfont.woff2 +0 -0
  64. package/lib/159/public/index.php +55 -0
  65. package/lib/159/public/js/app.js +81066 -0
  66. package/lib/159/public/js/resources_js_components_pages_About_vue.js +62 -0
  67. package/lib/159/public/js/resources_js_components_pages_Error_vue.js +62 -0
  68. package/lib/159/public/js/resources_js_components_pages_Home_vue.js +143 -0
  69. package/lib/159/public/mix-manifest.json +4 -0
  70. package/lib/159/public/robots.txt +2 -0
  71. package/lib/159/resources/css/app.css +0 -0
  72. package/lib/159/resources/js/app.js +37 -0
  73. package/lib/159/resources/js/bootstrap.js +28 -0
  74. package/lib/159/resources/js/components/pages/About.vue +5 -0
  75. package/lib/159/resources/js/components/pages/Error.vue +5 -0
  76. package/lib/159/resources/js/components/pages/Home.vue +21 -0
  77. package/lib/159/resources/js/components/templates/App.vue +86 -0
  78. package/lib/159/resources/js/mainStore.js +20 -0
  79. package/lib/159/resources/js/router.js +41 -0
  80. package/lib/159/resources/lang/en/auth.php +20 -0
  81. package/lib/159/resources/lang/en/pagination.php +19 -0
  82. package/lib/159/resources/lang/en/passwords.php +22 -0
  83. package/lib/159/resources/lang/en/validation.php +163 -0
  84. package/lib/159/resources/views/layouts/app.blade.php +14 -0
  85. package/lib/159/resources/views/welcome.blade.php +132 -0
  86. package/lib/159/routes/api.php +19 -0
  87. package/lib/159/routes/channels.php +18 -0
  88. package/lib/159/routes/console.php +19 -0
  89. package/lib/159/routes/web.php +20 -0
  90. package/lib/159/server.php +21 -0
  91. package/lib/159/storage/app/.gitignore +3 -0
  92. package/lib/159/storage/app/public/.gitignore +2 -0
  93. package/lib/159/storage/framework/cache/.gitignore +3 -0
  94. package/lib/159/storage/framework/cache/data/.gitignore +2 -0
  95. package/lib/159/storage/framework/sessions/.gitignore +2 -0
  96. package/lib/159/storage/framework/testing/.gitignore +2 -0
  97. package/lib/159/storage/framework/views/.gitignore +2 -0
  98. package/lib/159/storage/logs/.gitignore +2 -0
  99. package/lib/159/tests/CreatesApplication.php +22 -0
  100. package/lib/159/tests/Feature/ExampleTest.php +21 -0
  101. package/lib/159/tests/TestCase.php +10 -0
  102. package/lib/159/tests/Unit/ExampleTest.php +18 -0
  103. package/lib/159/webpack.mix.js +18 -0
  104. package/package.json +1 -1
  105. /package/lib/159/{Still Under Development Thank you.txt → public/favicon.ico} +0 -0
@@ -0,0 +1,147 @@
1
+ <?php
2
+
3
+ use Illuminate\Support\Str;
4
+
5
+ return [
6
+
7
+ /*
8
+ |--------------------------------------------------------------------------
9
+ | Default Database Connection Name
10
+ |--------------------------------------------------------------------------
11
+ |
12
+ | Here you may specify which of the database connections below you wish
13
+ | to use as your default connection for all database work. Of course
14
+ | you may use many connections at once using the Database library.
15
+ |
16
+ */
17
+
18
+ 'default' => env('DB_CONNECTION', 'mysql'),
19
+
20
+ /*
21
+ |--------------------------------------------------------------------------
22
+ | Database Connections
23
+ |--------------------------------------------------------------------------
24
+ |
25
+ | Here are each of the database connections setup for your application.
26
+ | Of course, examples of configuring each database platform that is
27
+ | supported by Laravel is shown below to make development simple.
28
+ |
29
+ |
30
+ | All database work in Laravel is done through the PHP PDO facilities
31
+ | so make sure you have the driver for your particular database of
32
+ | choice installed on your machine before you begin development.
33
+ |
34
+ */
35
+
36
+ 'connections' => [
37
+
38
+ 'sqlite' => [
39
+ 'driver' => 'sqlite',
40
+ 'url' => env('DATABASE_URL'),
41
+ 'database' => env('DB_DATABASE', database_path('database.sqlite')),
42
+ 'prefix' => '',
43
+ 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
44
+ ],
45
+
46
+ 'mysql' => [
47
+ 'driver' => 'mysql',
48
+ 'url' => env('DATABASE_URL'),
49
+ 'host' => env('DB_HOST', '127.0.0.1'),
50
+ 'port' => env('DB_PORT', '3306'),
51
+ 'database' => env('DB_DATABASE', 'forge'),
52
+ 'username' => env('DB_USERNAME', 'forge'),
53
+ 'password' => env('DB_PASSWORD', ''),
54
+ 'unix_socket' => env('DB_SOCKET', ''),
55
+ 'charset' => 'utf8mb4',
56
+ 'collation' => 'utf8mb4_unicode_ci',
57
+ 'prefix' => '',
58
+ 'prefix_indexes' => true,
59
+ 'strict' => true,
60
+ 'engine' => null,
61
+ 'options' => extension_loaded('pdo_mysql') ? array_filter([
62
+ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
63
+ ]) : [],
64
+ ],
65
+
66
+ 'pgsql' => [
67
+ 'driver' => 'pgsql',
68
+ 'url' => env('DATABASE_URL'),
69
+ 'host' => env('DB_HOST', '127.0.0.1'),
70
+ 'port' => env('DB_PORT', '5432'),
71
+ 'database' => env('DB_DATABASE', 'forge'),
72
+ 'username' => env('DB_USERNAME', 'forge'),
73
+ 'password' => env('DB_PASSWORD', ''),
74
+ 'charset' => 'utf8',
75
+ 'prefix' => '',
76
+ 'prefix_indexes' => true,
77
+ 'schema' => 'public',
78
+ 'sslmode' => 'prefer',
79
+ ],
80
+
81
+ 'sqlsrv' => [
82
+ 'driver' => 'sqlsrv',
83
+ 'url' => env('DATABASE_URL'),
84
+ 'host' => env('DB_HOST', 'localhost'),
85
+ 'port' => env('DB_PORT', '1433'),
86
+ 'database' => env('DB_DATABASE', 'forge'),
87
+ 'username' => env('DB_USERNAME', 'forge'),
88
+ 'password' => env('DB_PASSWORD', ''),
89
+ 'charset' => 'utf8',
90
+ 'prefix' => '',
91
+ 'prefix_indexes' => true,
92
+ ],
93
+
94
+ ],
95
+
96
+ /*
97
+ |--------------------------------------------------------------------------
98
+ | Migration Repository Table
99
+ |--------------------------------------------------------------------------
100
+ |
101
+ | This table keeps track of all the migrations that have already run for
102
+ | your application. Using this information, we can determine which of
103
+ | the migrations on disk haven't actually been run in the database.
104
+ |
105
+ */
106
+
107
+ 'migrations' => 'migrations',
108
+
109
+ /*
110
+ |--------------------------------------------------------------------------
111
+ | Redis Databases
112
+ |--------------------------------------------------------------------------
113
+ |
114
+ | Redis is an open source, fast, and advanced key-value store that also
115
+ | provides a richer body of commands than a typical key-value system
116
+ | such as APC or Memcached. Laravel makes it easy to dig right in.
117
+ |
118
+ */
119
+
120
+ 'redis' => [
121
+
122
+ 'client' => env('REDIS_CLIENT', 'phpredis'),
123
+
124
+ 'options' => [
125
+ 'cluster' => env('REDIS_CLUSTER', 'redis'),
126
+ 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
127
+ ],
128
+
129
+ 'default' => [
130
+ 'url' => env('REDIS_URL'),
131
+ 'host' => env('REDIS_HOST', '127.0.0.1'),
132
+ 'password' => env('REDIS_PASSWORD', null),
133
+ 'port' => env('REDIS_PORT', '6379'),
134
+ 'database' => env('REDIS_DB', '0'),
135
+ ],
136
+
137
+ 'cache' => [
138
+ 'url' => env('REDIS_URL'),
139
+ 'host' => env('REDIS_HOST', '127.0.0.1'),
140
+ 'password' => env('REDIS_PASSWORD', null),
141
+ 'port' => env('REDIS_PORT', '6379'),
142
+ 'database' => env('REDIS_CACHE_DB', '1'),
143
+ ],
144
+
145
+ ],
146
+
147
+ ];
@@ -0,0 +1,73 @@
1
+ <?php
2
+
3
+ return [
4
+
5
+ /*
6
+ |--------------------------------------------------------------------------
7
+ | Default Filesystem Disk
8
+ |--------------------------------------------------------------------------
9
+ |
10
+ | Here you may specify the default filesystem disk that should be used
11
+ | by the framework. The "local" disk, as well as a variety of cloud
12
+ | based disks are available to your application. Just store away!
13
+ |
14
+ */
15
+
16
+ 'default' => env('FILESYSTEM_DRIVER', 'local'),
17
+
18
+ /*
19
+ |--------------------------------------------------------------------------
20
+ | Filesystem Disks
21
+ |--------------------------------------------------------------------------
22
+ |
23
+ | Here you may configure as many filesystem "disks" as you wish, and you
24
+ | may even configure multiple disks of the same driver. Defaults have
25
+ | been setup for each driver as an example of the required options.
26
+ |
27
+ | Supported Drivers: "local", "ftp", "sftp", "s3"
28
+ |
29
+ */
30
+
31
+ 'disks' => [
32
+
33
+ 'local' => [
34
+ 'driver' => 'local',
35
+ 'root' => storage_path('app'),
36
+ ],
37
+
38
+ 'public' => [
39
+ 'driver' => 'local',
40
+ 'root' => storage_path('app/public'),
41
+ 'url' => env('APP_URL').'/storage',
42
+ 'visibility' => 'public',
43
+ ],
44
+
45
+ 's3' => [
46
+ 'driver' => 's3',
47
+ 'key' => env('AWS_ACCESS_KEY_ID'),
48
+ 'secret' => env('AWS_SECRET_ACCESS_KEY'),
49
+ 'region' => env('AWS_DEFAULT_REGION'),
50
+ 'bucket' => env('AWS_BUCKET'),
51
+ 'url' => env('AWS_URL'),
52
+ 'endpoint' => env('AWS_ENDPOINT'),
53
+ 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
54
+ ],
55
+
56
+ ],
57
+
58
+ /*
59
+ |--------------------------------------------------------------------------
60
+ | Symbolic Links
61
+ |--------------------------------------------------------------------------
62
+ |
63
+ | Here you may configure the symbolic links that will be created when the
64
+ | `storage:link` Artisan command is executed. The array keys should be
65
+ | the locations of the links and the values should be their targets.
66
+ |
67
+ */
68
+
69
+ 'links' => [
70
+ public_path('storage') => storage_path('app/public'),
71
+ ],
72
+
73
+ ];
@@ -0,0 +1,52 @@
1
+ <?php
2
+
3
+ return [
4
+
5
+ /*
6
+ |--------------------------------------------------------------------------
7
+ | Default Hash Driver
8
+ |--------------------------------------------------------------------------
9
+ |
10
+ | This option controls the default hash driver that will be used to hash
11
+ | passwords for your application. By default, the bcrypt algorithm is
12
+ | used; however, you remain free to modify this option if you wish.
13
+ |
14
+ | Supported: "bcrypt", "argon", "argon2id"
15
+ |
16
+ */
17
+
18
+ 'driver' => 'bcrypt',
19
+
20
+ /*
21
+ |--------------------------------------------------------------------------
22
+ | Bcrypt Options
23
+ |--------------------------------------------------------------------------
24
+ |
25
+ | Here you may specify the configuration options that should be used when
26
+ | passwords are hashed using the Bcrypt algorithm. This will allow you
27
+ | to control the amount of time it takes to hash the given password.
28
+ |
29
+ */
30
+
31
+ 'bcrypt' => [
32
+ 'rounds' => env('BCRYPT_ROUNDS', 10),
33
+ ],
34
+
35
+ /*
36
+ |--------------------------------------------------------------------------
37
+ | Argon Options
38
+ |--------------------------------------------------------------------------
39
+ |
40
+ | Here you may specify the configuration options that should be used when
41
+ | passwords are hashed using the Argon algorithm. These will allow you
42
+ | to control the amount of time it takes to hash the given password.
43
+ |
44
+ */
45
+
46
+ 'argon' => [
47
+ 'memory' => 65536,
48
+ 'threads' => 1,
49
+ 'time' => 4,
50
+ ],
51
+
52
+ ];
@@ -0,0 +1,118 @@
1
+ <?php
2
+
3
+ use Monolog\Handler\NullHandler;
4
+ use Monolog\Handler\StreamHandler;
5
+ use Monolog\Handler\SyslogUdpHandler;
6
+
7
+ return [
8
+
9
+ /*
10
+ |--------------------------------------------------------------------------
11
+ | Default Log Channel
12
+ |--------------------------------------------------------------------------
13
+ |
14
+ | This option defines the default log channel that gets used when writing
15
+ | messages to the logs. The name specified in this option should match
16
+ | one of the channels defined in the "channels" configuration array.
17
+ |
18
+ */
19
+
20
+ 'default' => env('LOG_CHANNEL', 'stack'),
21
+
22
+ /*
23
+ |--------------------------------------------------------------------------
24
+ | Deprecations Log Channel
25
+ |--------------------------------------------------------------------------
26
+ |
27
+ | This option controls the log channel that should be used to log warnings
28
+ | regarding deprecated PHP and library features. This allows you to get
29
+ | your application ready for upcoming major versions of dependencies.
30
+ |
31
+ */
32
+
33
+ 'deprecations' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
34
+
35
+ /*
36
+ |--------------------------------------------------------------------------
37
+ | Log Channels
38
+ |--------------------------------------------------------------------------
39
+ |
40
+ | Here you may configure the log channels for your application. Out of
41
+ | the box, Laravel uses the Monolog PHP logging library. This gives
42
+ | you a variety of powerful log handlers / formatters to utilize.
43
+ |
44
+ | Available Drivers: "single", "daily", "slack", "syslog",
45
+ | "errorlog", "monolog",
46
+ | "custom", "stack"
47
+ |
48
+ */
49
+
50
+ 'channels' => [
51
+ 'stack' => [
52
+ 'driver' => 'stack',
53
+ 'channels' => ['single'],
54
+ 'ignore_exceptions' => false,
55
+ ],
56
+
57
+ 'single' => [
58
+ 'driver' => 'single',
59
+ 'path' => storage_path('logs/laravel.log'),
60
+ 'level' => env('LOG_LEVEL', 'debug'),
61
+ ],
62
+
63
+ 'daily' => [
64
+ 'driver' => 'daily',
65
+ 'path' => storage_path('logs/laravel.log'),
66
+ 'level' => env('LOG_LEVEL', 'debug'),
67
+ 'days' => 14,
68
+ ],
69
+
70
+ 'slack' => [
71
+ 'driver' => 'slack',
72
+ 'url' => env('LOG_SLACK_WEBHOOK_URL'),
73
+ 'username' => 'Laravel Log',
74
+ 'emoji' => ':boom:',
75
+ 'level' => env('LOG_LEVEL', 'critical'),
76
+ ],
77
+
78
+ 'papertrail' => [
79
+ 'driver' => 'monolog',
80
+ 'level' => env('LOG_LEVEL', 'debug'),
81
+ 'handler' => SyslogUdpHandler::class,
82
+ 'handler_with' => [
83
+ 'host' => env('PAPERTRAIL_URL'),
84
+ 'port' => env('PAPERTRAIL_PORT'),
85
+ ],
86
+ ],
87
+
88
+ 'stderr' => [
89
+ 'driver' => 'monolog',
90
+ 'level' => env('LOG_LEVEL', 'debug'),
91
+ 'handler' => StreamHandler::class,
92
+ 'formatter' => env('LOG_STDERR_FORMATTER'),
93
+ 'with' => [
94
+ 'stream' => 'php://stderr',
95
+ ],
96
+ ],
97
+
98
+ 'syslog' => [
99
+ 'driver' => 'syslog',
100
+ 'level' => env('LOG_LEVEL', 'debug'),
101
+ ],
102
+
103
+ 'errorlog' => [
104
+ 'driver' => 'errorlog',
105
+ 'level' => env('LOG_LEVEL', 'debug'),
106
+ ],
107
+
108
+ 'null' => [
109
+ 'driver' => 'monolog',
110
+ 'handler' => NullHandler::class,
111
+ ],
112
+
113
+ 'emergency' => [
114
+ 'path' => storage_path('logs/laravel.log'),
115
+ ],
116
+ ],
117
+
118
+ ];
@@ -0,0 +1,118 @@
1
+ <?php
2
+
3
+ return [
4
+
5
+ /*
6
+ |--------------------------------------------------------------------------
7
+ | Default Mailer
8
+ |--------------------------------------------------------------------------
9
+ |
10
+ | This option controls the default mailer that is used to send any email
11
+ | messages sent by your application. Alternative mailers may be setup
12
+ | and used as needed; however, this mailer will be used by default.
13
+ |
14
+ */
15
+
16
+ 'default' => env('MAIL_MAILER', 'smtp'),
17
+
18
+ /*
19
+ |--------------------------------------------------------------------------
20
+ | Mailer Configurations
21
+ |--------------------------------------------------------------------------
22
+ |
23
+ | Here you may configure all of the mailers used by your application plus
24
+ | their respective settings. Several examples have been configured for
25
+ | you and you are free to add your own as your application requires.
26
+ |
27
+ | Laravel supports a variety of mail "transport" drivers to be used while
28
+ | sending an e-mail. You will specify which one you are using for your
29
+ | mailers below. You are free to add additional mailers as required.
30
+ |
31
+ | Supported: "smtp", "sendmail", "mailgun", "ses",
32
+ | "postmark", "log", "array", "failover"
33
+ |
34
+ */
35
+
36
+ 'mailers' => [
37
+ 'smtp' => [
38
+ 'transport' => 'smtp',
39
+ 'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
40
+ 'port' => env('MAIL_PORT', 587),
41
+ 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
42
+ 'username' => env('MAIL_USERNAME'),
43
+ 'password' => env('MAIL_PASSWORD'),
44
+ 'timeout' => null,
45
+ 'auth_mode' => null,
46
+ ],
47
+
48
+ 'ses' => [
49
+ 'transport' => 'ses',
50
+ ],
51
+
52
+ 'mailgun' => [
53
+ 'transport' => 'mailgun',
54
+ ],
55
+
56
+ 'postmark' => [
57
+ 'transport' => 'postmark',
58
+ ],
59
+
60
+ 'sendmail' => [
61
+ 'transport' => 'sendmail',
62
+ 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -t -i'),
63
+ ],
64
+
65
+ 'log' => [
66
+ 'transport' => 'log',
67
+ 'channel' => env('MAIL_LOG_CHANNEL'),
68
+ ],
69
+
70
+ 'array' => [
71
+ 'transport' => 'array',
72
+ ],
73
+
74
+ 'failover' => [
75
+ 'transport' => 'failover',
76
+ 'mailers' => [
77
+ 'smtp',
78
+ 'log',
79
+ ],
80
+ ],
81
+ ],
82
+
83
+ /*
84
+ |--------------------------------------------------------------------------
85
+ | Global "From" Address
86
+ |--------------------------------------------------------------------------
87
+ |
88
+ | You may wish for all e-mails sent by your application to be sent from
89
+ | the same address. Here, you may specify a name and address that is
90
+ | used globally for all e-mails that are sent by your application.
91
+ |
92
+ */
93
+
94
+ 'from' => [
95
+ 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
96
+ 'name' => env('MAIL_FROM_NAME', 'Example'),
97
+ ],
98
+
99
+ /*
100
+ |--------------------------------------------------------------------------
101
+ | Markdown Mail Settings
102
+ |--------------------------------------------------------------------------
103
+ |
104
+ | If you are using Markdown based email rendering, you may configure your
105
+ | theme and component paths here, allowing you to customize the design
106
+ | of the emails. Or, you may simply stick with the Laravel defaults!
107
+ |
108
+ */
109
+
110
+ 'markdown' => [
111
+ 'theme' => 'default',
112
+
113
+ 'paths' => [
114
+ resource_path('views/vendor/mail'),
115
+ ],
116
+ ],
117
+
118
+ ];
@@ -0,0 +1,93 @@
1
+ <?php
2
+
3
+ return [
4
+
5
+ /*
6
+ |--------------------------------------------------------------------------
7
+ | Default Queue Connection Name
8
+ |--------------------------------------------------------------------------
9
+ |
10
+ | Laravel's queue API supports an assortment of back-ends via a single
11
+ | API, giving you convenient access to each back-end using the same
12
+ | syntax for every one. Here you may define a default connection.
13
+ |
14
+ */
15
+
16
+ 'default' => env('QUEUE_CONNECTION', 'sync'),
17
+
18
+ /*
19
+ |--------------------------------------------------------------------------
20
+ | Queue Connections
21
+ |--------------------------------------------------------------------------
22
+ |
23
+ | Here you may configure the connection information for each server that
24
+ | is used by your application. A default configuration has been added
25
+ | for each back-end shipped with Laravel. You are free to add more.
26
+ |
27
+ | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
28
+ |
29
+ */
30
+
31
+ 'connections' => [
32
+
33
+ 'sync' => [
34
+ 'driver' => 'sync',
35
+ ],
36
+
37
+ 'database' => [
38
+ 'driver' => 'database',
39
+ 'table' => 'jobs',
40
+ 'queue' => 'default',
41
+ 'retry_after' => 90,
42
+ 'after_commit' => false,
43
+ ],
44
+
45
+ 'beanstalkd' => [
46
+ 'driver' => 'beanstalkd',
47
+ 'host' => 'localhost',
48
+ 'queue' => 'default',
49
+ 'retry_after' => 90,
50
+ 'block_for' => 0,
51
+ 'after_commit' => false,
52
+ ],
53
+
54
+ 'sqs' => [
55
+ 'driver' => 'sqs',
56
+ 'key' => env('AWS_ACCESS_KEY_ID'),
57
+ 'secret' => env('AWS_SECRET_ACCESS_KEY'),
58
+ 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
59
+ 'queue' => env('SQS_QUEUE', 'default'),
60
+ 'suffix' => env('SQS_SUFFIX'),
61
+ 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
62
+ 'after_commit' => false,
63
+ ],
64
+
65
+ 'redis' => [
66
+ 'driver' => 'redis',
67
+ 'connection' => 'default',
68
+ 'queue' => env('REDIS_QUEUE', 'default'),
69
+ 'retry_after' => 90,
70
+ 'block_for' => null,
71
+ 'after_commit' => false,
72
+ ],
73
+
74
+ ],
75
+
76
+ /*
77
+ |--------------------------------------------------------------------------
78
+ | Failed Queue Jobs
79
+ |--------------------------------------------------------------------------
80
+ |
81
+ | These options configure the behavior of failed queue job logging so you
82
+ | can control which database and table are used to store the jobs that
83
+ | have failed. You may change them to any database / table you wish.
84
+ |
85
+ */
86
+
87
+ 'failed' => [
88
+ 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
89
+ 'database' => env('DB_CONNECTION', 'mysql'),
90
+ 'table' => 'failed_jobs',
91
+ ],
92
+
93
+ ];
@@ -0,0 +1,65 @@
1
+ <?php
2
+
3
+ return [
4
+
5
+ /*
6
+ |--------------------------------------------------------------------------
7
+ | Stateful Domains
8
+ |--------------------------------------------------------------------------
9
+ |
10
+ | Requests from the following domains / hosts will receive stateful API
11
+ | authentication cookies. Typically, these should include your local
12
+ | and production domains which access your API via a frontend SPA.
13
+ |
14
+ */
15
+
16
+ 'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
17
+ '%s%s',
18
+ 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
19
+ env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : ''
20
+ ))),
21
+
22
+ /*
23
+ |--------------------------------------------------------------------------
24
+ | Sanctum Guards
25
+ |--------------------------------------------------------------------------
26
+ |
27
+ | This array contains the authentication guards that will be checked when
28
+ | Sanctum is trying to authenticate a request. If none of these guards
29
+ | are able to authenticate the request, Sanctum will use the bearer
30
+ | token that's present on an incoming request for authentication.
31
+ |
32
+ */
33
+
34
+ 'guard' => ['web'],
35
+
36
+ /*
37
+ |--------------------------------------------------------------------------
38
+ | Expiration Minutes
39
+ |--------------------------------------------------------------------------
40
+ |
41
+ | This value controls the number of minutes until an issued token will be
42
+ | considered expired. If this value is null, personal access tokens do
43
+ | not expire. This won't tweak the lifetime of first-party sessions.
44
+ |
45
+ */
46
+
47
+ 'expiration' => null,
48
+
49
+ /*
50
+ |--------------------------------------------------------------------------
51
+ | Sanctum Middleware
52
+ |--------------------------------------------------------------------------
53
+ |
54
+ | When authenticating your first-party SPA with Sanctum you may need to
55
+ | customize some of the middleware Sanctum uses while processing the
56
+ | request. You may change the middleware listed below as required.
57
+ |
58
+ */
59
+
60
+ 'middleware' => [
61
+ 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,
62
+ 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class,
63
+ ],
64
+
65
+ ];