Download the PHP package yannelli/laravel-plaud without Composer
On this page you can find all versions of the php package yannelli/laravel-plaud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yannelli/laravel-plaud
More information about yannelli/laravel-plaud
Files in yannelli/laravel-plaud
Package laravel-plaud
Short Description Unofficial Laravel package for the Plaud API - manage recordings, transcriptions, and summaries
License MIT
Rated 5.00 based on 1 reviews
Informations about the package laravel-plaud
Laravel Plaud API Package
An unofficial Laravel package for the Plaud API. This package provides a clean, Laravel-idiomatic interface for managing recordings, transcriptions, and summaries from the Plaud platform.
Features
- ✅ Full authentication support
- ✅ Retrieve and manage recordings
- ✅ Download audio files, transcripts, and summaries
- ✅ Create shareable links
- ✅ Trash, restore, and permanently delete recordings
- ✅ Laravel HTTP client integration
- ✅ Facade support for easy access
- ✅ Type-safe models with PHP 8.3+ typed properties
- ✅ Comprehensive error handling
Requirements
- PHP 8.3 or higher
- Laravel 12.x
- Guzzle HTTP client 7.x
Installation
Install the package via Composer:
Publish Configuration (Optional)
You can publish the configuration file if you want to customize it:
This will create a config/plaud.php file in your Laravel application.
Environment Configuration
Add your Plaud access token to your .env file:
Usage
Authentication
First, authenticate with the Plaud API to obtain an access token:
Using Dependency Injection
You can also use dependency injection instead of the facade:
Get User Information
Get System Status
Retrieve Recordings
Get All Recordings
Get Recordings with Filters
Get Specific Recordings by ID
File Tags (Folders)
Create Shareable Links
Download Files
Download Audio File
Download Transcript
Download Summary
Manage Recordings
Move to Trash
Restore from Trash
Permanently Delete
Available File Types
The package provides a FileTypes constant class with the following supported formats:
Error Handling
The package throws PlaudException for API errors:
Advanced Usage
Using the Low-Level Client
If you need more control, you can use the PlaudClient directly:
Accessing the Client from the Service
Available Methods
PlaudService Methods
| Method | Description |
|---|---|
authenticate($username, $password) |
Authenticate with username and password |
getMyUser() |
Get current user information |
getStatus() |
Get API and system status |
getAllRecordings() |
Get all recordings without filters |
getRecordingsWithFilter(...) |
Get recordings with custom filters |
getSpecificRecordings($ids) |
Get specific recordings by IDs |
getFileTags() |
Get all file tags (folders) |
createShareableLink($id, $permissions) |
Create a shareable link |
downloadAudioFile($id) |
Download audio file as base64 |
downloadTranscriptFile($id, $type) |
Download transcript as base64 |
downloadSummaryFile($id, $type) |
Download summary as base64 |
trashRecordings($ids) |
Move recordings to trash |
untrashRecordings($ids) |
Restore recordings from trash |
permanentlyDeleteRecordings($ids) |
Permanently delete recordings |
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Security
If you discover any security-related issues, please email the package maintainer instead of using the issue tracker.
Credits
- Original .NET library: JamesStuder/Plaud_API
- Laravel package maintainer: Ryan Yannelli
License
The MIT License (MIT). Please see License File for more information.
Disclaimer
This is an unofficial package and is not affiliated with, maintained, or endorsed by Plaud. Use at your own risk.
All versions of laravel-plaud with dependencies
illuminate/support Version ^12.0
illuminate/http Version ^12.0
guzzlehttp/guzzle Version ^7.8