tourze/jiguang-push-bundle
A Symfony bundle that integrates Jiguang (JPush) push notifications into your app, wiring the JPush client as a service and exposing configuration for app keys, secrets, and environments so you can send targeted mobile push messages with minimal boilerplate.
tourze/jiguang-push-bundle 0.0.1 is an initial tagged release. The release notes only link to the commit history, so there is no documented feature list, migration guide, or explicit compatibility statement. Treat this as an early/experimental integration and pin the exact version until you have validated it in your app.
Start by checking:
composer.json for PHP/Laravel/Symfony version constraints and dependencies.README.md for JPush credential configuration and supported send APIs.src/ for the main client/service class, configuration object, and any framework integration.config/, DependencyInjection/, or service-provider classes to determine whether this is Laravel-native or a Symfony-style bundle.First use case: send one test push to a known registration ID or alias using JPush AppKey/MasterSecret from environment variables. Validate credentials, platform payload, and response handling before wiring it into application flows.
Note: the -bundle suffix often indicates Symfony bundle conventions. Verify whether Laravel auto-discovery/service providers are supported. If not, use it as a plain PHP dependency behind your own Laravel service/provider rather than assuming drop-in Laravel integration.
Wrap the package client behind an application-level interface so push provider details do not leak through controllers or domain code:
interface PushNotifier
{
public function sendToUser(string $userId, PushMessage $message): PushResult;
}
Common day-to-day patterns:
PushNotifier or fake HTTP client. Do not call JPush in the default test suite.0.0.1 exactly in composer.json and review the commit diff before upgrading.A practical integration flow:
0.0.1 is an initial release with minimal release notes. Expect API instability and verify behavior from source/tests rather than assuming semver guarantees.php artisan config:clear after changing push-related environment values, especially in cached-config deployments.PushNotifier binding, custom payload builder, custom HTTP client, result/event logging, and a fake implementation for tests.How can I help you explore Laravel packages today?