laravel error : Namespace declaration statement has to be the very first statement or after any declare call in the script
laravel error : Namespace declaration statement has to be the very first statement or after any declare call in the script laravel
laravel
Also check that your IDE create UTF-8 files (with NO BOM) UTF-8 BOM.For example, in phpStorm Settings / Editor / File Encodings -> Create UTF-8 files: with NO BOM