Skip to content

v0.6.0

Choose a tag to compare

@elbanbydev elbanbydev released this 03 Dec 20:06
· 1 commit to main since this release
436f246

English

Makhzan (مخزن) v0.6.0 — the first public release of the storage-spaces manager for Laravel. Register every storage space your site uses — local disks, Cloudflare R2, Backblaze B2, any S3-compatible bucket, Google Drive, Telegram — behind one content-addressed store.

Highlights

  • Spaces & drivers — local, Cloudflare R2, Backblaze B2, generic S3, Google Drive and Telegram spaces with encrypted credentials and per-driver setup guides.
  • Fill order, routing & failover — per-space priorities; routing rules steer files by category and size with per-rule mirrors; failed writes and reads fail over automatically with events.
  • Health & capacity — live write/read/delete health checks gated on current credentials, per-space usage with capacity warning events, makhzan:health and makhzan:usage.
  • Safety — SHA-256 dedup, verified copies, mirroring, atomic background drains with progress records, makhzan:replicate bulk copy, makhzan:verify integrity checks.
  • Lifecycle — delete / restore / force-delete, makhzan:prune for old soft deletes, makhzan:gc for rows pointing at storage that no longer exists.
  • Temporary URLs — short-lived signed URLs from S3-family spaces with fallback across copies.

Quality: 93 tests / 255 assertions (Pest), PHPStan/Larastan level 8, Pint, CI on PHP 8.2–8.4, Laravel 11–12. Docs in English and Arabic. Status: experimental (pre-1.0); the API may change between minor versions.


العربية

مخزن v0.6.0 — أول إصدار عام لمدير مساحات التخزين في Laravel. سجّل كل مساحات التخزين في موقعك — أقراص محلية، Cloudflare R2، Backblaze B2، أي Bucket متوافق مع S3، Google Drive، تليجرام — خلف مخزن واحد يعتمد بصمة المحتوى.

أبرز المزايا

  • المساحات والدرايفرات — مساحات محلية وR2 وB2 وS3 وجوجل درايف وتليجرام، ببيانات اعتماد مشفرة وأدلة إعداد لكل درايفر.
  • الترتيب والتوجيه والتحويل — أولويات لكل مساحة؛ قواعد توجيه حسب التصنيف والحجم مع نسخة احتياطية لكل قاعدة؛ تحويل تلقائي عند فشل الكتابة أو القراءة مع أحداث.
  • الصحة والسعة — فحوصات حية (كتابة/قراءة/حذف) مرتبطة بالبيانات الحالية، استخدام لكل مساحة مع تنبيهات امتلاء، وأمرا makhzan:health وmakhzan:usage.
  • الأمان — منع تكرار المحتوى ببصمة SHA-256، نسخ متحقق منها، نسخ احتياطي، تفريغ ذرّي في الخلفية مع سجل تقدم، نسخ جماعي عبر makhzan:replicate، وتحقق من السلامة عبر makhzan:verify.
  • دورة الحياة — حذف واستعادة وحذف نهائي، makhzan:prune للمحذوفات القديمة، وmakhzan:gc للصفوف التي تشير لتخزين لم يعد موجوداً.
  • روابط مؤقتة — روابط موقَّعة قصيرة العمر من مساحات عائلة S3 مع تراجع تلقائي بين النسخ.

الجودة: 93 اختباراً / 255 تأكيداً (Pest)، PHPStan/Larastan المستوى 8، Pint، تكامل مستمر على PHP 8.2–8.4، Laravel 11–12. التوثيق بالإنجليزية والعربية. الحالة: تجريبية (قبل 1.0)؛ قد تتغير الواجهة بين الإصدارات الفرعية.