Sales1 min read250 words

ما هو لارافيل أوكتان؟

Recai Atak

PlusClouds Author

Cloud & SaaS

ما هو لارافيل أوكتان؟
Size

Laravel Octane مع Swoole و/أو Roadrunner كخادم تطبيقات قوي لـ PHP. يمكنك تقديم خدمة لتطبيق Laravel الخاص بك باستخدام خادم تطبيقات . يبدأ Laravel Octane تطبيقك بطريقة قوية ومُحسنة، ويخزن هذا بشكلٍ خاص في ذاكرة الوصول العشوائي، وينظف حالات الكائنات ويدير نسخ الكائنات بين الطلبات.

 وثيقة Laravel Octane الأصلية

  https://github.com/laravel/octane

عادةً، يتم تحميل التطبيق وجميع الكائنات عدة مرات لكل طلب. مع Laravel Octane، يتم مشاركة تطبيق الكائنات بين الطلبات. هذا يعني أن على المطور تحميل بعض الكائنات مرة واحدة فقط (تذكر أن البعض يتم تحميله مرة واحدة في وقت التمهيد)، وفي هذه الحالة يساعد Laravel Octane في إدارة حالات الكائنات.

ما هو RoadRunner؟ 

RoadRunner هو مدير عمليات لموازن الحمل مُصمم لتطبيقات PHP.


مراحل إنشاء التطبيق:


نقوم بتثبيت مُثبت Laravel

composer global require laravel/installer


نقوم بإنشاء مشروع Laravel جديد

llaravel new laravel-octane


ندخل إلى الدليل الذي يوجد به مشروعنا

cd laravel-octane


نقوم بتثبيت الحزمة عبر Composer

composer require laravel/octane


نقوم بتحميل الحزمة

php artisan octane:install


نقوم بتشغيل تطبيقنا
php artisan octane:start --port=8002

نعم، الآن قد بدأ تطبيقنا على Octane. يبدأ Octane في الاستماع إلى الجوهر العام لـ PHP وتخزينه في الذاكرة المؤقتة. ما يجب ذكره هنا هو أنه لا يمكن لـ Octane معرفة تغييراتك الديناميكية، لذا يمكنك فقط إبلاغها باستخدام Cache Facade.

Cache::driver('octane')->put('test','test')

تمت الآن تشغيل تطبيقنا على المنفذ 8002. ولكن ما يجب أن نعرفه هنا هو أنه يجب عليك تسجيل الدخول عبر المنفذ الذي يعمل به Laravel مباشرة وليس عبر php-fpm. خلاف ذلك، لن تعمل Octane.


بريمترك



Nginx القياسي


Laravel Octane



كما يتضح، هناك فرق يصل إلى 4 مرات.


LeadOcean

Sales team chasing the wrong leads?

1.8B+ companies — search always free

Find My Leads →

No credit card · Cancel anytime

Frequently Asked Questions

ما هو Laravel Octane وما فائدته؟

Laravel Octane هو خادم تطبيقات PHP يعمل مع Swoole و/أو RoadRunner. يبدأ تطبيق Laravel بسرعة محسّنة، ويخزنه في ذاكرة الوصول العشوائي، ويدير حالات الكائنات ونسخها بين الطلبات.

ما دور RoadRunner في Laravel Octane وما الفائدة منه؟

RoadRunner هو مدير عمليات لموازن الحمل مُصمم لتطبيقات PHP. ويمكن استخدامه كخادم تطبيقات مع Laravel Octane.

كيف أقوم بتثبيت Laravel Octane وخطوات البدء خطوة بخطوة؟

ابدأ بتثبيت مُثبت Laravel عبر composer global require laravel/installer ثم أنشئ مشروع Laravel جديد باستخدام laravel new laravel-octane. ادخل إلى الدليل، ثم ثبّت الحزمة عبر Composer وتَسلّم octane:install، وأخيراً شغّل التطبيق باستخدام php artisan octane:start --port=8002.

