There are 2 repositories under soft-references topic.
php-ref - PHP 7 extension that adds Soft and Weak references support to PHP
CUBA component that allows reference any entities with soft references