This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
description: Tenancy | |
alwaysApply: false | |
--- | |
- **Use Stancl Tenancy v4 for all multi-tenancy logic** | |
- All tenant management, database separation, and domain mapping must use [Stancl Tenancy v4](https://tenancy-v4.pages.dev/tenants/). | |
- Do not implement custom tenancy logic outside of the package unless absolutely necessary. | |
- **Tenant Model** | |
- The tenant model **must** extend `Stancl\Tenancy\Database\Models\Tenant` and implement `Stancl\Tenancy\Database\Contracts\TenantWithDatabase` for multi-database setups. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\View\Components; | |
use Carbon\Carbon; | |
use Carbon\CarbonPeriod; | |
use Illuminate\View\Component; | |
class MonthlyCalendar extends Component | |
{ |