How do I install Composer PHP packages without Composer?
- Download and install XAMPP locally: https://www.apachefriends.org/index.html
- Download and install composer locally: https://getcomposer.org/download/
- Open command prompt, navigate to say
c:\temp
and and simply type the composer dependancy, for example:composer require phpoffice/phpspreadsheet:1.22.0 --ignore-platform-reqs
- Copy the files from your
c:\temp
folder to your web host using an FTP program - Add this to the top of your php:
require("vendor/autoload.php");
0 نظر نظر شما چیست