Download the PHP package omcrn/yii2-i18ncontent without Composer

On this page you can find all versions of the php package omcrn/yii2-i18ncontent. 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-i18ncontent

i18n content module for Yii2 framework

yii2-i18ncontent is yii2 module for creating several types of contents in different languages. It support creating the following contents:

Installation

  1. Run composer require omcrn/yii2-i18ncontent or add "omcrn/yii2-i18ncontent": "~2.0.0" in your projects composer.json.
  2. Make sure you have user table in your database with primary key id.
  3. Run migrations to create tables by php console/yii migrate --migrationPath=@yii/i18n/migrations from projects root directory
  4. Run migrations to create tables by php console/yii migrate --migrationPath=@vendor/omcrn/yii2-i18ncontent/migrations from projects root directory

Configuration

Add the following code in projects configuration file under modules section

Add the following code in project's configuration file under components section

Add availableLocales array to application configuration params array.

For each language listed here tab will be displayed to provide content.

Urls for administration

Append the following urls to the domain to see administration pages

Content Url
Article categories i18ncontent/article-category/index
Articles i18ncontent/article/index
Pages i18ncontent/page/index
Text widgets i18ncontent/widget-text/index
Carousels i18ncontent/widget-carousel/index
Menus i18ncontent/widget-menu/index

All versions of yii2-i18ncontent with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
yiisoft/yii2 Version ~2.0.0
omcrn/yii2-imperavi-redactor Version ^0.0.4
trntv/yii2-datetime-widget Version ^1.0.0
trntv/yii2-file-kit Version ^1.0.0
trntv/yii2-aceeditor Version ^2.0
omcrn/yii2-base Version ~0.2
wbraganca/yii2-tagsinput Version ^1.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 omcrn/yii2-i18ncontent contains the following files

Loading the files please wait ....