Active Record database abstraction layer
First project
Yii 3 application template
A curated list of amazingly awesome PHP libraries, resources and shiny things.
rustamwin/bigbluebutton-api-php 0
BigBlueButton PHP API
json-rpc project template
Broadcast messages over web-sockets: in-memory, redis.
push eventyiisoft/yii-web
commit sha aafaf8a0e462c11e4eebbfa7ea010558f82dcda9
Adjust readme
push time in 8 hours
Pull request review commentyiisoft/event-dispatcher
Replace phan to psalm. Update dev dependencies. Minor fix phpdoc.
jobs: env: extensions: ast
comment created time in 8 hours
push eventyiisoft/template
commit sha 7d77f1512415e96e008af36f8cf8352a1c039cfd
Remove ast extension, since not required for psalm
push time in 8 hours
Pull request review commentyiisoft/event-dispatcher
Replace phan to psalm. Update dev dependencies. Minor fix phpdoc.
jobs: env: extensions: ast
Not required for psalm
comment created time in 9 hours
Pull request review commentyiisoft/event-dispatcher
The package tests are checked with [Infection](https://infection.github.io/) mut ### Static analysis -The code is statically analyzed with [Phan](https://github.com/phan/phan/wiki). To run static analysis:+The code is statically analyzed with [Psalm](https://psalm.dev/). To run static analysis:
This package still uses phan static analysis.
comment created time in 9 hours
pull request commentyiisoft/yii-debug
I like the idea, but need to check that gc is working properly.
I checked, it works.
comment created time in 11 hours
pull request commentyiisoft/cache-memcached
Seems to need to fix php version of scrutinizer
comment created time in a day
PR opened yiisoft/yii-gii
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | - |
pr created time in a day
push eventyiisoft/auth-jwt
commit sha 8765f42728ae9f861d37154e2495b6a4d71c7166
Remove ast extension (#9)
push time in 2 days
PR merged yiisoft/auth-jwt
| Q | A |
|---|---|
| Is bugfix? | ✔️/❌ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues |
pr closed time in 2 days
push eventyiisoft/cache-wincache
commit sha f28df65aceea504a09e8ce99d931891c2fc01f49
Delete .gitkeep (#10)
push time in 2 days
PR merged yiisoft/cache-wincache
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues |
pr closed time in 2 days
Pull request review commentyiisoft/yii-debug
public function getData(): array public function flush(): void {+ $basePath = $this->path . '/' . date('Y-m-d H:i:s') . '/' . $this->idGenerator->getId() . '/';
I think, time format is not needed here
$basePath = $this->path . '/' . date('Y-m-d') . '/' . $this->idGenerator->getId() . '/';
comment created time in 2 days
push eventrustamwin/yii-web
commit sha 97fec5973353623b09ba73cdc5021aa49dedd200
Suppress psalm errors
push time in 3 days
push eventrustamwin/yii-web
commit sha 917d17e79900f1f9f58e16d58c4cfc9455d5c184
Fix psalm issues
push time in 4 days
Pull request review commentyiisoft/yii-web
+<?xml version="1.0"?>+<psalm+ errorLevel="6"
Documentation says: Level 1 is the most strict, level 8 is the most lenient.
comment created time in 4 days
PR opened yiisoft/yii-web
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | - |
pr created time in 5 days
Pull request review commentyiisoft/arrays
Improve work with float keys + more tests
public function testRemoveByFloatKey(): void $this->assertSame([1 => 'a', 3 => 'c'], $array); } + public function testRemoveByFloatKey2(): void
It's better to add tests to the method above than add a new method.
comment created time in 6 days
PR opened yiisoft/yii-web
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | #274 |
pr created time in 7 days
pull request commentyiisoft/view
It is better to immediately replace phan with psalm. WDYT?
comment created time in 7 days
issue closedyiisoft/yii-web
@web alias should be renamed to @baseUrl. Needs to be done with search/replace in all other packages i.e. with yii-dev-tool fully deployed.
See https://trello.com/c/YqnPsZ3P/132-rename-web-alias-to-baseurl
closed time in 7 days
samdarkissue commentyiisoft/yii-web
See https://github.com/yiisoft/yii-web/commit/48861ce00acb6d25b3aa1d7173af3098fc549931
comment created time in 7 days
PR opened yiisoft/yii-debug
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | - |
pr created time in 7 days
Pull request review commentyiisoft/view
public function renderFile(string $viewFile, array $parameters = [], ?ViewContex $viewFile = $this->theme->applyTo($viewFile); } - if (is_file($viewFile)) {- $viewFile = $this->localize($viewFile);- } else {+ if (!is_file($viewFile)) { throw new ViewNotFoundException("The view file does not exist: $viewFile"); }+ $viewFile = $this->localize($viewFile, $parameters['translateLanguage'] ?? null, $parameters['sourceLanguage'] ?? null);
$viewFile = $this->localize($viewFile, $parameters['language'] ?? null, $parameters['sourceLanguage'] ?? null);
comment created time in 8 days
Pull request review commentyiisoft/view
public function renderFile(string $viewFile, array $parameters = [], ?ViewContex $this->logger->debug("Rendering view file: $viewFile"); $ext = pathinfo($viewFile, PATHINFO_EXTENSION); $renderer = $this->renderers[$ext] ?? new PhpTemplateRenderer();++ $saveLanguage = $this->language;
$language = $this->language;
comment created time in 8 days
PR opened yiisoft/yii-debug
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | Fix composer deps |
pr created time in 8 days
Pull request review commentyiisoft/yii-demo
Setting Post title/content in constructor - #156
class Post */ private $comments; - public function __construct()+ public function __construct(?string $title = null, ?string $content = null) {+ $this->title = $title ?? '';+ $this->content = $content ?? '';
$this->title = $title;
$this->content = $content;
comment created time in 8 days
Pull request review commentyiisoft/yii-demo
Setting Post title/content in constructor - #156
class Post */ private $comments; - public function __construct()+ public function __construct(?string $title = null, ?string $content = null)
public function __construct(string $title = '', string $content = '')
comment created time in 8 days
push eventyiisoft/cache
commit sha d7adb462496c7b886002325bf3f0b93dbc1ec04c
Remove cache key normalization and non-string keys support (#54)
commit sha e55beb99b17e65c1dff85d519a911b51266b1bc3
Merge branch 'master' of github.com:yiisoft/cache into switch-to-gha
commit sha 83dac7a9ea8aeb8f3952e746425f3e7b32f6c2b6
Fix tests
push time in 9 days
push eventyiisoft/cache
commit sha 867ea3d4f3ef824768663c7d0d0c5c14d62df39d
Fix psalm issues
push time in 9 days
pull request commentyiisoft/cache
Have you forgot composer.json?
Yes. Fixed.
comment created time in 9 days
push eventyiisoft/cache
commit sha 0bf958cf9c54e9a754beb4675bc464f7b2070d20
Fix composer.json
push time in 9 days
Pull request review commentyiisoft/app
public function register(Container $container): void return $fileTarget; }); + /**+ * @psalm-suppress InaccessibleMethod+ */
Let's move it to the method level.
comment created time in 9 days
Pull request review commentyiisoft/app
final class MiddlewareProvider extends ServiceProvider {- /**- * @suppress PhanAccessMethodProtected- */ public function register(Container $container): void {+ /**+ * @psalm-suppress InaccessibleMethod+ */
Let's move it to the method level.
comment created time in 9 days
Pull request review commentyiisoft/app
public function __construct( $this->writeToFilesPath = $writeToFilesPath; } - /**- * @suppress PhanAccessMethodProtected- */+ public function register(Container $container): void {+ /**+ * @psalm-suppress InaccessibleMethod+ */
Let's move it to the method level.
comment created time in 9 days
Pull request review commentyiisoft/app
final class LoggerProvider extends ServiceProvider { public function register(Container $container): void {+ /**+ * @psalm-suppress InaccessibleMethod+ */
Let's move it to the method level.
comment created time in 9 days
Pull request review commentyiisoft/app
public function __construct(array $fieldConfig = []) $this->fieldConfig = $fieldConfig; } - /**- * @suppress PhanAccessMethodProtected- */+ public function register(Container $container): void {+ /**+ * @psalm-suppress InaccessibleMethod+ */
Let's move it to the method level.
comment created time in 9 days
Pull request review commentyiisoft/app
final class LoggerProvider extends ServiceProvider { public function register(Container $container): void {+ /**+ * @psalm-suppress InaccessibleMethod+ */ $container->set(FileRotatorInterface::class, static function () { return new FileRotator(10); }); + /**+ * @psalm-suppress InaccessibleMethod+ */
Let's move it to the method level.
comment created time in 9 days
Pull request review commentyiisoft/app
final class FlashProvider extends ServiceProvider {- /**- * @suppress PhanAccessMethodProtected- */ public function register(Container $container): void {+ /**+ * @psalm-suppress InaccessibleMethod+ */
Let's move it to the method level.
comment created time in 9 days
Pull request review commentyiisoft/app
public function __construct(string $locale, string $translatePath) $this->translatePath = $translatePath; } - /**- * @suppress PhanAccessMethodProtected- */ public function register(Container $container): void {+ /**+ * @psalm-suppress InaccessibleMethod+ */
Let's move it to the method level.
comment created time in 9 days
startedcebe/yii2-psr7-messages
started time in 9 days
PR opened yiisoft/cache
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | #46 |
pr created time in 9 days
Pull request review commentyiisoft/strings
Fix: in PHP 8.0 method NumericHelper::normalize throws error for floa…
## 1.1.1 under development - Enh #40: Use `str_starts_with()` and `str_ends_with()` if available (viktorprogger)+- Fix: in PHP 8.0 method `NumericHelper::normalize` throws error for `float` or `int` values (vjik)
- Bug #43: `NumericHelper::normalize` throws an error for `float` or `int` values in PHP 8 (vjik)
comment created time in 10 days
Pull request review commentyiisoft/strings
Fix: in PHP 8.0 method NumericHelper::normalize throws error for floa…
public function testToOrdinalWithIncorrectType(): void public function normalizeNumberDataProvider(): array { return [- 'French' => ['4 294 967 295,000', '4294967295.000'], 'German' => ['4 294 967.295,000', '4294967295.000'], 'Spanish' => ['4.294.967.295,000', '4294967295.000'], 'English' => ['4,294,967,295.000', '4294967295.000'], 'Smaller' => ['10,111', '10.111'],+ [10.0, '10'],
'Float' => [10.0, '10'],
or something like this
comment created time in 10 days
push eventyiisoft/yii-swagger
commit sha 88acab8575cb515199986bfd8990be58ec0684ee
Fix GHA workflow (#5)
push time in 10 days
PR merged yiisoft/yii-swagger
| Q | A |
|---|---|
| Is bugfix? | ✔️/❌ |
| New feature? | ✔️/❌ |
| Breaks BC? | ✔️/❌ |
| Fixed issues | comma-separated list of tickets # fixed by the PR, if any |
pr closed time in 10 days
PR opened yiisoft/yii-swagger
| Q | A |
|---|---|
| Is bugfix? | ✔️/❌ |
| New feature? | ✔️/❌ |
| Breaks BC? | ✔️/❌ |
| Fixed issues | comma-separated list of tickets # fixed by the PR, if any |
pr created time in 10 days
startedyiisoft/yii-swagger
started time in 10 days
push eventyiisoft/yii-swagger
commit sha af0888ccb33f564194de19e93d16c89ae5429728
Fix asset source path (#3)
push time in 10 days
PR merged yiisoft/yii-swagger
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | fix SwaggerUiAsset |
pr closed time in 10 days
push eventyiisoft/yii-swagger
commit sha 4e4553337beab56991d8d85a0cb3f706aa0a931f
Fix tests (#4)
push time in 10 days
PR merged yiisoft/yii-swagger
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues |
pr closed time in 10 days
Pull request review commentyiisoft/yii-swagger
private function createContainer(): ContainerInterface CacheInterface::class => new ArrayCache(), DataResponseFactoryInterface::class => DataResponseFactory::class, ResponseFactoryInterface::class => Psr17Factory::class,- ViewRenderer::class => function (Container $container) {+ ViewRenderer::class => function (
ViewRenderer::class => static function (
comment created time in 10 days
PR opened yiisoft/yii-swagger
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | fix SwaggerUiAsset |
pr created time in 11 days
PR opened yiisoft/yii-view
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | - |
pr created time in 11 days
Pull request review commentyiisoft/event-dispatcher
Fix #7: Implement DeferredDispatcher
+<?php+
declare(strict_types=1);
comment created time in 12 days
PR opened yiisoft/app
| Q | A |
|---|---|
| Is bugfix? | ✔️/❌ |
| New feature? | ✔️/❌ |
| Breaks BC? | ✔️/❌ |
| Fixed issues | comma-separated list of tickets # fixed by the PR, if any |
pr created time in 12 days
Pull request review commentyiisoft/yii-bootstrap5
"yiisoft/widget": "^3.0@dev" }, "require-dev": {- "yiisoft/composer-config-plugin": "^1.0@dev",+ "infection/infection": "^0.16.3", "phpunit/phpunit": "^9.3",+ "vimeo/psalm": "^3.15", "yiisoft/aliases": "^1.0", "yiisoft/di": "^3.0@dev", "phan/phan": "^3.0"
Let's remove it since we use psalm
comment created time in 15 days