Download the PHP package infoweb-internet-solutions/yii2-cms without Composer

On this page you can find all versions of the php package infoweb-internet-solutions/yii2-cms. 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 yii2-cms

CMS module for Yii 2

Installation

The preferred way to install this extension is through composer.

You can then install the application using the following command:

Configure environments

Create a new dev and production database and adjust the components['db'] configuration in environments/dev/common/config/main-local.php and environments/prod/common/config/main-local.php accordingly.

Remove the components['mailer'] configuration from both files because it will be added to common/config/main.php

Add to environments/prod/common/config/main-local.php

Update composer.json file

Update the config section of composer.json if you want composer to download git folders for the packages

Add the infoweb-internet-solutions/yii2-cms and fishvision/yii2-migrate packages

Add references to the custom repositories that are needed to override certain vendor packages

Add following rule to filter bower/npm packages that can be skipped (it will make sure you won't get a out of memory and it will decrease the needed time to update your project).

Check if "minimum-stability": "dev" is set

After this run composer update to install the package

Init environment

Create folders in frontend/web/

and add .gitignore file in uploads/

Remove adminEmail and supportEmail in backend/config/params.php, common/config/params.php, frontend/config/params.php and console/config/params.php and at them to environments/dev/common/config/params-local.php and environments/prod/common/config/params-local.php

Run command init to initialize the application with a specific environment.

Usage

Once the extension is installed, simply modify common/config/main.php as follows:

(dont forget to update the settings of the mailer, log and i18n components!)

backend/config/main.php as follows:

backend/config/params.php as follows:

and common/config/params.php as follows:

and frontend/config/main.php as follows:

Docs

Follow all usage instructions
Do not run composer, all modules are included in the infoweb-cms composer file and should be already installed
Do not run any migrations and don't import messages, we'll do this later

Add a couple of system aliases to common/config/bootstrap.php

Apply migrations with console commands. This will create tables needed for the application to work. Add to commonfig/config/main.php to run all migrations and remove this afterwards.

Import the translations

Yii messages import fails sometimes, try importing without --interactive=0 and keep hitting return until it's done

Add htaccess files

Root

backend/web/

frontend/web/

Add new filefrontend/web/css/editor.css

Add new class in common/components/Request.php

Add to gitignore

Add the following to console/config/main.php to enable creation of users via the cli:

You can then create the superadmin user with the following command:

Login @ /admin and enjoy!


All versions of yii2-cms with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version @stable
infoweb-internet-solutions/yii2-cms-settings Version *
infoweb-internet-solutions/yii2-cms-user Version *
infoweb-internet-solutions/yii2-cms-pages Version *
infoweb-internet-solutions/yii2-cms-partials Version *
infoweb-internet-solutions/yii2-cms-seo Version *
infoweb-internet-solutions/yii2-cms-menu Version *
infoweb-internet-solutions/yii2-cms-alias Version *
infoweb-internet-solutions/yii2-cms-analytics Version *
infoweb-internet-solutions/yii2-cms-email Version *
infoweb-internet-solutions/yii2-sortable-behavior Version *
mdmsoft/yii2-admin Version @stable
kartik-v/yii2-helpers Version @stable
kartik-v/yii2-widgets Version @stable
kartik-v/yii2-grid Version @stable
kartik-v/bootstrap-fileinput Version @stable
kartik-v/yii2-icons Version @stable
kartik-v/yii2-datecontrol Version @stable
2amigos/yii2-translateable-behavior Version @stable
costa-rico/yii2-images Version @stable
mihaildev/yii2-ckeditor Version dev-infoweb as @stable
zelenin/yii2-i18n-module Version dev-infoweb as @stable
bower-asset/bootbox Version @stable
bower-asset/fastclick Version @stable
bower-asset/js-cookie Version @stable
bower-asset/perfect-scrollbar Version @stable
bower-asset/underscore Version @stable
bower-asset/fancybox Version @stable
bower-asset/bootstrap-hover-dropdown Version @stable
bower-asset/x-editable Version @stable
jlorente/yii2-widget-remainingcharacters Version *
codemix/yii2-localeurls Version *
fishvision/yii2-migrate Version *
creocoder/yii2-translateable Version ~1.0
bower-asset/bootstrap Version v3.3.*
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 infoweb-internet-solutions/yii2-cms contains the following files

Loading the files please wait ....