Download the PHP package pocketbase/sdk-php without Composer
On this page you can find all versions of the php package pocketbase/sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pocketbase/sdk-php
More information about pocketbase/sdk-php
Files in pocketbase/sdk-php
Download pocketbase/sdk-php
More information about pocketbase/sdk-php
Files in pocketbase/sdk-php
Vendor pocketbase
Package sdk-php
Short Description PocketBase SDK for PHP 8.2+ - Interact with PocketBase REST API
License MIT
Package sdk-php
Short Description PocketBase SDK for PHP 8.2+ - Interact with PocketBase REST API
License MIT
Please rate this library. Is it a good library?
Informations about the package sdk-php
PocketBase SDK PHP
SDK PHP 8.2+ para interactuar con la API REST de PocketBase.
Características
- ✅ Autenticación (Admin y Usuarios)
- ✅ CRUD de colecciones y registros
- ✅ QueryBuilder fluente (filtros, orden, expand)
- ✅ Gestión de archivos
- ✅ Tipado estricto (strict_types)
- ✅ DTOs (Data Transfer Objects)
- ✅ Excepciones personalizadas
Instalación
Requisitos
- PHP 8.2+
- GuzzleHttp 7.8+
Uso Rápido
Autenticación
CRUD de Registros
Gestión de Colecciones (solo admin)
Manejo de Errores
API Reference
PocketBaseClient
Métodos principales:
collection(string $name)- Obtener servicio de registrosauthAsAdmin(string $email, string $password)- Autenticar como adminauthWithPassword(string $collection, string $email, string $password)- Autenticar usuariocollections()- Obtener servicio de coleccionesfiles()- Obtener servicio de archivosisAuth()- Verificar si está autenticadologout()- Cerrar sesión
QueryBuilder
Testing
Contribuir
- Fork el proyecto
- Crea una rama (
git checkout -b feature/nueva-caracteristica) - Commit tus cambios (
git commit -am 'Agregar nueva característica') - Push a la rama (
git push origin feature/nueva-caracteristica) - Crea un Pull Request
Licencia
MIT - ver LICENSE
All versions of sdk-php with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
guzzlehttp/guzzle Version ^7.8
psr/http-client Version ^1.0
psr/http-message Version ^1.0|^2.0
guzzlehttp/guzzle Version ^7.8
psr/http-client Version ^1.0
psr/http-message Version ^1.0|^2.0
The package pocketbase/sdk-php contains the following files
Loading the files please wait ...