• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question How to install / use a composer.json file

Mann87

New Pleskian
Hi, I want to use different plugins for examplte this PayPal SDK there is an composer.json file in the directory. I have downloaded the full project and put it on my hosting directory in myplugins/paypal/. So I have now also the composer.json file in it.

Next step the API says I should include "require __DIR__ . '/vendor/autoload.php';" per PHP. But I think I only get the vendor folder if I install the composer.json or not?

But how I can do that in Plesk Obsidian?

In the past with Plesk Onyx it was very simple...

There it was this way: Link
Using the UI for Managing PHP Project Dependencies with Composer
To find all applications that have composer.json, so that you can manage dependencies, click Scan in Websites & Domains > Applications. The applications will appear in the list in the Applications section. The commands described below are available only for applications with the composer.json file.

Installing Dependencies
To install all modules necessary for your project, in Websites & Domains > Applications > Manage My Applications > click the application name in the list > Install Dependencies.

But in Plesk Obsidian this doesn't work anymore.
 
Back
Top