كيف يعمل التخزين في الذاكرة ومشاركة الكائنات في Octane؟

عادةً، يتم تحميل التطبيق وجميع الكائنات عدة مرات لكل طلب. مع Laravel Octane، يتم مشاركة تطبيق الكائنات بين الطلبات وتخزينها في الذاكرة المؤقتة، مع إدارة حالات الكائنات بين الطلبات. يبدأ Octane في الاستماع إلى جوهر PHP وتخزينه في الذاكرة المؤقتة.

كيف أتعامل مع التغييرات الديناميكية عندما أستخدم Octane؟

لا يمكن لـ Octane معرفة تغييراتك الديناميكية، لذا يجب عليك إبلاغها باستخدام Cache Facade. مثال على ذلك: Cache::driver('octane')->put('test','test').

ما هي التحذيرات أو القيود الأساسية عند تشغيل Laravel Octane؟

يجب عليك تسجيل الدخول عبر المنفذ الذي يعمل به Laravel مباشرة وليس عبر php-fpm، وإلا لن تعمل Octane. كما أن Octane يبدأ في الاستماع إلى جوهر PHP وتخزينه في الذاكرة المؤقتة.

ما الفوائد الأداء المرتبطة باستخدام Laravel Octane؟

هناك فرق يصل إلى أربعة أضعاف في الأداء عند استخدام Octane مقارنة بالتطبيق التقليدي. ينعكس ذلك على مشاركة الكائنات بين الطلبات وتخزينها في الذاكرة مع إدارة الحالات بشكل محسّن.

Related Reading

Posts tagged with:

The ICP-to-Pipeline Flywheel: How to Use Firmographic Filters, Buying Signals, and AI Matching to Fill Your CRM With Accounts That Are Ready to Buy Now
Sales

The ICP-to-Pipeline Flywheel: How to Use Firmographic Filters, Buying Signals, and AI Matching to Fill Your CRM With Accounts That Are Ready to Buy Now

Most B2B ideal customer profile (ICP) definitions never make it into the CRM tools sales reps actually use. This guide shows how to translate ICP attributes into compound firmographic filters, layer real-time buying signals on top, score every matching account with an AI match engine, and sync ranked records into HubSpot or Salesforce automatically using LeadOcean and Eaglet by PlusClouds.

The 48-Hour Activation Window: How to Turn a Buying Signal into a Booked Meeting Before Your Competitor Even Sees It
Sales

The 48-Hour Activation Window: How to Turn a Buying Signal into a Booked Meeting Before Your Competitor Even Sees It

B2B buying signals decay fast, and most sales teams lose the advantage by waiting days to act. This guide breaks down how to build a 48-hour activation workflow using LeadOcean and Eaglet to turn raw intent signals into personalised, booked meetings before competitors even open their CRM.

How to Build a First-Party Intent Stack That Feeds LeadOcean: From Website Visitor to Verified Decision-Maker in One Workflow
Sales

How to Build a First-Party Intent Stack That Feeds LeadOcean: From Website Visitor to Verified Decision-Maker in One Workflow

Most B2B demand-generation teams ignore the buying signals already embedded in their own website, content, and product analytics. This guide explains how to build a first-party intent stack that resolves anonymous visitor traffic into verified decision-maker contacts, applies composite intent scoring, and routes high-intent accounts into HubSpot or Salesforce automatically using LeadOcean and Eaglet by PlusClouds.

Signal-First Outbound: How to Build a Personalized-at-Scale Prospecting System That Gets 18 % Reply Rates
Sales

Signal-First Outbound: How to Build a Personalized-at-Scale Prospecting System That Gets 18 % Reply Rates

B2B inboxes in 2026 are overwhelmed with generic cold email, pushing market-wide reply rates below 2%. This guide explains how to build a signal-first, personalized-at-scale outbound system that consistently achieves 18% reply rates by triggering outreach on real buying events and using AI-powered enrichment tools like LeadOcean and Eaglet.