Download the PHP package owlstack/owlstack-laravel without Composer
On this page you can find all versions of the php package owlstack/owlstack-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download owlstack/owlstack-laravel
More information about owlstack/owlstack-laravel
Files in owlstack/owlstack-laravel
Download owlstack/owlstack-laravel
More information about owlstack/owlstack-laravel
Files in owlstack/owlstack-laravel
Vendor owlstack
Package owlstack-laravel
Short Description Laravel integration for Owlstack — publish content to Telegram, X (Twitter), Facebook, LinkedIn, Instagram, Discord, Slack, Reddit, Pinterest, WhatsApp, and Tumblr from your Laravel application.
License MIT
Homepage https://github.com/alihesari/owlstack-laravel
Package owlstack-laravel
Short Description Laravel integration for Owlstack — publish content to Telegram, X (Twitter), Facebook, LinkedIn, Instagram, Discord, Slack, Reddit, Pinterest, WhatsApp, and Tumblr from your Laravel application.
License MIT
Homepage https://github.com/alihesari/owlstack-laravel
Please rate this library. Is it a good library?
Informations about the package owlstack-laravel
Laravel integration for social media publishing
--- # Owlstack for Laravel Laravel integration for [Owlstack Core](https://github.com/owlstacks/owlstack-core) — publish content to **11 social media platforms** (Telegram, X/Twitter, Facebook, LinkedIn, Instagram, Discord, Slack, Reddit, Pinterest, WhatsApp, and Tumblr) from your Laravel application. > **Note:** This package was previously `alihesari/larasap`. It has been rewritten from scratch to use `owlstack/owlstack-core` as its engine. ## Requirements - PHP 8.1+ - Laravel 10, 11, or 12 ## Installation Publish the config file: ## Configuration Add your credentials to `.env`: Only platforms with valid credentials are registered. If you leave Twitter credentials empty, only Telegram and Facebook will be available. ## Usage ### Via Dependency Injection (recommended) ### Via Facade ### Return Value All methods return a `Owlstack\Core\Publishing\PublishResult`: ### Telegram Features ### Twitter / X Features ### Facebook Features ### LinkedIn Features ### Discord Features ### Slack Features ### Reddit Features ### Instagram Features ### Pinterest Features ### WhatsApp Features ### Tumblr Features ### Using Post Objects Directly For full control, create `Owlstack\Core\Content\Post` objects: ### Events The package dispatches events through Laravel's event system: - `Owlstack\Core\Events\PostPublished` — fired on successful publish - `Owlstack\Core\Events\PostFailed` — fired on publish failure ## Architecture This package is a thin wrapper around `owlstack/owlstack-core`. The architecture: The service provider wires everything together: - `OwlstackConfig` — built from `config/owlstack.php` - `HttpClient` — core's cURL client (with optional proxy) - Platform instances — only registered if credentials are configured - `PlatformRegistry` — holds all active platforms - `Publisher` — orchestrates publishing with event dispatch - `SendTo` — high-level API bound as `'owlstack'` singleton ## Testing Or run PHPUnit directly: In your own tests, mock `HttpClientInterface` on the container: ## Migration from alihesari/larasap If upgrading from the old package: 1. Replace `alihesari/larasap` with `owlstack/owlstack-laravel` in `composer.json` 2. Rename `config/larasap.php` → `config/owlstack.php` (see new format above) 3. Replace `Alihesari\Larasap\SendTo` with `Owlstack\Laravel\SendTo` 4. Replace static calls (`SendTo::telegram(...)`) with DI or the new `Owlstack` facade 5. Update event listeners if you had custom ones 6. The `facebook/graph-sdk` and `facebook/php-business-sdk` dependencies are no longer needed Key API changes: - `SendTo::telegram($msg)` → `$sendTo->telegram($msg)` (instance method) - `SendTo::x($msg)` → `$sendTo->x($msg)` or `$sendTo->twitter($msg)` - `SendTo::facebook('link', $data)` → `$sendTo->facebook($msg, 'link', $data)` - All methods now return `PublishResult` instead of raw arrays ## License MITAll versions of owlstack-laravel with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
owlstack/owlstack-core Version ^1.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
owlstack/owlstack-core Version ^1.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
The package owlstack/owlstack-laravel contains the following files
Loading the files please wait ...