PHPackages                             janisto/yii-ycm - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. janisto/yii-ycm

ArchivedLibrary[Admin Panels](/categories/admin)

janisto/yii-ycm
===============

YCM - Yii Content Management module

1.1.4(11y ago)3862911[2 issues](https://github.com/janisto/yii-ycm/issues)public domainJavaScriptPHP &gt;=5.1.0

Since Apr 30Pushed 11y ago1 watchersCompare

[ Source](https://github.com/janisto/yii-ycm)[ Packagist](https://packagist.org/packages/janisto/yii-ycm)[ Docs](http://www.yiiframework.com/extension/ycm/)[ RSS](/packages/janisto-yii-ycm/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (8)Used By (0)

yii-ycm
=======

[](#yii-ycm)

YCM - Yii Content Management module

- [Documentation](http://janisto.github.com/yii-ycm/)
- [Examples](http://janisto.github.com/yii-ycm/)
- [Github Project Page](https://github.com/janisto/yii-ycm/)
- [Forum topic](http://www.yiiframework.com/forum/index.php/topic/37136-module-ycm-yii-content-management-module/)

See examples for all the options.

Requirements
------------

[](#requirements)

- Yii 1.1.10 or above (Requires jQuery 1.7.1)

Installation
------------

[](#installation)

- Download yii-ycm or clone the files to `protected/modules/ycm`
- Edit Yii main configuration file `protected/config/main.php`. Enable module, set username, password and models you want to manage.

```
	'modules'=>array(
		...
		'ycm'=>array(
			'username'=>'YOUR USERNAME',
			'password'=>'YOUR PASSWORD',
			'registerModels'=>array(
				//'application.models.Blog', // one model
				'application.models.*', // all models in folder
			),
			'uploadCreate'=>true, // create upload folder automatically
			'redactorUpload'=>true, // enable Redactor image upload
		),
		...
	),

```

You can also use [composer](http://getcomposer.org/doc/).

- Require the package.

```
{
	"name": "app-name",
	"description": "App description",
	"type": "project",
	"prefer-stable": true,
	"require": {
		"php": ">=5.3.0",
		"yiisoft/yii": "1.1.14",
		"janisto/yii-ycm": "1.1.0",
	}
}

```

- Add vendor path to your configuration file, enable module, set username, password and models you want to manage.

```
	'aliases'=>array(
		'vendor'=>realpath(__DIR__ . '/../../vendor'),
	),
	'modules'=>array(
		...
		'ycm'=>array(
			'class' =>'vendor.janisto.yii-ycm.YcmModule',
			'username'=>'YOUR USERNAME',
			'password'=>'YOUR PASSWORD',
			'registerModels'=>array(
				//'application.models.Blog', // one model
				'application.models.*', // all models in folder
			),
			'uploadCreate'=>true, // create upload folder automatically
			'redactorUpload'=>true, // enable Redactor image upload
		),
		...
	),

```

- Add FileBehavior to your models if you are using file or image features. Add uploadPath and uploadUrl if you are not using the default uploads folder.

```
	...
	function behaviors() {
	    return array(
			'file' => array(
				'class'=>'application.modules.ycm.behaviors.FileBehavior',
				//'uploadPath'=>'/optional/path/to/uploads',
				//'uploadUrl'=>'http://optional.cdn.domain.com/uploads/path',
			),
	    );
	}
	...

```

- FileBehavior methods:

```
$model = new Model;
echo $model->getFilePath('attribute');
echo $model->getFileUrl('attribute');
echo $model->getAbsoluteFileUrl('attribute');

```

Update
------

[](#update)

- Clear assets folder.

Changelog
---------

[](#changelog)

### v1.1.4

[](#v114)

- Add Russian translation.

### v1.1.3

[](#v113)

- Options to disable create, update and/or delete actions for a model.
- Update libraries.
- Fix: analytics setup forms with csrf validation.

### v1.1.2

[](#v112)

- Improve FileBehavior
- Update libraries.

### v1.1.1

[](#v111)

- Fix time format.

### v1.1.0

[](#v110)

- Add German translation.
- Fix: behaviour class path.

### v1.0.0

[](#v100)

- Fix: override options in all form widgets.
- Add support for taggable behavior.
- Add Chinese translation.
- Update Finnish translation.
- Improve Google Analytics statistics page.
- Update libraries.
- Update Composer support.

### v0.5.0

[](#v050)

- Google Analytics statistics page.
- Update yii-chosen to version v1.4.0
- Update Redactor to 8.2.6
- Composer support.
- Fix: Better url &amp; path handling.
- Code cleanup.
- Update Finnish translation.

### v0.4.0

[](#v040)

- Update yii-chosen to version v1.1.0
- Add first and last to pager.
- Fix: allow auto login.

### v0.3.0

[](#v030)

- Bootstrap typehead support.
- Localization support and Finnish translation.
- Fix: loadModel doesn't require PHP 5.3+ anymore.

### v0.2.0

[](#v020)

- Initial version.

License
-------

[](#license)

yii-ycm is free and unencumbered [public domain](http://unlicense.org/) software.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 94.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~97 days

Total

7

Last Release

4222d ago

Major Versions

0.5.0 → 1.0.02013-10-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/387868?v=4)[Jani Mikkonen](/maintainers/janisto)[@janisto](https://github.com/janisto)

---

Top Contributors

[![janisto](https://avatars.githubusercontent.com/u/387868?v=4)](https://github.com/janisto "janisto (107 commits)")[![wxs77577](https://avatars.githubusercontent.com/u/1990059?v=4)](https://github.com/wxs77577 "wxs77577 (4 commits)")[![ikenfin](https://avatars.githubusercontent.com/u/1705564?v=4)](https://github.com/ikenfin "ikenfin (1 commits)")[![PaulNokel](https://avatars.githubusercontent.com/u/1004341?v=4)](https://github.com/PaulNokel "PaulNokel (1 commits)")

---

Tags

moduleyiianalyticsadminadministration

### Embed Badge

![Health badge](/badges/janisto-yii-ycm/health.svg)

```
[![Health](https://phpackages.com/badges/janisto-yii-ycm/health.svg)](https://phpackages.com/packages/janisto-yii-ycm)
```

###  Alternatives

[luyadev/luya-module-admin

Administration core module for all LUYA admin modules

48181.2k24](/packages/luyadev-luya-module-admin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
