Closed
Conversation
Remove old service provider, platform API implementations,
custom exceptions, test doubles, and old test files.
Deleted:
- src/LarasapServiceProvider.php
- src/Services/{Telegram,X,Facebook}/ (all files)
- config/config.php
- tests/bootstrap.php, tests/SendToTest.php
- tests/TestDoubles/, tests/Feature/, tests/Integration/
- tests/Unit/{FacebookApiTest,TelegramApiTest,XApiTest}.php
- Rename package to synglify/synglify-laravel - Update namespace to Synglify\Laravel\ - Add synglify/synglify-core @dev dependency via path repository - Remove facebook/graph-sdk and facebook/php-business-sdk - Update auto-discovery for SynglifyServiceProvider and Synglify facade
Environment-based configuration for Telegram, Twitter, Facebook platforms and optional proxy settings. Replaces config/config.php.
Register all core services into Laravel container: - SynglifyConfig (filters platforms by required credentials) - HttpClient with optional proxy support - Platform formatters and platform instances - PlatformRegistry, Publisher, EventDispatcher, SendTo
Bridges synglify-core EventDispatcherInterface to Laravel's event system for PostPublished/PostFailed event dispatching.
Replace static method calls with DI-based instance methods: - telegram() with attachment, keyboard, signature support - twitter() and x() alias - facebook() for link/photo/video posts - publish() and toAll() for Post objects - Extended Telegram types: location, venue, contact, voice
Provides static proxy to the SendTo singleton for convenience usage.
- phpunit.xml: update source element for PHPUnit 10/11 - TestCase: Orchestra Testbench base with mock HttpClient, test credentials for all 3 platforms, response helpers
ServiceProviderTest: 13 tests covering container bindings, config filtering, and config publishing. SendToTest: 14 tests covering telegram, twitter, facebook, signature, location, venue, contact, toAll, and failures.
5 tests: facade resolution, PostPublished/PostFailed event dispatch, full publish workflow, missing platform handling.
- Update composer.json dependency to synglify/synglify-laravel - Rewrite SocialMediaController with DI and facade usage - Replace config/larasap.php with config/synglify.php
Complete documentation: installation, configuration, usage via DI and facade, all platform features, Post objects, events, architecture, testing guide, and migration guide from alihesari/larasap.
…ord, Slack, Instagram, Pinterest, WhatsApp, Tumblr)
- Rename all namespaces from Synglify\Laravel to Owlstack\Laravel - Rename SynglifyServiceProvider to OwlstackServiceProvider - Rename Synglify facade to Owlstack facade - Rename config/synglify.php to config/owlstack.php - Update all references, tests, examples, and documentation - Update composer.json package name and autoload config
…th repository with Packagist dependency\n- Change owlstack-core constraint from @dev to ^1.0\n- Set minimum-stability from dev to stable\n- Add homepage and support URLs\n- Add composer test script\n- Update description and keywords for all 11 platforms
…edIn platform registration in ServiceProvider\n- Add LinkedIn config (access_token, person_id, organization_id)\n- Add SendTo convenience methods: linkedin(), reddit(), discord(),\n slack(), instagram(), pinterest(), whatsapp(), tumblr()\n- Update Facade docblocks for all 11 platforms
…entials to TestCase and linkedinSuccess() helper\n- Add testLinkedInTextPost() in SendToTest\n- Update testToAllPublishesToAllPlatforms() to expect 4 platforms\n- Update ServiceProviderTest to verify LinkedIn registration\n- Fix .env.testing: correct Twitter and Facebook env var names\n- Add LinkedIn env vars to .env.testing
…use Packagist dependency\n- Change minimum-stability from dev to stable\n- Add all 11 platform configs to example owlstack.php\n- Add testLinkedIn() controller method and route
…P 7.0/7.1, outdated)\n- Add .github/workflows/tests.yml with matrix:\n PHP 8.1–8.4 × Laravel 10–12\n- Exclude incompatible PHP 8.1 + Laravel 11/12 combos
…LOG.md with accurate feature entries\n- Fix CONTRIBUTING.md repo URLs (laravel-social-auto-posting → owlstack-laravel)\n- Add structured bug report template to ISSUE_TEMPLATE.md\n- Add CI/Packagist badges to README.md\n- Add all 11 platform usage examples and env vars to README\n- Update architecture diagram to include LinkedIn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.