Skip to content
#

Yii Framework

yii logo

Yii is a popular PHP framework, for efficiently developing

fast and secure web applications and APIs.

It comes with comprehensive documentation

and a large amount of extensions

that provide useful functionality.

Here are 479 public repositories matching this topic...

WeeSee
WeeSee commented Feb 9, 2020

In console/Controller.php we can read:

/**
     * Prints a string to STDOUT.
     *
     * You may optionally format the string with ANSI codes by
     * passing additional parameters using the constants defined in [[\yii\helpers\Console]].
     *
     * Example:
     *
     * ```
     * $this->stdout('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE);
  
cebe
cebe commented Nov 15, 2019

What steps will reproduce the problem?

For example:

Trying to autocomplete Yii::$app->user->identity-> in an IDE (PHPStorm/Netbeans/etc...) does not show methods and properties of the configured identityClass. This is because the IDE has no knowledge about the Yii specific configuration.

We can add hints for these in a file e.g. config/__autocomplete.php:

<?php

/**
medeyacom
medeyacom commented Jan 27, 2018

yiisoft / yii2-codeception - is no longer relevant. It is registered in the dependencies samdark / yii2-shop

  I decided to try installing $ composer require dmstr / yii2-adminlte-asset "^ 2.1" in yi2-shop (samdark) and connect nested-sets and now the composer got out: 'Package yiisoft / yii2-codeception is abandoned, you should avoid using it. Use codeception / codeception instead '. in comp

needrunning
needrunning commented Jun 14, 2019

yii2-mongodb扩展建议增加在复制集环境下的配置引导和说明

以下配置是经过验证的复制集配置,但是连接超时没有设置。

以下是一个复制集例子

return [
'class' => '\yii\mongodb\Connection',
'dsn' => 'mongodb://user:pqssword@s1._test.mongodb.domain.cn:30000,s2.mongodb.domain.cn:30000,s3._test.mongodb.domain.cn:30000/databasename',
];

希望增加关于 connectTimeout 和socketTimeout 的config case

Additional info

| Q | A
|

ricpelo
ricpelo commented Mar 26, 2019

I have a monitor with a resolution of 1366px wide. When I open a documentation article, the table of contents doesn't show in the right sidebar nor at the top of the article.

For example, this is what I see when I open https://www.yiiframework.com/doc/guide/2.0/en/tutorial-yii-integration in my 1366px wide monitor:

![2019-03-26-103456_1366x731_scrot](https://user-images.githubusercontent.com

ohDaddyPlease
ohDaddyPlease commented Apr 17, 2020

Объединить распространенные и часто используемые переводы в один файл (например, common.php), так как в app.php и bot.php есть повторяющиеся записи (sexuality, birthday, ...)

machour
machour commented Dec 30, 2018

https://github.com/yiisoft/yii2-bootstrap4/blob/master/docs/guide/assets-setup.md#compiling-from-the-sass-files

Here we're implying that in order to be able to modify bootstrap CSS, we should not install bootstrap from npm, and that we should maintain it manually instead.

The statement is obviously wrong, and I think that we might want to recommend a more modern approach, like using bo

Released December 2008

Organization
yiisoft
Website
www.yiiframework.com
Wikipedia
Wikipedia

Related Topics

framework php php-framework
You can’t perform that action at this time.