InfyOmLabs / generator-builder

InfyOm Laravel Generator GUI Builder
http://labs.infyom.com/laravelgenerator/
MIT License
133 stars 71 forks source link

Use of undefined constant STDIN - assumed 'STDIN #56

Open thewebartisan7 opened 4 years ago

thewebartisan7 commented 4 years ago

I see there is already an issue about this here https://github.com/InfyOmLabs/generator-builder/issues/54

And seem already an old issue, see https://github.com/laravel/framework/issues/4721

When running artisan via console, STDIN is already defined, but not when running via controller like generator-builder.

Defining STDIN fix issue, example:

if(! defined('STDIN')) define('STDIN', fopen("php://stdin","r"));
rabol commented 3 years ago

Will there be a fix for this ?

thewebartisan7 commented 3 years ago

Hi rabol, it's fixed in Laraloop custom fork. Do you experience this with Laraloop?