Author Topic: Starting Symfony Development on CWP – Composer Questions  (Read 9 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Starting Symfony Development on CWP – Composer Questions
« on: November 29, 2025, 04:01:24 PM »
Hello,

I wanted to share a bit of my experience and get some advice from anyone here who has worked with Symfony or Composer inside a CWP hosting environment.

Over the past few months, I’ve successfully installed several open-source PHP projects on a CWP hosting account without using Composer — even projects that normally rely heavily on Symfony components. While it worked, it obviously isn’t the ideal way to manage Symfony-based applications, so I’m now looking to begin proper Symfony development directly inside a CWP user account.

That brings me to a few questions I’m hoping someone with more CWP + Symfony experience might be able to clarify:

1. Is Composer fully compatible with CWP?

Symfony depends heavily on Composer, so before I jump in, I want to confirm whether Composer runs smoothly within a CWP-managed hosting setup.

2. What’s the correct way to install Composer on CWP?

Should Composer be installed from root SSH for system-wide access, or is it better (or safer) to install it under an individual CWP user account via user-level SSH? I’m not sure what the recommended or most stable approach is.

3. Once installed, can Composer be used to deploy open-source applications into a CWP account?

For example, if I want to install a Symfony skeleton or another Composer-based project directly into a user’s `/home/ACCOUNT/` directory, is this supported without breaking anything inside the panel or causing permission issues?

I’d really appreciate any guidance from users who have already gone down this road. Symfony development is much easier when everything is done the right way from the start, so any tips from the community would be extremely valuable.

Thanks

Offline
*****
Re: Starting Symfony Development on CWP – Composer Questions
« Reply #1 on: Today at 02:39:32 AM »
I am running Composer under CWP, no issues (one project with some Symphony components) -- this is to manage Drupal installations. I installed Composer as root, but it is not recommended to run it as root, so each user runs it under their account to manage their project (which lives under /home/username/public_html -- or in the case of Drupal: /home/username/public_html/web).