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.
Download infoweb-internet-solutions/yii2-cms
More information about infoweb-internet-solutions/yii2-cms
Files in infoweb-internet-solutions/yii2-cms
Package yii2-cms
Short Description CMS module for Yii2
License MIT
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
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.*