Skip to content

Commit cf956fe

Browse files
committed
chore: add config files
1 parent f18a133 commit cf956fe

3 files changed

Lines changed: 350 additions & 0 deletions

File tree

config/blade-heroicons.php

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|-----------------------------------------------------------------
7+
| Default Prefix
8+
|-----------------------------------------------------------------
9+
|
10+
| This config option allows you to define a default prefix for
11+
| your icons. The dash separator will be applied automatically
12+
| to every icon name. It's required and needs to be unique.
13+
|
14+
*/
15+
16+
'prefix' => 'heroicon',
17+
18+
/*
19+
|-----------------------------------------------------------------
20+
| Fallback Icon
21+
|-----------------------------------------------------------------
22+
|
23+
| This config option allows you to define a fallback
24+
| icon when an icon in this set cannot be found.
25+
|
26+
*/
27+
28+
'fallback' => '',
29+
30+
/*
31+
|-----------------------------------------------------------------
32+
| Default Set Classes
33+
|-----------------------------------------------------------------
34+
|
35+
| This config option allows you to define some classes which
36+
| will be applied by default to all icons within this set.
37+
|
38+
*/
39+
40+
'class' => '',
41+
42+
/*
43+
|-----------------------------------------------------------------
44+
| Default Set Attributes
45+
|-----------------------------------------------------------------
46+
|
47+
| This config option allows you to define some attributes which
48+
| will be applied by default to all icons within this set.
49+
|
50+
*/
51+
52+
'attributes' => [
53+
// 'width' => 50,
54+
// 'height' => 50,
55+
],
56+
57+
];

config/eclipse.php

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Enable/disable user email verification
8+
|--------------------------------------------------------------------------
9+
| Set this boolean to true if you want to enable parts of the application
10+
| related to user email address verification
11+
*/
12+
'email_verification' => (bool) env('ECLIPSE_EMAIL_VERIFICATION', false),
13+
14+
/*
15+
|--------------------------------------------------------------------------
16+
| Seeder setup
17+
|--------------------------------------------------------------------------
18+
| Here you can specify any data you want seeded by default.
19+
| All settings are optional.
20+
*/
21+
'seed' => [
22+
'roles' => [
23+
// Number of randomly generated roles
24+
'count' => 2,
25+
// Roles with preset data
26+
// Required attributes: name, guard_name
27+
'presets' => [
28+
[
29+
'data' => [
30+
'name' => 'admin',
31+
'guard_name' => 'web',
32+
],
33+
],
34+
],
35+
],
36+
'users' => [
37+
// Number of randomly generated users
38+
'count' => 5,
39+
// Users with preset data
40+
'presets' => [
41+
[
42+
'data' => [
43+
// Email is required
44+
'email' => 'test@example.com',
45+
// Additional attributes — if any is omitted, faker will be used
46+
'first_name' => 'Test',
47+
'last_name' => 'User',
48+
'password' => 'test123',
49+
],
50+
// Optional role(s) to set (for multiple, use an array)
51+
'role' => 'super_admin',
52+
],
53+
[
54+
'data' => [
55+
'email' => 'admin@example.com',
56+
],
57+
'role' => 'admin',
58+
],
59+
],
60+
],
61+
],
62+
63+
/*
64+
|--------------------------------------------------------------------------
65+
| Developer logins
66+
|--------------------------------------------------------------------------
67+
| Provide a list of users to use as config for the "Developer logins"
68+
| Filament plugin
69+
*/
70+
'developer_logins' => [
71+
'Super admin' => 'test@example.com',
72+
'Admin' => 'admin@example.com',
73+
],
74+
75+
/*
76+
|--------------------------------------------------------------------------
77+
| Telescope package additional configuration
78+
|--------------------------------------------------------------------------
79+
*/
80+
'telescope' => [
81+
/*
82+
* Enable dark theme?
83+
*/
84+
'dark_theme' => (bool) env('TELESCOPE_DARK_THEME', false),
85+
],
86+
87+
];

