PHPackages                             edgebase/admin - 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. edgebase/admin

ActiveLibrary

edgebase/admin
==============

EdgeBase Admin SDK — server-side admin operations.

v0.1.5(1mo ago)01MITPHPPHP &gt;=8.1

Since Mar 19Pushed 1mo agoCompare

[ Source](https://github.com/edge-base/edgebase-php-admin)[ Packagist](https://packagist.org/packages/edgebase/admin)[ Docs](https://edgebase.fun/docs/admin-sdk/reference)[ RSS](/packages/edgebase-admin/feed)WikiDiscussions main Synced 1mo ago

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

 [ ![EdgeBase Logo](https://raw.githubusercontent.com/edge-base/edgebase/main/docs/static/img/logo-icon.svg) ](https://github.com/edge-base/edgebase)

EdgeBase PHP Admin SDK
======================

[](#edgebase-php-admin-sdk)

Trusted server-side PHP SDK for EdgeBase.

Use `edgebase/admin` from backend APIs, jobs, workers, and other trusted PHP runtimes that hold a Service Key. It exposes admin auth, database access, raw SQL, storage, push, analytics, functions, and native edge resources.

If you are working inside this repository, `AdminEdgeBase` exists as a backwards-compatible alias for `AdminClient`. Prefer `AdminClient` in new code.

EdgeBase is the open-source edge-native BaaS that runs on Edge, Docker, and Node.js.

This package is one part of the wider EdgeBase platform. For the full platform, CLI, Admin Dashboard, server runtime, docs, and all public SDKs, see the main repository: [edge-base/edgebase](https://github.com/edge-base/edgebase).

Documentation Map
-----------------

[](#documentation-map)

Use this README for a fast overview, then jump into the docs when you need depth:

- [SDK Overview](https://edgebase.fun/docs/sdks)Install commands and the public SDK matrix
- [Admin SDK](https://edgebase.fun/docs/sdks/client-vs-server)Trusted-server boundaries and admin-only capabilities
- [Admin SDK Reference](https://edgebase.fun/docs/admin-sdk/reference)Cross-language examples for auth, database, storage, functions, push, and analytics
- [Admin User Management](https://edgebase.fun/docs/authentication/admin-users)Create, update, delete, and manage users with a Service Key
- [Database Admin SDK](https://edgebase.fun/docs/database/admin-sdk)Table queries, filters, pagination, batch writes, and raw SQL
- [Storage](https://edgebase.fun/docs/storage/upload-download)Uploads, downloads, metadata, and signed URLs
- [Analytics Admin SDK](https://edgebase.fun/docs/analytics/admin-sdk)Request metrics, event tracking, and event queries
- [Push Admin SDK](https://edgebase.fun/docs/push/admin-sdk)Push send, topic broadcast, token inspection, and logs
- [Native Resources](https://edgebase.fun/docs/server/native-resources)KV, D1, Vectorize, and other trusted edge-native resources

For AI Coding Assistants
------------------------

[](#for-ai-coding-assistants)

This package includes an `llms.txt` file for AI-assisted development.

Use it when you want an agent or code assistant to:

- keep Service Keys on trusted servers
- use the actual PHP property and method names
- avoid copying JavaScript promise-based examples into PHP
- know when to use `adminAuth` and `storage` properties versus `push()`, `functions()`, and `analytics()` methods

You can find it:

- in this repository: [llms.txt](https://github.com/edge-base/edgebase-php-admin/blob/main/llms.txt)
- in your environment after install, inside the `EdgeBase\Admin` package directory as `llms.txt`

Installation
------------

[](#installation)

```
composer require edgebase/admin
```

Quick Start
-----------

[](#quick-start)

```
