- How do I install asundust/wechat-work-push in a Laravel application?
- Install it with Composer using composer require asundust/wechat-work-push. The 2.0.0 release targets Laravel 9+ and the PHP version required by Laravel 9, so confirm your framework and PHP constraints before adding it. After installation, follow the package README to publish or define its configuration and set up your WeChat Work credentials or webhook.
- Does asundust/wechat-work-push support Laravel 10 and Laravel 11?
- The 2.0.0 release is aligned with Laravel 9 and newer, but the technical evaluation notes that Laravel 10 and Laravel 11 support is not clearly documented. Check the package composer.json constraints and test matrix before using it on those versions. Running the package test suite in a branch is the safest way to confirm compatibility.
- What PHP version do I need for this WeChat Work push package?
- Laravel 9 requires PHP 8.0 or later, and the package likely inherits a PHP 8+ requirement through its Laravel 9+ alignment. The exact constraint should be verified in the package composer.json before installation. If your application runs PHP 7.x, you cannot use the 2.0.0 release.
- Can I use asundust/wechat-work-push with Laravel 8 or earlier?
- No, the 2.0.0 release explicitly drops older framework compatibility and targets Laravel 9+. Applications on Laravel 8 or earlier must either remain on the 1.x package line with an explicit risk acceptance or upgrade Laravel to 9+ before adopting 2.0.0. Do not attempt to install 2.0.0 on an unsupported Laravel version.
- What types of messages can I send with this Laravel package?
- The package supports sending text, markdown, and rich messages to WeChat Work. You can deliver them to group webhooks or app recipients depending on your configuration. This makes it suitable for alerts, deployment notices, and other low-cost notification workflows.
- Do I need a WeChat Official Account or the WeChat Work client to use this package?
- No, the package is designed as a low-cost push solution using WeChat Work app messages to reach WeChat. It does not require a WeChat Official Account or installation of the WeChat Work client. You do need the appropriate WeChat Work application or webhook configuration.
- How do I configure asundust/wechat-work-push for my Laravel app?
- The package uses config-driven setup, so you define its configuration and supply the WeChat Work credentials or webhook details required for your sending method. The provided overview does not list exact configuration keys, so follow the repository README for the current names and required values. Keep credentials out of version control and load them through environment variables.
- Is asundust/wechat-work-push suitable for production notifications?
- It can be suitable for production use in Laravel 9+ applications when you pin the package major version and test your integration. Treat 1.x applications as technical debt and track end-of-support because older lines may stop receiving fixes. Validate Composer constraints, configuration changes, and rollback plans before canary deployment.
- How do I upgrade from asundust/wechat-work-push 1.x to 2.0.0?
- Treat 2.0.0 as a major-version upgrade focused on dropping pre-Laravel 9 compatibility. Upgrade your Laravel application to 9+ first, then update the package in a branch and run the full regression suite. Review the changelog and README for any API or configuration changes, and canary deploy before rolling out fleet-wide.
- What should I check before choosing asundust/wechat-work-push over a full WeChat SDK?
- Choose this package when you specifically need a simple, low-cost way to send WeChat Work push notifications from Laravel without a WeChat Official Account. A full WeChat SDK may be a better fit if you need broader Official Account, Mini Program, or payment features. Confirm Laravel 9+, PHP 8+, and package maintenance status before committing.