PHPackages                             kislayphp/persistence - 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. [Caching](/categories/caching)
4. /
5. kislayphp/persistence

ActivePhp-ext[Caching](/categories/caching)

kislayphp/persistence
=====================

Request-safe persistence runtime for KislayPHP (transaction guard + bounded cache)

0.0.3(1mo ago)04Apache-2.0C++PHP &gt;=8.2CI passing

Since Mar 1Pushed 1mo agoCompare

[ Source](https://github.com/KislayPHP/persistence)[ Packagist](https://packagist.org/packages/kislayphp/persistence)[ Docs](https://github.com/KislayPHP/persistence)[ RSS](/packages/kislayphp-persistence/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

KislayPHP Persistence
=====================

[](#kislayphp-persistence)

[![PHP Version](https://camo.githubusercontent.com/0f16581d1180dbfd4c0e13166ec1267d4ad2f2fab8281ea6d6b284cf5c65d921/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d626c75652e737667)](https://php.net)[![License](https://camo.githubusercontent.com/109222cb0d1f59ed2e77b56722653623fa45f93e2bb201a6eef8561d26a52185/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d417061636865253230322e302d677265656e2e737667)](LICENSE)[![Build Status](https://camo.githubusercontent.com/2f265e2d8e693a261ceea96df0a21b2ca65c41ba29eecd69d559cf70f37a6097/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4b69736c61795048502f70657273697374656e63652f63692e796d6c3f6272616e63683d6d61696e266c6162656c3d4349)](https://github.com/KislayPHP/persistence/actions)[![Version](https://camo.githubusercontent.com/cf946487e839f9d18f6a5d7aab4e0d83fb974fc37fbe7b006d178ddcc11b59bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d302e302e332d626c75652e737667)](CHANGELOG.md)[![PIE](https://camo.githubusercontent.com/3e10b1411ce18a680518db29ad161d17050be0a55620a00ed69fabac2a425832/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f696e7374616c6c2d7069652d626c756576696f6c6574)](https://github.com/php/pie)

> **v0.0.3** — Critical stability fix: removed `zval_ptr_dtor` calls from `MSHUTDOWN` that caused double-free → `SIGABRT` on PHP shutdown.

> **Per-request data persistence lifecycle for PHP microservices.** Automatic transaction management when attached to a `kislayphp/core` App — begin on request start, commit or rollback on request end.

Part of the [KislayPHP ecosystem](https://skelves.com/kislayphp/docs).

---

✨ What It Does
--------------

[](#-what-it-does)

`kislayphp/persistence` provides a persistence runtime that integrates with `kislayphp/core`'s request lifecycle hooks. Attach it to your App and every request gets automatic transaction management — begin on start, commit on success, rollback on exception.

```
