javadfk_php_composer

چطور از پکیج های پی اچ پی بدون کامپوزر استفاده کنم؟

How do I install Composer PHP packages without Composer?

  1. Download and install XAMPP locally: https://www.apachefriends.org/index.html
  2. Download and install composer locally: https://getcomposer.org/download/
  3. 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
  4. Copy the files from your c:\temp folder to your web host using an FTP program
  5. Add this to the top of your php: require("vendor/autoload.php");

نظر شما چیست

نشانی ایمیل شما منتشر نخواهد شد.