Download the PHP package bridgekit-tools/bridgekit-lib without Composer
On this page you can find all versions of the php package bridgekit-tools/bridgekit-lib. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package bridgekit-lib
BridgeKit
Universal Laravel Integration Library
One library to connect Google, Microsoft, Meta, LinkedIn & X.
What is BridgeKit?
BridgeKit is a Laravel library that provides a unified, typed API for integrating with third-party providers. Instead of learning 5 different SDKs, you learn one interface.
Features
- 5 providers — Google, Microsoft, Meta, LinkedIn, X
- 15 services — Drive, OneDrive, Gmail, Outlook, Calendar (×2), Posts (×3), OAuth (×5)
- 6 contracts — Swap providers without changing your code
- Typed DTOs —
final readonlyclasses withJsonSerializable - 7 enums —
Provider,MediaType,Visibility,EventStatus,MailFolder,OAuthGrantType,ServiceType - Streaming — Zero-memory downloads via
downloadStream() - Chunked uploads — Resumable uploads for files of any size
- Lazy generators — Memory-efficient paginated listing
- Media support — Upload images & videos from URL, path, or binary
- PKCE — Built-in for X/Twitter OAuth 2.0
- Extensible — Register custom providers via
extend()
Requirements
- PHP 8.3+
- Laravel 13+
Installation
The service provider and facade are auto-discovered. Publish the config:
Configuration
Add credentials to your .env:
Quick Start
OAuth Flow
File Storage
Folders & files as a tree
Every storage provider exposes listTree() which returns a recursive
StorageTreeNode. It can be JSON-serialised, walked depth-first, or rendered
as ASCII for logs/debug output.
SharePoint document libraries
Required Graph scopes (delegated): Sites.Read.All, Files.ReadWrite.All.
Social Publishing
Calendar
Custom Providers
Available Services
| Provider | Storage | Calendar | Social | OAuth | |
|---|---|---|---|---|---|
drive() |
gmail() |
calendar() |
— | auth() |
|
| Microsoft | onedrive(), sharepoint() |
outlook() |
calendar() |
— | auth() |
| Meta | — | — | — | posts() |
auth() |
| — | — | — | posts() |
auth() |
|
| X | — | — | — | posts() |
auth() |
| Dropbox | storage() |
— | — | — | auth() |
| S3 (AWS, MinIO, R2, …) | storage() |
— | — | — | — |
| FTP / FTPS | storage() |
— | — | — | — |
| SFTP | storage() |
— | — | — | — |
Architecture
Testing
101 tests, 276 assertions.
Changelog
See CHANGELOG.md for recent changes.
License
The MIT License (MIT). See LICENSE for details.
All versions of bridgekit-lib with dependencies
illuminate/support Version ^11.0 || ^12.0 || ^13.0
illuminate/http Version ^11.0 || ^12.0 || ^13.0