Re: [PHP-DEV] include vendor/autoload.php automatically

2021-03-27 Thread Ayesh Karunaratne
Larry already mentioned `auto_append_file` that I also think is the way to go, if it fits. The example directory structure from your email is also considered insecure, because without proper web-server protection, you are essentially exposing _all_ `vendor` files, including the ones that potential

Re: [PHP-DEV] include vendor/autoload.php automatically

2021-03-27 Thread Larry Garfield
On Sat, Mar 27, 2021, at 11:52 AM, Abdul Haq Sheikh wrote: > If we want to use composer packages, we have to include > 'vendor/autoload.php', and if we don't have a front controller design > pattern, we must include 'vendor/autoload.php' on every/most files. Why not > to auto include 'vendor/autolo