Skip to content
Azizul Hakim edited this page Jun 14, 2025 · 13 revisions

Welcome to the official documentation for Laravel Setanjo - a powerful multi-tenant settings package for Laravel applications.

πŸš€ Overview

A powerful Laravel package for managing application settings and configurations. Store global application settings or model-specific configurations (user preferences, company settings, etc.) with automatic type casting, caching, and a clean API. Perfect for feature flags, A/B testing, user preferences, and dynamic configuration management.

Note: This package does not provide multi-tenancy features for your application. However, if your Laravel project already has multi-tenancy implemented, this package can store tenant-specific settings alongside your existing tenant architecture.

Key Features

  • 🏒 Multi-Tenant Ready: Works with existing multi-tenant applications
  • πŸ—ƒοΈ Model-Specific Settings: Store settings for any Eloquent model (User, Company, etc.)
  • πŸ›οΈ Global Settings: Application-wide settings without model scope
  • ⚑ Caching: Optional caching with configurable cache store
  • πŸ”’ Validation: Validate models and prevent unauthorized access
  • πŸ“¦ Clean API: Simple, intuitive API for setting and retrieving values
  • πŸ§ͺ Fully Tested: Comprehensive test suite included
  • βœ… Type Safety: Automatic type detection and conversion

Use Cases

  • User Preferences: Theme, language, notification settings
  • Application Configuration: Feature flags, API limits, maintenance mode
  • Multi-Tenant SaaS: Per-organization/company settings
  • A/B Testing: Dynamic feature toggles per user/tenant
  • Dynamic Configuration: Runtime application behavior changes

🀝 Community

πŸ“„ License

Laravel Setanjo is open-source software licensed under the MIT License.

πŸ“š Documentation Structure

Home

  • Home - Homepage of the wiki

Getting Started

Core Concepts

API Reference

Advanced Usage

  • Commands - Artisan commands for management

Tips

🀝 Community

Clone this wiki locally