Registry / utility / infrajs-ans

infrajs-ans

JSON →
library1.0.15phppackagistunverified

Standard JSON answer for PHP handlers, providing a consistent response format.

composer require infrajs/ans
INSTALL
IMPORT
SIG · INFRAJS-ANS
I
infrajs-ans
utilityphpv1.0.15
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ans
use Infrajs\Ans\Ans;

Create and output a standard JSON response.

use Infrajs\Ans\Ans; $ans = new Ans(); $ans->set('success', true); echo $ans->json();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.15latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
infrajs-ans — pip install infrajs-ans · libregistry