config/telescope.php

Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
<?php
2+
3+
use Laravel\Telescope\Http\Middleware\Authorize;
4+
use Laravel\Telescope\Watchers;
5+
6+
return [
7+
8+
/*
9+
|--------------------------------------------------------------------------
10+
| Telescope Master Switch
11+
|--------------------------------------------------------------------------
12+
|
13+
| This option may be used to disable all Telescope watchers regardless
14+
| of their individual configuration, which simply provides a single
15+
| and convenient way to enable or disable Telescope data storage.
16+
|
17+
*/
18+
19+
'enabled' => env('TELESCOPE_ENABLED', true),
20+
21+
/*
22+
|--------------------------------------------------------------------------
23+
| Telescope Domain
24+
|--------------------------------------------------------------------------
25+
|
26+
| This is the subdomain where Telescope will be accessible from. If the
27+
| setting is null, Telescope will reside under the same domain as the
28+
| application. Otherwise, this value will be used as the subdomain.
29+
|
30+
*/
31+
32+
'domain' => env('TELESCOPE_DOMAIN'),
33+
34+
/*
35+
|--------------------------------------------------------------------------
36+
| Telescope Path
37+
|--------------------------------------------------------------------------
38+
|
39+
| This is the URI path where Telescope will be accessible from. Feel free
40+
| to change this path to anything you like. Note that the URI will not
41+
| affect the paths of its internal API that aren't exposed to users.
42+
|
43+
*/
44+
45+
'path' => env('TELESCOPE_PATH', 'telescope'),
46+
47+
/*
48+
|--------------------------------------------------------------------------
49+
| Telescope Storage Driver
50+
|--------------------------------------------------------------------------
51+
|
52+
| This configuration options determines the storage driver that will
53+
| be used to store Telescope's data. In addition, you may set any
54+
| custom options as needed by the particular driver you choose.
55+
|
56+
*/
57+
58+
'driver' => env('TELESCOPE_DRIVER', 'database'),
59+
60+
'storage' => [
61+
'database' => [
62+
'connection' => env('DB_CONNECTION', 'mysql'),
63+
'chunk' => 1000,
64+
],
65+
],
66+
67+
/*
68+
|--------------------------------------------------------------------------
69+
| Telescope Queue
70+
|--------------------------------------------------------------------------
71+
|
72+
| This configuration options determines the queue connection and queue
73+
| which will be used to process ProcessPendingUpdate jobs. This can
74+
| be changed if you would prefer to use a non-default connection.
75+
|
76+
*/
77+
78+
'queue' => [
79+
'connection' => env('TELESCOPE_QUEUE_CONNECTION', null),
80+
'queue' => env('TELESCOPE_QUEUE', null),
81+
'delay' => env('TELESCOPE_QUEUE_DELAY', 10),
82+
],
83+
84+
/*
85+
|--------------------------------------------------------------------------
86+
| Telescope Route Middleware
87+
|--------------------------------------------------------------------------
88+
|
89+
| These middleware will be assigned to every Telescope route, giving you
90+
| the chance to add your own middleware to this list or change any of
91+
| the existing middleware. Or, you can simply stick with this list.
92+
|
93+
*/
94+
95+
'middleware' => [
96+
'web',
97+
Authorize::class,
98+
],
99+
100+
/*
101+
|--------------------------------------------------------------------------
102+
| Allowed / Ignored Paths & Commands
103+
|--------------------------------------------------------------------------
104+
|
105+
| The following array lists the URI paths and Artisan commands that will
106+
| not be watched by Telescope. In addition to this list, some Laravel
107+
| commands, like migrations and queue commands, are always ignored.
108+
|
109+
*/
110+
111+
'only_paths' => [
112+
// 'api/*'
113+
],
114+
115+
'ignore_paths' => [
116+
'livewire*',
117+
'nova-api*',
118+
'pulse*',
119+
],
120+
121+
'ignore_commands' => [
122+
//
123+
],
124+
125+
/*
126+
|--------------------------------------------------------------------------
127+
| Telescope Watchers
128+
|--------------------------------------------------------------------------
129+
|
130+
| The following array lists the "watchers" that will be registered with
131+
| Telescope. The watchers gather the application's profile data when
132+
| a request or task is executed. Feel free to customize this list.
133+
|
134+
*/
135+
136+
'watchers' => [
137+
Watchers\BatchWatcher::class => env('TELESCOPE_BATCH_WATCHER', true),
138+
139+
Watchers\CacheWatcher::class => [
140+
'enabled' => env('TELESCOPE_CACHE_WATCHER', true),
141+
'hidden' => [],
142+
],
143+
144+
Watchers\ClientRequestWatcher::class => env('TELESCOPE_CLIENT_REQUEST_WATCHER', true),
145+
146+
Watchers\CommandWatcher::class => [
147+
'enabled' => env('TELESCOPE_COMMAND_WATCHER', true),
148+
'ignore' => [],
149+
],
150+
151+
Watchers\DumpWatcher::class => [
152+
'enabled' => env('TELESCOPE_DUMP_WATCHER', true),
153+
'always' => env('TELESCOPE_DUMP_WATCHER_ALWAYS', false),
154+
],
155+
156+
Watchers\EventWatcher::class => [
157+
'enabled' => env('TELESCOPE_EVENT_WATCHER', true),
158+
'ignore' => [],
159+
],
160+
161+
Watchers\ExceptionWatcher::class => env('TELESCOPE_EXCEPTION_WATCHER', true),
162+
163+
Watchers\GateWatcher::class => [
164+
'enabled' => env('TELESCOPE_GATE_WATCHER', true),
165+
'ignore_abilities' => [],
166+
'ignore_packages' => true,
167+
'ignore_paths' => [],
168+
],
169+
170+
Watchers\JobWatcher::class => env('TELESCOPE_JOB_WATCHER', true),
171+
172+
Watchers\LogWatcher::class => [
173+
'enabled' => env('TELESCOPE_LOG_WATCHER', true),
174+
'level' => 'error',
175+
],
176+
177+
Watchers\MailWatcher::class => env('TELESCOPE_MAIL_WATCHER', true),
178+
179+
Watchers\ModelWatcher::class => [
180+
'enabled' => env('TELESCOPE_MODEL_WATCHER', true),
181+
'events' => ['eloquent.*'],
182+
'hydrations' => true,
183+
],
184+
185+
Watchers\NotificationWatcher::class => env('TELESCOPE_NOTIFICATION_WATCHER', true),
186+
187+
Watchers\QueryWatcher::class => [
188+
'enabled' => env('TELESCOPE_QUERY_WATCHER', true),
189+
'ignore_packages' => true,
190+
'ignore_paths' => [],
191+
'slow' => 100,
192+
],
193+
194+
Watchers\RedisWatcher::class => env('TELESCOPE_REDIS_WATCHER', true),
195+
196+
Watchers\RequestWatcher::class => [
197+
'enabled' => env('TELESCOPE_REQUEST_WATCHER', true),
198+
'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64),
199+
'ignore_http_methods' => [],
200+
'ignore_status_codes' => [],
201+
],
202+
203+
Watchers\ScheduleWatcher::class => env('TELESCOPE_SCHEDULE_WATCHER', true),
204+
Watchers\ViewWatcher::class => env('TELESCOPE_VIEW_WATCHER', true),
205+
],
206+
];

0 commit comments

Comments
 (0)