Download the PHP package italiavainrete/multitenancy-utils-laravel without Composer
On this page you can find all versions of the php package italiavainrete/multitenancy-utils-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download italiavainrete/multitenancy-utils-laravel
More information about italiavainrete/multitenancy-utils-laravel
Files in italiavainrete/multitenancy-utils-laravel
Package multitenancy-utils-laravel
Short Description A set of utilities for IVR multitenancy system
License MIT
Homepage https://github.com/italiavainrete/multitenancy-utils-laravel
Informations about the package multitenancy-utils-laravel
MultiTenancy Utils for Laravel
laravel/multitenancy-utils-laravel
is a package designed to simplify multi-tenancy management in Laravel applications. It provides tools to handle tenant-specific configurations, assets, branding, and more.
Installation
To install the package, use composer:
Configuration
Most of the options can be customized using .env
variabiles, however you can publish the config file with:
This is the contents of the published config file config/multitenancy-utils-laravel.php
, modify it to suit your needs:
Usage
Controllers
Two routes are provided for serving tenant-specific web manifest and browser config XML:
Getting Started
The package aims to simplify rendering of a series of common tags to define the style of a page using data from the tenant's brand
View Components
You can use the following view components provided by the package:
x-multi-tenancy::brand-favicons
- Renders tenant favicon meta tags.x-multi-tenancy::brand-style
- Renders styles for tenant.x-multi-tenancy::brand-logo
- Displays tenant logo.
Full Usage Example
Here's a full example of a Blade template using the components and shared brand data:
Testing
- Salvo Bonanno
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of multitenancy-utils-laravel with dependencies
illuminate/contracts Version ^10.0||^11.0
ozdemirburak/iris Version ^3.1
spatie/laravel-data Version ^4.7
spatie/laravel-package-tools Version ^1.16