From c487c4f65c9dd0f11f99c59f58ab1dbe1e13a134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 11 Oct 2019 20:01:25 +0200 Subject: [PATCH] Code block responsivity on mobile --- dist/index.html | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/dist/index.html b/dist/index.html index 64c87e1..1b790ba 100644 --- a/dist/index.html +++ b/dist/index.html @@ -38,7 +38,7 @@
@@ -46,7 +46,7 @@ @@ -74,9 +74,9 @@ dispatch(new SendOrderCreatedMail);
-
+
-
+

Easy Installation

Two commands is all you need to get started.

@@ -169,14 +169,14 @@ php artisan tenancy:install
-
-
+
+

Automatic Data Separation

Tenants' databases, caches, filesystems, queues and Redis stores are automatically separated. You can write your app like you're used to and let the package worry about tenant data separation.

-
-
+        
+
 cache()->remember('total_revenue', function () {
     return Order::with('products')
         ->get()
@@ -187,9 +187,9 @@ cache()->remember('total_revenue', function () {
         
-
-
-
+    
+
+
 'redis' => [
     'prefix_base' => 'tenant',
     'prefixed_connections' => [
@@ -198,7 +198,7 @@ cache()->remember('total_revenue', function () {
 ],
 
-
+

Configurable

Even though everything happens automatically, you're still in control. You can configure how database names, Redis keys and filesystem paths are prefixed, as well as how cache is tagged and @@ -206,15 +206,15 @@ cache()->remember('total_revenue', function () {

-
-
+
+

CLI-friendly

stancl/tenancy comes with artisan commands for migrating, rolling back, as well as seeding tenant databases.

-
-
+        
+
 $ artisan tenants:seed --tenants=8075a580-1cb8-11e9-8822-49c5d8f8ff23
 Tenant: 8075a580-1cb8-11e9-8822-49c5d8f8ff23 (tenant1.localhost)
 Database seeding completed successfully.
@@ -222,9 +222,9 @@ Database seeding completed successfully.
         
-
-
-
+    
+
+
 class PostgreSQLDatabaseManager implements TenantDatabaseManager
 {
     public function createDatabase($name)
@@ -234,13 +234,13 @@ class PostgreSQLDatabaseManager implements TenantDatabaseManager
 }
 
-
+

SOLID extensibility

The package follows the SOLID principles and is open to extension. You're free to write (and contribute ❤️) your own Storage Drivers, Tenancy Bootstrappers, and Feature classes.

-
+

How it works

    @@ -272,7 +272,7 @@ class PostgreSQLDatabaseManager implements TenantDatabaseManager
-
+

Ready to try it?