Glad seeing the Good work happening here especially with all the interesting Updates.
My issue is , I downloaded most recent version of Froxlor and can see a lot's changed including the fact You now need Composer to AutoLoad and install Certain Packages.
Anyway I was able to Spin up a new VM where I tried installing Froxlor just so the Packages gets downloaded and I can see them now in Vendor folder.
Anyway I have copied the entire Froxlor directory into my server BUT issue is I still need AutoLoad them BUT I still don't want any Composer so I looked into composer.json and tracked the files till I got to /vendor/composer/autoload_psr4.php and /vendor/composer/autoload_static.php hence I can make out their File Paths.
I equally know the composer file (/vendor/autoload.php) is being included in the init file located in /lib/init.php .
Now rather than blindly testing, I want to know if there are any negative impacts to individually including each files from /vendor/composer/autoload_psr4.php using include() or require() functions .
I believe I found a patern on how those files might have been included e.g 'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'), becomes require($vendorDir . '/phpmailer/phpmailer/src/PHPMailer.php')
but then, I might be wrong. Really would appreciate your kind response and understanding
Question
kingsley ezenwa
Hello
Been quite a while.
Glad seeing the Good work happening here especially with all the interesting Updates.
My issue is , I downloaded most recent version of Froxlor and can see a lot's changed including the fact You now need Composer to AutoLoad and install Certain Packages.
Anyway I was able to Spin up a new VM where I tried installing Froxlor just so the Packages gets downloaded and I can see them now in Vendor folder.
Anyway I have copied the entire Froxlor directory into my server BUT issue is I still need AutoLoad them BUT I still don't want any Composer so I looked into composer.json and tracked the files till I got to /vendor/composer/autoload_psr4.php and /vendor/composer/autoload_static.php hence I can make out their File Paths.
I equally know the composer file (/vendor/autoload.php) is being included in the init file located in /lib/init.php .
Now rather than blindly testing, I want to know if there are any negative impacts to individually including each files from /vendor/composer/autoload_psr4.php using include() or require() functions .
I believe I found a patern on how those files might have been included e.g 'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'), becomes require($vendorDir . '/phpmailer/phpmailer/src/PHPMailer.php')
but then, I might be wrong. Really would appreciate your kind response and understanding
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now