Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Tenants Laravel Package

rinvex/laravel-tenants

View on GitHub
Deep Wiki
Context7
v8.1.2
  • Update composer dependencies
  • Use canonicalized absolute pathnames for resources
v8.1.1
  • Require missing composer dependency
  • Refactor resource loading and publishing
v8.1.0
  • 306f2b4: Add support for Laravel v11, and drop support for Laravel v9
  • f8a8e0c: Upgrade spatie/laravel-translatable to v6.5 from v6.0
  • 0417634: Upgrade spatie/laravel-sluggable to v3.4 from v3.3
  • 348c050: Update propaganistas/laravel-phone to v5.0 from v4.4
  • b531808: Update phpunit to v10.1 from v9.5
  • 0497f95: Fix tenant attributes
v8.0.0
  • Add Relation::morphMap
  • Tweak artisan commands registration
  • Drop PHP v8.0 support and update composer dependencies
  • Utilize PHP 8.1 attributes feature for artisan commands
v7.3.1
  • Update composer dependencies spatie/laravel-translatable to ^6.0.0 from ^5.2.0
  • Add alias for tenantable global scopes
  • Require rfc & dns email validation rules
v7.3.0
  • Update composer dependencies to Laravel v9
  • Add support for model HasFactory
v7.2.1
  • Refactor resolveActiveTenant to check if there's a db connection first, otherwise skip silently
  • Update .styleci.yml fixers
v7.2.0
  • Update documentation
  • Move app.url & session.domain runtime override to modules & application layer
  • Use the new app.domains config option
  • Remove config options and global helpers to modules and application layer
  • Check before detaching pages if deleted entity was soft deleted
v7.1.0
  • Drop PHP v7 support, and upgrade rinvex package dependencies to next major version
  • Update composer dependencies
v7.0.1
  • Introduce central subdomains functionality and improve tenant resolution logic
v7.0.0
  • Breaking Change: Refactor of tenant resolving logic
  • Add domain and subdomain tenant resolvers and exceptions
  • Dynamically change session domain config on the fly, if current requested host is not a central domain or a central subdomain
  • Resolve and register currently active tenant into service container
  • Add central_domains() & tenant_domains() global helpers
  • Add central domains config options to support additional alias domains
  • Add TenantableChild trait and TenantableChildScope for child models
  • Remove useless TenantNotSetException
  • Move global scope to TenantableScope class
    • Scope queries to is_active tenants
    • Add support for withoutTenants
  • Add domain attribute to tenants
  • Update composer dependencies
  • Update documentation
v6.0.5
  • Merge rules instead of resetting, to allow adequate model override
  • Update spatie/laravel-translatable composer package to v5.0.0
  • Update spatie/laravel-sluggable composer package to v3.0.0
v6.0.4
  • Fix constructor initialization order (fill attributes should come next after merging fillables & rules)
v6.0.3
  • Drop old MySQL versions support that doesn't support json columns
  • Upgrade to GitHub-native Dependabot
  • Use app() method alias has instead of bound for better readability
  • Utilize SoftDeletes
v6.0.2
  • Simplify service provider model registration into IoC
  • Enable StyleCI risky mode
v6.0.1
  • Add support for PHP v8
v6.0.0
  • Upgrade to Laravel v8
  • Move custom eloquent model events to module layer from core package layer
  • Refactor and tweak Eloquent Events
v5.0.2
  • Make sure request.tenant IoC service already bound before using
  • Update timezone validation rule
v5.0.1
  • Update timezone validation rule
  • Update validation rules
v5.0.0
  • Refactor active tenant container service binding
v4.1.0
  • Fix attaching categories by their IDs where IDs are passed mistakenly as strings in some cases!
  • Fix phone validation rule
  • Drop using rinvex/laravel-cacheable from core packages for more flexibility
    • Caching should be handled on the application layer, not enforced from the core packages
  • Drop PHP 7.2 & 7.3 support from travis
v4.0.6
  • Remove default indent size config
  • Add strip_tags validation rule to string fields
  • Specify events queue
  • Explicitly specify relationship attributes
  • Add strip_tags validation rule
  • Explicitly define relationship name
