local na rede Internet:Tendência para Laravelcontente
window.dataLayer=window.dataLayer||[];functiongt(){dataLayer.push(arguments);}gt('js',newDate());gt('config','UA-4-1');TenancyforLarel[x-cloak]{display:none!important;}DocumentationTenantsEverythingabouttheTenantmodel.Creatingtenants,customizingbehiorandmore.ComparedtootherpackesThispackecomparedtootherLarelmulti-tenancypackes.EventsystemThegluethatholdstogetherthepiecesthatmakeupthispacke.IntegrationsAlistofverifiedintegrationswithotherLarelpackes.ConfigurationConfigurethispacketobeheexactlythewaythatfitsyourneeds.TenantidentificationEverythingaboutidentifyingtenants.Middlewares,resolvers,ormanualidentification.OpendocumentationViewthefulldocumentation.ExclusivecontentSponsor-onlyAcollectionofactionablesolutionsforcommoncomplexproblems.BusinessSaaSboilerplateAfullyfeaturedLarelapplicationskeletonwithmulti-tenancy,tenantsignupflow,CashierbillingandaNovaadminpanel.ConsultingWeofferconsultingservicesforbusinesseswhoneedhelpwithimplementingourpackeorrelatedfeatures.AuditsHethepackeauthortoreviewyourtenancyimplementationbeforeyoulaunch.LearnVideocourseAvideocourseexplaininghowtocreatemulti-database,subdomainseparatedtenantsusingthispacke.BookAbookgoingthroughthepracticalaspectsofdevelopingandrunningamulti-tenantapplicationusingthispacke.GitHubDiscordDonateTutorialDocumentationTenantsComparedtootherpackesEventsystemIntegrationsConfigurationTenantidentificationSaaSboilerplateConsultingAuditsGitHubDiscordDonateDocumentationTutorialNewversion3TenancyforLarelAflexiblemulti-tenancypackeforLarel.Single&multi-databasetenancy,automatic&manualmode,event-basedarchitecture.Integratesperfectlywithotherpackes.DocumentationTutorial//Createatenant$tenant=Tenant::create();$tenant->createDomain(['domain'=>'acme.com',]);//Writeyourapplikeyou'reusedtoOrder::where('status','shipped')->get();Cache::get('order_count');asset('logo.png');dispatch(newSendOrderCreatedMail);Apackethatfitsyourneedsstancl/tenancyisaflexiblemulti-tenancyLarelpackethatcomeswithlotsoffeaturesout-of-the-boxanddoesn'tstandinyourwaywhenyouneedanythingcustom.AutomatictenancyInsteadofforcingyoutochangehowyouwriteyourcode,thepackebydefaultbootstrapstenancyautomatically,inthebackground.Databaseconnectionsareswitched,cachesareseparated,filesystemsareprefixed,etc.AutomaticdataseparationOutofthebox,thepackemakesthefollowingthingstenant-aware:databases,caches,filesystems,queues,redisstores.Thismeansthatifyou'vealreadywrittenyourappandarelookingtomakeitmulti-tenant,youdon'thetochangeanything!IntegrateswithotherpackesSincetheautomaticmodechangesthedefaultdatabaseconnection,mostotherpackeswillusethisconnectiontoo.ThismeansthatyoucandoawesomethingssuchasusingLarelNovainsidethetenantapplicationtomanethetenant'sresources.FullytestableManyothertenancypackesheaterribletrackrecordwhenitcomestotestability.Wefindthatunacceptable.Withthispacke,youcantesteverything.Thecentralapplication,thetenantapplication,andeverythinginbetween—includingthetenantregistrationflow.ExtremeflexibilityVersion3isheilyfocusedonflexibility,butwithoutsacrificingfeatures.Eventhougheverythingiscustomizable,thedefaultswilllikelysuityouforthelargepart.Event-basedarchitectureAllofthetenancybootstrappinglogic,post-tenant-creationlogic,andmostotherthings,happenasaresultofeventsfiring.Youcancustomizeeverysinglebit.Singleormulti-databasetenancyDon'twanttousethedatabase-per-tenantapproach?Noproblem,weprovideyouwithmodeltraitsforscopingmodeTendência para Laravellstothecurrenttenant,includingmodelsthataren'trelatedtothetenantdirectly.ManuTendência para LaravelaltenancyPreferspecifyingdatabaseconnectionsinsteadofchangingthedefaultconnection?Noproblem,wehemodeltraitsprepared.PackedwithfeaturesThispackehasthemostfeaturesoutofallmulti-tenancypackesforLarel.SharedusersbetweentenantsNeedtousethedatabase-per-tenantapproachbutalsoneedtoheusersthatbelongtomultipletenants?We'vegotyoucovered.OurResourceSyncingfeatureletsyousynchronizeanydatabaseresourcesbetweenspecifictenants'databases.UserimpersonationWanttoimpersonateauserinsideatenant'sdatabasefromthecentralcontext?Orevenfromanothertenant'scontext?Justenabletheuserimpersonationfeatureintheconfig.WorkswithanydatabaseNeedtoseparatetenantdaTendência para LaraveltabasesonMySQL/PostgreSQL/SQLite?Noproblem.OrmaybeyouwanttousePostgreSQLschemasinstead?Wecandothattoo.Readytotryit?Readthedocumentation.DocumentationTutorialAwesomeintegrationwithotherpackesApartfromsingyouahugeamountoftime,theautomaticmodehasanothergreatsideeffect:itletsyouintegratealmostanyotherpackewithnoissues.Nomoremodeltraits!DocumentationTutorialTrustedbydevelopersThispackepowersmanyproductionapplicationsonmanydifferenthostingplatforms.StarsonGitHub2400+Downloads600000+Sponsors<3100+“TenancyforLarelallowedustoeffortlesslyandquicklyintegratetheneededlandlord/tenantfunctionalityforourSaaSplatform.Itfitsourneedsperfectly.”JørgenSolliOwner,Kronos“Thispackeenabledustoabstractallthecontextswitchingtofocusourdevelopmenteffortselsewhere.Thatresultedinsignificantperformanceincrease.Theeventdrivenarchitectureispowerful,flexibleandbendstoallourneeds.”MadsMøllerCTO,NappWantupdatesaboutbigreleasesandproductlaunches?Signupforournewsletter.NotifymeFrequentlyaskedquestionsIsthepackereadyforproduction?Yes!ThepackeisinitsthirdmajorversionandhasbeenstablesinceFebruary2019.Manypeopleareusingitinproduction.Doesthepackeonlysupportmulti8209;databasetenancy?No,thepackesupportsmulti-databasetenancyaswellassingle-databasetenancy.Formulti-databasetenancy,itcomeswithclassesformaningMySQL/SQLite/PostgreSQLdatabasesorschemasandforsingle-databasetenancyitcomeswithmodelscopesandtraits.Isthispackeflexible?Yes!Version3isfocusedheilyonflexibility.Thepackecomeswithgreatdefaultsforbootstrappingtenancyautomaticallybasedondomains,butifyouneedtocustomizeanything,oraddanybehior—youcandothatveryeasily.CanIuseLarelNovawiththispacke?Yes!YoucanuseNovabothtomanetenantsandtomaneresourcesinsidetenantdatabases.Doesthepackeworkwith[packename]?Likelyyes.Theautomaticmodeoftenancyintegratesperfectlywith99%ofpackeswithlittletonocodechangesrequired.CanIuseLarelVaportodeployanapplicationusingthispacke?Yes,manypeopleareusingthepackeonVaporandreportednoissuesatall.IfIneedhelp,isthereanysupport?Yes,youcanaskquestionsonourDiscordcommunity.Wealsoofferpaidconsulting—justshootusanemail.DocumentationTenantsEventsystemConfigurationDocumentationComparedtootherpackesIntegrationsTenantidentificationBusinessSaaSboilerplateConsultingAuditsLinksBrandingGitHubDiscordDonateSubscribetoournewsletterReceivenotificationsaboutimportantreleases,newpackesandotherupdates.SubscribeTwitterGitHubMadebyArchTech.©2024Allrightsreserved.SetimewithourSaaSapplicationtemplate.Wanttosetime?Getourmulti-tenantSaaSapplicationtemplate.SaaSboilerplate