Skip to content

Instantly share code, notes, and snippets.

View roxblnfk's full-sized avatar
🤪

Aleksei Gagarin roxblnfk

🤪
View GitHub Profile
@vjik
vjik / yii3-roadmap.md
Created December 24, 2024 06:47
Yii3 Roadmap

Yii3 Roadmap

Last updated: 24.12.2024

The Yii3 release is approaching, and the team is working hard to complete the final steps 💪.

At the heart of Yii3 are its packages, which form the foundation of the framework. So far, 105 packages have been released, and the remaining ones are already 80-90% complete. But Yii3 is more than just its set of packages. It also includes great documentation and ready-to-use application templates. Completing these elements is a key part of preparing for the final release.

You can support the Yii3 team and help accelerate the release by making a donation. Every contribution, no matter the size, helps us move closer to delivering Yii3:

@SerafimArts
SerafimArts / Headers.php
Last active February 24, 2025 20:52
PHP Memory Map Visualization
<?php
declare(strict_types=1);
namespace Serafim\MemProf\Zend;
use FFI\Contracts\Preprocessor\Exception\DirectiveDefinitionExceptionInterface;
use FFI\Contracts\Preprocessor\Exception\PreprocessorExceptionInterface;
use FFI\Contracts\Preprocessor\PreprocessorInterface;
use FFI\Preprocessor\Preprocessor;
@butschster
butschster / 2021-11-19-en.md
Last active December 3, 2021 16:38
CycleORM news digest

Hello everybody!

We know, that you are looking forward to a CycleORM updates and this fact motivates us working faster and more efficiently.

Here they are!

1. Added support for Entity typecast handlers.

CycleORM is used to allow otping a column type among the primitive types such as int, string, float, datetime and callable, but now you can create typecast handler class, that implements Cycle\ORM\Parser\TypecastInterface and define it (or array of handlers) as an Entity columns typecast handler.

@SerafimArts
SerafimArts / example-1.php
Last active April 17, 2022 10:47
phpwtf-1
<?php
$variable = 23;
[$query, $params] = sql(fn() => <<<SQL
SELECT * FROM users WHERE id = ${yield $variable} OR id = ${yield 42}
SQL);
var_dump($query, $params);
//
@roxblnfk
roxblnfk / !index.md
Last active October 21, 2022 23:18
CYCLE ORM v2 SUMMARY [Ru]

Cycle ORM V2 (dev)

Gist посвящён общим изменениям в Cycle ORM 2.0 относительно первой версии.
Разработка ведётся в ветке 2.0.x-dev, по мере поступления обновлений гист будет дополняться.

Установка:

В composer.json установить директиву minimum-stability: "dev",
затем выполнить composer require cycle/orm "2.0.x-dev".
Рекомендуется также установить "prefer-stable": true.