Download the PHP package sparkison/cmsmove without Composer

On this page you can find all versions of the php package sparkison/cmsmove. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cmsmove

cmsmove

Automated deployment for popular content management systems

Currently supported systems:

We've been using extensively for the frameworks mentioned above. If you run into any issues please let us know so that we can get them fixed.

Requirements

Installation instructions

  1. Ensure that the ~/.composer/vendor/bin is available in your terminal PATH.

    1. sudo nano ~/.bash_profile
    2. Make sure you have a line similar to the following: export PATH="~/.composer/vendor/bin:$PATH"
  2. Require cmsmove globally by using this command:

    composer global require sparkison/cmsmove

  3. Change to a project directory, such as ~/Sites/mysite.dev, and run cmsmove config <framework> where <framework> is one of the configured CMS for cmsmove*

*See Usage below for more information

Usage

Getting started

After installing either the phar file or using the global composer install, ensure you can issue the cmsmove from the command line.

To use cmsmove you must first add a config file and an ignore file. To bootstrap these items, cd into your projects root working directory and issue:

This will generate the required moveConfig.json and rsync.ignore files. The moveConfig.json file will contain all the needed variables for pushing and pulling. The rsync.ignore file will contain a list of files/folders to ignore. Add items to this list as needed.

Configure moveConfig.json

This is a JSON file use to get the needed variables for accessing the local installation and database as well the configured remote hosts

Example config file:

Configuration notes:

Required: The following fields are required:

App not above root: If the app and public folder are one in the same simply set mappings.www as an empty string, and set mappings.app as the public folder. Additionally, set the environments.<your_environment>.root to your remote host public folder and leave environments.<your_environment>.public as an empty string.

Adding custom directories for syncing: Within the mappings.custom array of the config file add a key => array mapping for your custom directory. The custom directory must contain two key/value pairs: type and directory.

Issuing cmsmove push staging custom will present you with a prompt of your configured custom directories to choose from E.g.

Using the example above, issuing cmsmove push staging custom will give a prompt similar to the following:

Entering 0 at the prompt would push the "uploads" directory from the local to the remote configured public directory. While entering 1 would push the assets directory. Additionally, you can specify a specific file as apposed to a directory using the following syntax:

Note that the file parameter just needs to be a "truthy" variable. For example "yes", "y" and "true" are all valid.

Updating

Simply issue the following command: composer global update sparkison/cmsmove To view the currently installed version issue: cmsmove --version

Contributing

Pull requests, contributions, issues and feature requests are always welcome... Although I would prefer a pull request for new features... ;)


All versions of cmsmove with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
guzzlehttp/guzzle Version ~4.0|~5.0|~6.0
symfony/console Version ~2.3|~3.0
symfony/process Version ~2.3|~3.0
phpseclib/phpseclib Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sparkison/cmsmove contains the following files

Loading the files please wait ....