InfyOmLabs/generator-builder

×Fail! Use of undefined constant STDIN

egyleader opened this issue · 3 comments

I had this error when I tried to use the generator builder on Laravel Framework 7.6.2

×Fail! Use of undefined constant STDIN - assumed 'STDIN' (this will throw an Error in a future version of PHP)
and this was my input :
ScreenShot_20200418010424

tovaz commented

I have same issue too
Captura de pantalla de 2020-08-03 09-51-01

tovaz commented

I fixed unchecking Save Schema , it works for me

Maybe because you have not defined your PHP CLI or your CLI and web PHP versions are different.

Maybe define('STDIN',fopen("php://stdin","r")); can help.