From c4b526c7bccb3831195b3f80753d1a7737bdd2bc Mon Sep 17 00:00:00 2001 From: Instinct Agent Date: Thu, 3 Dec 2026 22:02:18 +0200 Subject: [PATCH] Refresh package metadata: description, keywords, README intro --- CHANGELOG.md | 3 +++ README.md | 4 +++- composer.json | 7 +++++-- docs/ar/README.md | 4 +++- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5a8d98..993ddb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +### Changed (metadata) +- Refreshed the package description, keywords and README intro (EN and AR) to cover automatic sending; GitHub repo description and topics set. + ### Changed (automation, phase E: hardening) - Placeholders expand in one pass (a user name containing `{step}` is no longer expanded); Meta template parameters are cleaned of newlines and repeated spaces. - Two overlapping runs cannot double-queue: a race on the idempotency key returns the existing row. diff --git a/README.md b/README.md index 5b24e5d..dd04f69 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ Some sites are not a pile of pages; they are a journey. The user creates an acco On top of that table sits a re-engagement flow: a WhatsApp button per user that opens a modal (name, number, message) with a ready-made template pre-selected by where the user is stuck — "encourage to continue" when they have a half-finished step, "encourage to start" for the next step they never touched. Confirming opens the WhatsApp chat with the message prefilled, ready to send. +Optionally, Rehla can also send nudges automatically (off by default): rules such as "started a step but not finished for 2 days", consent and STOP handling, quiet hours, cooldowns, a dry run, a panel tab, and Meta WhatsApp Cloud API, generic HTTP or log drivers. See [Automatic WhatsApp sending](#automatic-whatsapp-sending-optional). + > **Status: v0.1.0, EXPERIMENTAL pre-release.** Tested by an automated suite only; not yet run in a production app. ## Requirements @@ -178,7 +180,7 @@ In the panel, opted-out users get an "Opted out" mark and the follow-up modal as ### Rules and the engine -Rules say who gets which message and when. Define them in `rehla.automation.rules` (code, always available) or in the `rehla_automation_rules` table (the panel tab comes in the next release). Both run together. +Rules say who gets which message and when. Define them in `rehla.automation.rules` (code, always available) or in the `rehla_automation_rules` table (managed in the panel's Automation tab). Both run together. ```php 'rules' => [ diff --git a/composer.json b/composer.json index 8149754..a547286 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "elbanbydev/rehla", - "description": "Rehla (رحلة) - track where every user is in your site's journey: which steps they finished, which they started but never finished, and which they never touched, with a WhatsApp re-engagement panel. Experimental.", + "description": "Rehla (رحلة) - track where every user is in your site's journey (finished, started, never started), re-engage them with a WhatsApp panel, and optionally send rule-based automatic WhatsApp nudges with consent, quiet hours and a dry run. Experimental.", "keywords": [ "laravel", "user-journey", @@ -9,7 +9,10 @@ "user-progress", "whatsapp", "egypt", - "rehla" + "rehla", + "whatsapp-automation", + "whatsapp-cloud-api", + "laravel-package" ], "license": "MIT", "require": { diff --git a/docs/ar/README.md b/docs/ar/README.md index 1e84b59..7f0762c 100644 --- a/docs/ar/README.md +++ b/docs/ar/README.md @@ -12,6 +12,8 @@ وفوق الجدول ده فيه تدفق لإعادة التواصل: زرار واتساب جنب كل مستخدم بيفتح نافذة فيها الاسم والرقم والرسالة، وبقالب جاهز مختار تلقائياً حسب مكان المستخدم — «شجّعه يكمّل» لو عنده خطوة بدأها، و«شجّعه يبدأ» لأول خطوة مابدأهاش. لما تأكد، بيفتح شات واتساب والرسالة جاهزة للإرسال. +واختيارياً، رحلة تقدر كمان تبعت التذكيرات تلقائياً (مقفول افتراضياً): قواعد زي «بدأ خطوة ومخلصهاش من يومين»، وموافقة ومعالجة STOP، وساعات هدوء وفترات انتظار، وتجربة بدون إرسال، وتاب في البانل، ومزوّدين: Meta WhatsApp Cloud API أو HTTP عام أو log. شوف قسم الإرسال التلقائي تحت. + > **الحالة: v0.1.0 نسخة تجريبية مبكرة.** متجربة باختبارات آلية بس، لسه مشغلتش في تطبيق حقيقي. ## المتطلبات @@ -178,7 +180,7 @@ Rehla::consent()->optOut($user); // وكمان بيلغي الرسائل ### القواعد والمحرّك -القواعد بتحدد مين ياخد أنهي رسالة وإمتى. عرّفها في `rehla.automation.rules` (في الكود، متاحة دايماً) أو في جدول `rehla_automation_rules` (تاب البانل جاي في الإصدار الجاي). الاتنين بيشتغلوا مع بعض. +القواعد بتحدد مين ياخد أنهي رسالة وإمتى. عرّفها في `rehla.automation.rules` (في الكود، متاحة دايماً) أو في جدول `rehla_automation_rules` (بتتدار من تاب الأتمتة في البانل). الاتنين بيشتغلوا مع بعض. ```php 'rules' => [