Download the PHP package torfs-ict/cmsms without Composer

On this page you can find all versions of the php package torfs-ict/cmsms. 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 cmsms

CMS Made Simple

This packages enables you to use Composer and Bower packages for the development and deployment of CMS Made Simple websites and modules.

It also provides a Vagrant box for easy setup of a development environment.

Setting up a development environment

Trivia

Developing modules

All modules (in development) should be put in the modules directory of the development environment and have a valid composer.json file as you can see below in the example taken from the Google Maps module.

Composer.json requirements

  1. The version must be set.
  2. At least one author must be set.
  3. The extra/cmsms section must be defined.
    • The module field must be set to TRUE, so our dev environment knows it should treat it as a module when installing.
    • The name field must be set to the actual module name.
    • The bower field contains the Bower package requirements (optional). These will automatically be installed when installing/updating the composer package of your module.

Generating a new module

  1. Create the module directory and change to that directory.
  2. Run php ../../src/Module.php

Install module in the development environment

  1. Make sure your module directory is a Git repository.
  2. Add the VCS to the repositories in the development environment composer.json e.g.

  3. Add the module as a requirement in composer.json e.g.

  4. Run composer update in the root of the development environment.

Note: if you generated the module with our script, you can skip steps 1 & 2.

Deploying a completed project

  1. Use the Composer create-project command as when setting up the development environment.
  2. Make sure the webroot of your virtual host points to the cms directory.
  3. Navigate your browser to the install directory and complete the CMS Made Simple installation.
  4. Include the Composer autoloader in the CMSMS config.php file: require_once(__DIR__ . '/vendor/autoload.php');
  5. Remove the install directory.
  6. Run composer require for each module you need.

All versions of cmsms with dependencies

PHP Build Version
Package Version
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 torfs-ict/cmsms contains the following files

Loading the files please wait ....