php - Autoloading a separate, Laravel application into Lumen -


i'm writing api existing laravel application using lumen. allow api's controllers access laravel app's models, i've added laravel app git submodule, , set autoload "main" namespace via composer.json file:

"psr-4": {         "app\\": "app/",         "main\\": "main/app/"     } 

this works fine, wanted ask impact have on memory usage. entire laravel app being loaded memory (thus causing performance drop), or lumen app being told "where look" when main\model class referenced?

thanks

as process uses standard php autoloading functionality under hood, classes loaded ad-hoc if not defined, rather them each being loaded initially.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -