Sign inSign up

laralordproject/server

By laralordproject

•Updated over 1 year ago

Laralord enables multi-tenancy for any stateless Laravel application without requiring code updates.

Image
Integration & delivery
0

2.0K

laralordproject/server repository overview

Test

⁠Laralord Project - Server

Laralord enables multi-tenancy for any stateless Laravel application without requiring code updates. It is an OpenSwoole wrapper designed to provide a high-performance, multi-tenant server setup for Laravel Application.


⁠Key Features

  1. Multi-Tenant Support:

    • Detect tenant ID via headers, cookies, JWT tokens, query strings, or POST data.
    • Operate in:
      • Single-Tenant Mode: Optimized server for a single tenant with pre-booted Laravel instances for ultra-fast responses.
      • Multi-Tenant Mode: Dynamically resolve environment credentials per tenant, supporting concurrent requests with isolated environments.
      • S3 Bucket Proxy: Simplifies serving static files and tenant-specific frontends from an S3 or S3-compatible bucket.
  2. High Performance:

    • Pre-boot Laravel application in Single-Tenant Mode, reducing response delay by up to 80ms.
    • Process Isolation: Each request is executed in a separate process using the pcntl extension.
  3. Unified Queue Workers and Scheduler:

    • Fair distribution of resources between tenants in both the queue system and scheduler.
    • Supports isolated task execution per tenant, ensuring that each tenant has equal access to resources.
  4. Dynamic Credentials Update:

    • Periodically fetch and update credentials from HashiCorp Vault, ensuring that tenant environments are always using the latest credentials.
  5. Containerization Support:

    • Application built for containerization, offering simple and clear configuration, even through environment variables.

Tag summary

Content type

Image

Digest

sha256:8200e44db…

Size

323.9 MB

Last updated

over 1 year ago

docker pull laralordproject/server