tenancy-docs/navigation.php
Samuel Štancl 1bcf5ef24e fix nav
2020-08-02 22:11:23 +02:00

232 lines
9.8 KiB
PHP

<?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' => 'docs/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',
],
],
'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',
],
],
],
];