v4.0.5
  • Fix ServiceProvider registerCommands method compatibility
v4.0.4
  • Tweak artisan command registration
  • Reverse commit "Convert database int fields into bigInteger"
  • Refactor publish command and allow multiple resource values
v4.0.3
  • Fix namespace issue
v4.0.2
  • Enforce consistent artisan command tag namespacing
  • Enforce consistent package namespace
  • Drop laravel/helpers usage as it's no longer used
v4.0.1
  • Convert into bigInteger database fields
  • Add shortcut -f (force) for artisan publish commands
  • Fix migrations path
v4.0.0
  • Upgrade to Laravel v7.1.x & PHP v7.4.x
v3.0.3
  • Tweak TravisCI config
  • Add migrations autoload option to the package
  • Tweak service provider publishesResources
  • Remove indirect composer dependency
  • Drop using global helpers
  • Update StyleCI config
v3.0.2
  • Fix migrate:reset args as it doesn't accept --step
  • Create event classes and map them in the model
v3.0.1
  • Add missing laravel/helpers composer package
v3.0.0
  • Upgrade to Laravel v6 and update dependencies
v2.1.1
  • Enforce latest composer package versions
v2.1.0
  • Update composer deps
  • Drop PHP 7.1 travis test
  • Refactor migrations and artisan commands, and tweak service provider publishes functionality
v2.0.0
  • Rename environment variable QUEUE_DRIVER to QUEUE_CONNECTION
  • Require PHP 7.2 & Laravel 5.8
  • Apply PHPUnit 8 updates
  • Replace get_called_class() with static::class (potentially deprecated in PHP 7.4)
  • Refactor isManager & isSupermanager methods
  • Drop ownership feature of tenants
v1.0.3
  • Add missing countries & languages dependencies (fix #19)
v1.0.2
  • Update composer dependencies
  • Add PHP 7.3 support to travis
  • Fix MySQL / PostgreSQL json column compatibility
v1.0.1
  • Fix wrong composer package version constraints
v1.0.0
  • Enforce Consistency
  • Support Laravel 5.7+
  • Rename package to rinvex/laravel-tenants
v0.0.5
  • Update travis php versions
  • Define polymorphic relationship parameters explicitly
  • Rename tenant "user" to "owner"
  • Add isOwner and isStaff model methods
  • Install composer package propaganistas/laravel-phone for phone verification
  • Require composer package rinvex/languages
  • Loose strongly typed return value of owner relationship for flexible override on module level
  • Remove group and add timezone, currency attributes
  • Drop StyleCI multi-language support (paid feature now!)
  • Update composer dependencies
  • Prepare and tweak testing configuration
  • Highlight variables in strings explicitly
  • Update StyleCI options
  • Update PHPUnit options
  • Rename model activation and deactivation methods
  • Add tag model factory
v0.0.4
  • Rename tenantable global scope
  • Update supplementary files
  • Add PublishCommand to artisan
  • Move slug auto generation to the custom HasSlug trait
  • Add Rollback Console Command
  • Refactor tenants active instance
  • Remove useless TenantBadFormatException exception
  • Add missing composer dependencies
  • Typehint method returns
  • Update composer dependencies
  • Drop useless model contracts (models already swappable through IoC)
  • Add Laravel v5.6 support
  • Simplify IoC binding
  • Convert tenant owner to polymorphic and rename it to user
  • Drop Laravel 5.5 support
  • Update PHPUnit to 7.0.0
v0.0.3
  • Fix many issues and apply many enhancements
  • Rename package rinvex/laravel-tenants from rinvex/tenantable
v0.0.2
  • Enforce consistency
  • Tweak active flag column
  • Add Laravel 5.5 support
  • Replace hardcoded table names
  • Tweak model event registration
  • Drop sorting order support, no need
  • Add owner_id foreign key constraint
  • Fix wrong slug generation method order
  • Fix country_code & language_code validation rules
  • Fix validation rules and check owner id existence
v0.0.1
  • Tag first release
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle