evorozen / neural-sdk
Official PHP SDK for the Pulse Evorozen Neural DB API — AI-native database with plain-English schema design.
dev-main
2026-08-04 17:07 UTC
Requires
- php: >=8.0
- ext-curl: *
- ext-json: *
This package is auto-updated.
Last update: 2026-08-04 17:10:28 UTC
README
Official PHP SDK for the Pulse Evorozen Neural DB API.
Install
composer require evorozen/neural-sdk
Usage
<?php require 'vendor/autoload.php'; use Evorozen\EvorozenClient; $client = new EvorozenClient(getenv('EVOROZEN_API_KEY')); // Design a schema from plain English $result = $client->chat('Create a products table with name, price, and stock'); echo $result['response']; // Insert a record $client->insert('products', ['name' => 'Widget', 'price' => 9.99, 'stock' => 100]); // Query records $result = $client->select('products', ['limit' => 10]); print_r($result['data']);
API
| Method | Description |
|---|---|
chat($prompt) |
Natural-language chat — schema design, Q&A, guidance |
insert($table, $record) |
Insert a record |
bulkInsert($table, $records) |
Insert multiple records |
update($table, $filter, $updates) |
Update matching records |
upsert($table, $record, $conflictColumns) |
Insert or update |
delete($table, $filter) |
Delete matching records |
bulkDelete($table, $filter) |
Delete multiple records |
select($table, $options) |
Query records |
count($table, $filter) |
Count matching records |
listTables() |
List all tables |
getSchema($table) |
Get schema definition |
createSchema($schema) |
Create tables from a schema definition |
dropTable($table) |
Drop a table |
analytics($prompt, $table) |
AI-powered data analysis |
generateSdk($language) |
Generate SDK source code for another language |
raw($payload) |
Low-level escape hatch for any action_type |
Full docs: pulse.evorozen.com/docs
License
MIT