Skip to content

Contao-DD/NoConsoleComposer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

NoConsoleComposer

PHP script that can help you run composer even if you don't have SSH access to your server.

There are times when we want to run composer on a hosting box or somewhere we are not allowed shell access through SSH or other methods. NoConsoleComposer will help you do some of the basic work using composer even when you have no SSH access. A web server with FTP access can easily run NoConsoleComposer. Follow the guide given below for installation and usage. Installation

Steps to use NoConsoleComposer :

  1. Download the source from above and put the composer folder where you can access it from web. For shared hosting, it would be under the public_html folder most probably. I'll assume that you put the composer folder directly under public_html. i.e, public_html/composer.
  2. Edit the composer/password.php file and set your own password. Let's take an example, you want to set your password to 99_66_88, then you would see something like this in your composer/password.php file : $password = "99_66_88".
  3. Access NoConsoleComposer from http://yourhost.com/composer/index.php. It will ask for your username and password. You can put any username, but be sure to put the password in the composer/password.php file, otherwise it will never stop asking you the password. You'll see a prompt like this :
  4. After authentication, you'll see a screen like this :The screen is doing what it is saying, i.e, downloading composer from web. It will show updates and then the page will refresh. And the buttons will show up :

Usage

  1. You will have to input the relative path(with respect to composer/main.php) or absolute path to the folder in which you want to run the command.
  2. Click the appropriate button and keep an eye on the log.

About

PHP script that can help you run composer even if you don't have SSH access to your server.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%