Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Ding Notice

Ding Notice Laravel Package

wangju/ding-notice

A Laravel package for sending notifications to DingTalk group robots. Configure webhooks and secrets, then push text, markdown, link, action card, or feed card messages via a simple fluent API. Supports signed requests, @mentions, and alerts for deployments, monitoring, and team updates.

View on GitHub
Deep Wiki
Context7

wangju/ding-notice is a Laravel package that integrates DingTalk (钉钉) robot notifications into your application, letting you push messages to group chats through a simple, expressive API. It wraps the DingTalk webhook protocol so you can send alerts, reports, and system events without writing raw HTTP calls.

  • Supports text, markdown, link, actionCard, and feedCard message types
  • Send @mentions to specific users or everyone in the group
  • Configurable webhooks and secret signing for secure robots
  • Simple facade/notification-channel usage that fits naturally into Laravel apps
Frequently asked questions about Ding Notice
How do I install and set up wangju/ding-notice in a Laravel application?
Install it with Composer using composer require wangju/ding-notice, then publish the package config so you can supply your DingTalk robot webhook URL, token, and secret. Register or auto-discover the service provider and use the provided facade to send messages. Because the last tagged release was in November 2020, run the install in a scratch Laravel app first to confirm the provider and facade still register cleanly on your version.
Does wangju/ding-notice support Laravel 10, Laravel 11, and PHP 8.2 or 8.3?
There is no published evidence of support for modern Laravel or PHP versions, since the package has not been released since 2020. Check its composer.json for php, illuminate/support, and Guzzle constraints before assuming compatibility. Treat current-framework support as unproven and validate it with a short spike on your exact PHP and Laravel matrix.
How do I configure the DingTalk robot webhook URL, token, and secret?
Configuration is done through the published config file, where you set the webhook endpoint plus the access token and signing secret for your group robot. Read those values from environment variables or a secrets manager rather than committing them to the repository. Keep separate robot configurations for staging and production so a rotated secret in one environment cannot break the other.
Does the package handle DingTalk robot signature and keyword security requirements?
The package is built around DingTalk webhook messaging, but you must confirm that its signature generation matches current DingTalk documentation, including the timestamp and HMAC-SHA256 signing flow. Create a test robot with both a secret and a keyword security setting, then verify that messages are accepted. If signing fails, expect to patch the signature code or fork the package.
Can I send markdown messages, mention specific users, or use @all with this package?
The package focuses on DingTalk robot message payloads and typically exposes text and markdown message types, with mention fields depending on how the payload builder is implemented. Inspect the source for the msgtype and at structure before relying on mentions. Test each message type against a real sandbox robot, since DingTalk validates payload shape strictly and rejects malformed mention objects.
Is wangju/ding-notice maintained and safe to use in production?
It is a small, low-footprint package with around 190 stars and no dependents, but it has had no release since 2020, which means no active upstream maintenance. That creates staleness and supply-chain risk rather than a large blast radius. Adopt it as a tactical dependency with a pinned version, internal ownership, and a documented plan to fork or replace it.
Should I call the facade directly or wrap it in my own notifier class?
Wrap it behind an internal interface such as DingTalkNotifier so your application code depends on your abstraction rather than the package facade. That makes it trivial to swap in a thin Guzzle or Laravel HTTP client call to the webhook if the package breaks or is abandoned. It also gives you a single place to add logging, retries, and configuration validation.
Does the package support queues, retries, timeouts, and rate limiting?
Likely not. It appears to send synchronously with minimal error handling, so queuing, backoff, and rate limiting are your responsibility. Wrap sends in a queued job with explicit timeouts, catch and log failures, and respect DingTalk robot rate limits, which can return HTTP 429 when you send too many messages in a short window.
What are the alternatives if wangju/ding-notice is incompatible with my Laravel version?
The simplest replacement is a small service that posts JSON to the DingTalk webhook using Laravel's HTTP client, including the timestamp and sign parameters. You can also implement a custom Laravel notification channel for DingTalk, or fork the package and update its composer constraints and signature code. Either way, keep the same internal notifier interface so the swap does not touch business logic.
How can I test DingTalk notifications without spamming a real group?
Create a dedicated test robot in a private DingTalk group and point your staging configuration at it. Fake the underlying HTTP client in unit tests so you can assert the payload structure, signature parameters, and failure handling without network calls. Add a small contract test against the real sandbox robot to catch DingTalk API or security changes before they reach production alerts.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle