How to use laravel package in lumen? -
i want use laravel package named thinksaydo/envtenant
from githup link
this package creating multitenancy software in laravel , can't install package in lumen
how can install package , use in lumen?
there many things you'll need tenancy lumen doesn't provide out of box. you'll need enable facades, setup providers, , lumen doesn't provide session support out of box
.
the purpose of lumen
provide simple, fluid, stateless api returns data interchange language
. you're doing here attempting run fully-functional saas service on micro-api framework; that's not going work.
you need using laravel
accomplish saas
model, can know tenancy.
in lumen, thing should looking @ api
key in request.
Comments
Post a Comment