forked from stancl/tenancy-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
navigation.php
233 lines (224 loc) · 9.81 KB
/
navigation.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<?php
return [
'v1' => [
'Getting Started' => [
'url' => 'getting-started',
'children' => [
'Installation' => 'installation',
'Storage Drivers' => 'storage-drivers',
'This Package vs Others' => 'difference-between-this-package-and-others',
'Configuration' => 'configuration',
],
],
'Usage' => [
'url' => 'usage',
'children' => [
'Creating Tenants' => 'creating-tenants',
'Tenant Routes' => 'tenant-routes',
'Tenant Storage' => 'tenant-storage',
'Tenant Manager' => 'tenant-manager',
'Console Commands' => 'console-commands',
],
],
'Digging Deeper' => [
'url' => 'digging-deeper',
'children' => [
'Middleware Configuration' => 'middleware-configuration',
'Custom Database Names' => 'custom-database-names',
'Filesystem Tenancy' => 'filesystem-tenancy',
'Jobs & Queues' => 'jobs-queues',
'Event System' => 'event-system',
'Tenancy Initialization' => 'tenancy-initialization',
'Application Testing' => 'application-testing',
'Writing Storage Drivers' => 'writing-storage-drivers',
'Development' => 'development',
],
],
'Integrations' => [
'url' => 'integrations',
'children' => [
'Telescope' => 'telescope',
'Horizon' => 'horizon',
],
],
'Tips' => [
'children' => [
'HTTPS Certificates' => 'https-certificates',
'Misc' => 'misc-tips',
],
],
'Stay Updated' => 'stay-updated',
'GitHub' => 'https://github.com/stancl/tenancy',
],
'v2' => [
'Upgrading from 1.x' => 'upgrading',
'Getting Started' => [
'url' => 'getting-started',
'children' => [
'Installation' => 'installation',
'Storage Drivers' => 'storage-drivers',
'This Package vs Others' => 'difference-between-this-package-and-others',
'Configuration' => 'configuration',
],
],
'Usage' => [
'url' => 'usage',
'children' => [
'Creating Tenants' => 'creating-tenants',
'Tenant Migrations' => 'tenant-migrations',
'Tenant Routes' => 'tenant-routes',
'Tenant Storage' => 'tenant-storage',
'Tenant Manager' => 'tenant-manager',
'Console Commands' => 'console-commands',
],
],
'Digging Deeper' => [
'url' => 'digging-deeper',
'children' => [
'Tenants' => 'tenants',
'Central App' => 'central-app',
'Universal Routes' => 'universal-routes',
'Cached Tenant Lookup' => 'cached-tenant-lookup',
'PostgreSQL schema separation' => 'postgres-schema-separation',
'Custom Database Names' => 'custom-database-names',
'Custom DB Connections' => 'custom-db-connections',
'Disabling DB Creation' => 'disabling-db-creation',
'Filesystem Tenancy' => 'filesystem-tenancy',
'Jobs & Queues' => 'jobs-queues',
'Hooks / Events' => 'hooks',
'Tenancy Initialization' => 'tenancy-initialization',
'Tenancy Bootstrappers' => 'tenancy-bootstrappers',
'Application Testing' => 'application-testing',
'Tenant-Aware Commands' => 'tenant-aware-commands',
'Middleware Configuration' => 'middleware-configuration',
'Writing Storage Drivers' => 'writing-storage-drivers',
],
],
'Optional Features' => [
'url' => 'features',
'children' => [
'Tenant Config' => 'features/tenant-config',
'Timestamps' => 'features/timestamps',
'Tenant Redirect' => 'features/tenant-redirect',
],
],
'Integrations' => [
'url' => 'integrations',
'children' => [
'Spatie Packages' => 'spatie',
'Horizon' => 'horizon',
'Passport' => 'passport',
'Nova' => 'nova',
'Telescope' => 'telescope',
'Livewire' => 'livewire',
],
],
'Tips' => [
'children' => [
'HTTPS Certificates' => 'https-certificates',
'Misc' => 'misc-tips',
],
],
'Stay Updated' => 'stay-updated',
'GitHub' => 'https://github.com/stancl/tenancy',
'Tutorial' => 'https://samuelstancl.me/blog/make-your-laravel-app-multi-tenant-without-changing-a-line-of-code/',
],
'v3' => [
'SaaS boilerplate' => 'https://tenancyforlaravel.com/saas-boilerplate/',
'GitHub' => 'https://github.com/stancl/tenancy',
'Donate' => 'https://tenancyforlaravel.com/donate',
'Upgrading from 2.x' => 'upgrading',
'Introduction' => [
'children' => [
'Introduction' => 'introduction',
'Quickstart' => 'quickstart',
'Installation' => 'installation',
'Configuration' => 'configuration',
'Compared to other packages' => 'package-comparison',
],
],
'Concepts' => [
'children' => [
'The two applications' => 'the-two-applications',
'Tenants' => 'tenants',
'Domains' => 'domains',
'Event system' => 'event-system',
'Routes' => 'routes',
'Tenancy bootstrappers' => 'tenancy-bootstrappers',
'Optional Features' => [
'url' => 'optional-features',
'children' => [
'User impersonation' => 'features/user-impersonation',
'Telescope tags' => 'features/telescope-tags',
'Tenant Config' => 'features/tenant-config',
'Cross-domain redirect' => 'features/cross-domain-redirect',
'Universal routes' => 'features/universal-routes',
],
],
],
],
'Tenancy modes' => [
'children' => [
'Automatic mode' => 'automatic-mode',
'Manual mode' => 'manual-mode',
],
],
'Single-database tenancy' => [
'children' => [
'Single-database tenancy' => 'single-database-tenancy',
],
],
'Identifying tenants' => [
'children' => [
'Tenant identification' => 'tenant-identification',
'Early identification' => 'early-identification',
],
],
'Multi-database tenancy' => [
'children' => [
'Multi-database tenancy' => 'multi-database-tenancy',
'Migrations' => 'migrations',
'Customizing databases' => 'customizing-databases',
'Synced resources between tenants' => 'synced-resources-between-tenants',
'Session scoping' => 'session-scoping',
'Queues' => 'queues',
],
],
'Digging deeper' => [
'children' => [
'Manual initialization' => 'manual-initialization',
'Testing' => 'testing',
'Integrating with other packages' => [
'url' => 'integrating',
'children' => [
'Spatie packages' => 'integrations/spatie',
'Horizon' => 'integrations/horizon',
'Passport' => 'integrations/passport',
'Nova' => 'integrations/nova',
'Telescope' => 'integrations/telescope',
'Livewire' => 'integrations/livewire',
'Orchid' => 'integrations/orchid',
],
],
'Console commands' => 'console-commands',
'Cached lookup' => 'cached-lookup',
'Real-time facades' => 'realtime-facades',
'Tenant maintenance mode' => 'tenant-maintenance-mode',
],
],
'Sponsor-only content' => [
'children' => [
'Exclusive content for sponsors' => 'https://sponsors.tenancyforlaravel.com/',
'Billable Tenants with Cashier' => 'https://sponsors.tenancyforlaravel.com/billable-tenants-with-cashier',
'Central (SSO-like) Authentication' => 'https://sponsors.tenancyforlaravel.com/central-sso-like-authentication',
'Customer HTTPS Certificates with Ploi' => 'https://sponsors.tenancyforlaravel.com/customer-https-certificates-with-ploi',
'Deploying Applications to Ploi' => 'https://sponsors.tenancyforlaravel.com/deploying-applications-to-ploi',
'Frictionless Testing Setup' => 'https://sponsors.tenancyforlaravel.com/frictionless-testing-setup',
'Queued Onboarding Flow' => 'https://sponsors.tenancyforlaravel.com/queued-onboarding-flow',
'Structuring the Codebase for Clarity' => 'https://sponsors.tenancyforlaravel.com/structuring-the-codebase-for-clarity',
'Tenant Database Management with Ploi' => 'https://sponsors.tenancyforlaravel.com/tenant-database-management-with-ploi',
'Universal (Central & Tenant) Nova' => 'https://sponsors.tenancyforlaravel.com/universal-central-and-tenant-nova',
],
],
],
];