[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8280":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":15,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":16,"starSnapshotCount":16,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},8280,"global-state","sebastianbergmann\u002Fglobal-state","sebastianbergmann","Snapshotting of global state, factored out of PHPUnit into a stand-alone component","",null,"PHP",6604,19,5,1,0,3,60.7,"BSD 3-Clause \"New\" or \"Revised\" License",false,"main",[],"2026-06-12 04:00:38","[![Latest Stable Version](https:\u002F\u002Fposer.pugx.org\u002Fsebastian\u002Fglobal-state\u002Fv)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fsebastian\u002Fglobal-state)\n[![CI Status](https:\u002F\u002Fgithub.com\u002Fsebastianbergmann\u002Fglobal-state\u002Fworkflows\u002FCI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fsebastianbergmann\u002Fglobal-state\u002Factions)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fsebastianbergmann\u002Fglobal-state\u002Fbranch\u002Fmain\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fsebastianbergmann\u002Fglobal-state)\n\n# sebastian\u002Fglobal-state\n\nSnapshotting of global state, factored out of PHPUnit into a stand-alone component.\n\n## Installation\n\nYou can add this library as a local, per-project dependency to your project using [Composer](https:\u002F\u002Fgetcomposer.org\u002F):\n\n```\ncomposer require sebastian\u002Fglobal-state\n```\n\nIf you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:\n\n```\ncomposer require --dev sebastian\u002Fglobal-state\n```\n","sebastian\u002Fglobal-state 是一个用于快照全局状态的独立PHP组件，最初是从PHPUnit中分离出来的。其核心功能是提供了一种机制来捕获和恢复程序运行时的全局状态，这对于需要确保测试环境一致性的情况特别有用。该库支持通过Composer进行安装，并且可以作为开发依赖项加入到项目中，非常适合于那些希望在执行单元测试或集成测试前保存并恢复全局变量值的应用场景。它遵循BSD 3-Clause许可协议，保证了开源社区内的广泛使用与贡献。",2,"2026-06-11 03:17:09","top_language"]