现已推出具有 MongoDB 兼容性的 Firestore 企业版!
了解详情。
حِزم تطوير البرامج (SDK) ومكتبات العملاء
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
توضّح هذه الصفحة حِزم SDK ومكتبات العملاء المتاحة لواجهة برمجة التطبيقات Firebase. على الرغم من أنّه يمكنك إجراء طلبات HTTP وRPC مباشرةً إلى واجهة برمجة التطبيقات Firebase، إلا أنّ مكتبات برامج Firebase تنفّذ أفضل الممارسات نيابةً عنك وتسهّل عليك الوصول إلى قاعدة البيانات.
تتوافق Firebase مع حِزم SDK للأجهزة الجوّالة أو الويب ومكتبات برامج الخادم والعميل.
حِزم تطوير البرامج (SDK) على الأجهزة الجوّالة والويب
تتوافق Firebase مع حِزم تطوير البرامج (SDK) على Android وiOS والويب. بالإضافة إلى Firebase قواعد الأمان وFirebase Auth، تتيح حِزم تطوير البرامج (SDK) للأجهزة الجوّالة والويب بنية تطبيقات بدون خادم حيث تتصل الأجهزة مباشرة بقاعدة بيانات Firebase. باستخدام بنية أساسية بدون خادم، لن تحتاج إلى صيانة خادم وسيط بين العملاء وقاعدة بيانات Firebase.
تتيح حِزم تطوير البرامج (SDK) للأجهزة الجوّالة والويب أيضًا التعديلات في الوقت الفعلي واستمرار البيانات بلا اتصال بالإنترنت.
لبدء استخدام حزمة تطوير البرامج (SDK) على Android أو منصات Apple أو الويب، يُرجى الاطّلاع على
بدء استخدام Firebase.
المراجع والموارد
لمزيد من المعلومات حول كل حزمة SDK، يُرجى الاطّلاع على المراجع التالية:
الويب
بالإضافة إلى حزمة تطوير البرامج (SDK) العادية الخاصة بالعميل، يوفّر Firebase حزمة Firestore Lite، وهي حزمة تطوير برامج (SDK) خفيفة الوزن تعتمد على REST فقط.
مكتبات برامج الخادم
تتوافق Firebase مع مكتبات برامج الخادم للغات C# وGo وJava وNode.js وPHP وPython وRuby. استخدِم مكتبات البرامج هذه لإعداد بيئات خادم ذات امتيازات.
تنشئ مكتبات برامج الخادم بيئة Firebase ذات امتيازات خاصة
تتيح الوصول الكامل إلى قاعدة البيانات. في هذه البيئة، لا يتم تقييم الطلبات وفقًا لقواعد الأمان Firebase. يتم تأمين الخوادم التي تتطلّب امتيازات باستخدام خدمة "إدارة الهوية وإمكانية الوصول" (IAM)، راجِع الأمان لمكتبات برامج الخادم.Firebase
استخدِم مكتبات برامج خادم قاعدة البيانات لمهام قاعدة البيانات الإدارية أو إذا كنت تفضّل بنية تتضمّن خادمًا وسيطًا بين المستخدمين وقاعدة بيانات Firebase.
تتوفّر مكتبات برامج خادم Firebase على شكل حِزم Firebase Admin SDK وعلى شكل مكتبات برامج Google Cloud. تقدّم مجموعتا المكتبات الميزات نفسها Firebase. توفّر حِزم Firebase Admin SDK إمكانية الوصول إلى Firebase والعديد من منتجات Firebase الأخرى، مثل Firebase Auth وFirebase Cloud Messaging، في مكتبة واحدة.
حِزم Firebase Admin SDK
تتضمّن حزمة Firebase Admin SDKs مكتبات برامج Google Cloud للعملاء الخاصة بـ Firebase، بالإضافة إلى مكتبات برامج العملاء وحِزم SDK الخاصة بالعديد من ميزات Firebase الأخرى. باستخدام إحدى حِزم SDK للمشرف، يمكنك إعداد إذن الوصول إلى Firebase والعديد من الخدمات الأخرى من حزمة SDK واحدة. تتيح حِزم تطوير البرامج (SDK) الخاصة بمشرفي Firebase إمكانية الوصول إلى Firebase في Java وPython وNode.js وGo.
لبدء استخدام حزمة تطوير البرامج (SDK) الخاصة بمدير Firebase، اطّلِع على مقالة
إضافة حزمة تطوير البرامج (SDK) الخاصة بمدير Firebase إلى الخادم.
المراجع والموارد
لمزيد من المعلومات عن حِزم تطوير البرامج (SDK) الخاصة بمشرف Firebase، اطّلِع على المراجع التالية:
مكتبات برامج Google Cloud
تتيح مكتبات برامج Google Cloud إمكانية الوصول إلى Firebase في
Java وPython وNode.js وGo وPHP وC# وRuby. لبدء استخدام إحدى مكتبات برامج Google Cloud، يُرجى الاطّلاع على دليل البدء السريع باستخدام مكتبة برامج خادم.
المراجع والموارد
لمزيد من المعلومات حول مكتبات برامج Google Cloud الخاصة بلغة Firebase،
يُرجى الاطّلاع على المراجع التالية:
عمليات الدمج مع مكتبات تابعة لجهات خارجية
بالإضافة إلى حِزم تطوير البرامج (SDK) للأجهزة الجوّالة أو الويب ومكتبات برامج الخادم والعميل، يوفّر Firebase عددًا من عمليات الدمج مع المكتبات المفتوحة المصدر. لمزيد من المعلومات، يُرجى الاطّلاع على عمليات الدمج مع المكتبات وأُطر العمل.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["\u003cbr /\u003e\n\nThis page describes the SDKs and client libraries available for the\nFirebase API. While you can make direct HTTP and RPC calls to the\nFirebase API, the Firebase client libraries\nimplement best practices for you and make it easier to access your database.\n\nFirebase supports mobile or web SDKs and server client\nlibraries.\n\nMobile and web SDKs\n\nFirebase supports SDKs for Android, iOS, and web. Combined with\n[Firebase security rules](https://cloud.google.com/firestore/docs/security/get-started)\nand [Firebase Auth](https://firebase.google.com/docs/auth/), the\nmobile and web SDKs support serverless app architectures where clients connect\ndirectly to your Firebase database. With a serverless\narchitecture, you don't need to maintain an intermediary server between your\nclients and your Firebase database.\n\nThe mobile and web SDKs also support\n[realtime updates](https://cloud.google.com/firestore/docs/query-data/listen)\nand [offline data persistence](https://firebase.google.com/docs/firestore/manage-data/enable-offline).\nTo get started with the Android, Apple platforms, or Web SDK, see [Get started with Firebase](/docs/firestore/quickstart).\n\nReferences and resources\n\nFor more information about each SDK, see the following resources: \n\nWeb\n\n- [API Reference Documentation](https://firebase.google.com/docs/reference/js/firebase.firestore)\n- [Source Code](https://github.com/firebase/firebase-js-sdk/tree/master/packages/firestore)\n- [GitHub Issue Tracker](https://github.com/firebase/firebase-js-sdk/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-firestore+javascript)\n\n\nIn addition to the standard client SDK, Firebase offers Firestore Lite, a\nlightweight, REST-only SDK.\n\n- [Firestore Lite Solutions Guide](https://firebase.google.com/docs/firestore/solutions/firestore-lite)\n- [Firestore Lite API Reference Documentation](https://firebase.google.com/docs/reference/js/firestore_lite.md)\n- [Firestore Lite Source Code](https://github.com/firebase/firebase-js-sdk/tree/master/packages/firestore/lite)\n- [Firestore Lite GitHub Issue Tracker](https://github.com/firebase/firebase-js-sdk/labels/api%3A%20firestore)\n\niOS+\n\n- [API Reference Documentation](https://firebase.google.com/docs/reference/swift/firebasefirestore/api/reference/Classes)\n- [Source Code](https://github.com/firebase/firebase-ios-sdk/tree/master/Firestore)\n- [GitHub Issue Tracker](https://github.com/firebase/firebase-ios-sdk/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-firestore+ios)\n\nAndroid\n\n- [API Reference Documentation](https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/package-summary)\n- [Source Code](https://github.com/firebase/firebase-android-sdk/tree/master/firebase-firestore)\n- [GitHub Issue Tracker](https://github.com/firebase/firebase-android-sdk/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-firestore+android)\n\nFlutter\n\n- [API Reference Documentation](https://pub.dev/documentation/cloud_firestore/latest/)\n- [Source Code](https://github.com/firebase/flutterfire/)\n- [GitHub Issue Tracker](https://github.com/firebase/flutterfire/issues)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-firestore+flutter)\n\nServer client libraries\n\nFirebase supports server client libraries for C#, Go, Java,\nNode.js, PHP, Python, and Ruby. Use these client libraries to set up\nprivileged server environments.\n\nServer client libraries create a privileged Firebase environment\nwith full access to your database. In this environment, requests are not\nevaluated against your Firebase security rules. Privileged\nFirebase servers are secured using Identity and Access Management\n(IAM), see [Security for server client libraries](../security/iam).\n\nUse the server client libraries for administrative database tasks or\nif you prefer an architecture with an intermediary server between your users and\nyour Firebase database.\n\nFirebase server client libraries are available as [Firebase Admin\nSDKs](https://firebase.google.com/docs/admin/setup) and as Google Cloud\nclient libraries. Both sets of libraries\nprovide the same Firebase features. The Firebase Admin SDKs bundle\naccess to Firebase and several other Firebase products, like\nFirebase Auth and Firebase Cloud Messaging, in a single library.\n\nFirebase Admin SDKs\n\nThe [Firebase Admin SDKs](https://firebase.google.com/docs/admin/setup) bundle\nthe Google Cloud client libraries for Firebase alongside client\nlibraries and SDKs for several other Firebase features. Using one of the Admin\nSDKs, you can initialize access to Firebase and several other\nservices from a single SDK. The Firebase Admin SDKs support\nFirebase access in Java, Python, Node.js, and Go.\n\nTo get started with a Firebase Admin SDK, see\n[Add the Firebase Admin SDK to Your Server](https://firebase.google.com/docs/admin/setup).\n\nReferences and resources\n\nFor more information about Firebase Admin SDKs, see the following resources: \n\nJava\n\n- [API Reference Documentation](https://firebase.google.com/docs/reference/admin/java/reference/com/google/firebase/package-summary)\n- [Source Code](https://github.com/firebase/firebase-admin-java)\n- [GitHub Issue Tracker](https://github.com/firebase/firebase-admin-java/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/firebase-admin+java)\n\nPython\n\n- [API Reference Documentation](https://firebase.google.com/docs/reference/admin/python/)\n- [Source Code](https://github.com/firebase/firebase-admin-python)\n- [GitHub Issue Tracker](https://github.com/firebase/firebase-admin-python/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/firebase-admin+python)\n\nNode.js\n\n- [API Reference Documentation](https://firebase.google.com/docs/reference/admin/node/)\n- [Source Code](https://github.com/firebase/firebase-admin-node)\n- [GitHub Issue Tracker](https://github.com/firebase/firebase-admin-node/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/node.js+firebase-admin)\n\nGo\n\n- [API Reference Documentation](https://godoc.org/firebase.google.com/go)\n- [Source Code](https://github.com/firebase/firebase-admin-go)\n- [GitHub Issue Tracker](https://github.com/firebase/firebase-admin-go/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/firebase-admin+go)\n\nGoogle Cloud client libraries\n\nThe Google Cloud client libraries support Firebase access in\nJava, Python, Node.js, Go, PHP, C#, and Ruby. To get started with one of the\nGoogle Cloud client libraries, see the\n[Quickstart using a Server Client Library](https://cloud.google.com/firestore/docs/quickstart-servers).\n\nReferences and resources\n\nFor more information about Google Cloud client libraries for Firebase,\nsee the following resources: \n\nJava\n\n- [API Reference Documentation](https://cloud.google.com/java/docs/reference/google-cloud-firestore/latest/overview.html)\n- [Source Code](https://github.com/googleapis/java-firestore)\n- [GitHub Issue Tracker](https://github.com/googleapis/java-firestore/issues)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-firestore+java)\n\nPython\n\n- [API Reference Documentation](https://cloud.google.com/python/docs/reference/firestore/latest/index.html)\n- [Source Code](https://github.com/googleapis/python-firestore)\n- [GitHub Issue Tracker](https://github.com/googleapis/python-firestore/issues)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-firestore+python)\n\nNode.js\n\n- [API Reference Documentation](https://googleapis.dev/nodejs/firestore/latest/)\n- [Source Code](https://github.com/googleapis/nodejs-firestore/)\n- [GitHub Issue Tracker](https://github.com/googleapis/nodejs-firestore/issues)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/node.js+google-cloud-firestore)\n\nGo\n\n- [API Reference Documentation](https://godoc.org/cloud.google.com/go/firestore)\n- [Source Code](https://github.com/googleapis/google-cloud-go/tree/master/firestore)\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-go/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-firestore+go)\n\nPHP\n\n- [API Reference Documentation](https://googleapis.github.io/google-cloud-php/#/docs/cloud-firestore/latest)\n- [Source Code](https://github.com/googleapis/google-cloud-php/tree/master/Firestore)\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-php/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-firestore+php)\n\nC#\n\n- [API Reference Documentation](https://googleapis.github.io/google-cloud-dotnet/docs/Google.Cloud.Firestore/)\n- [Source Code](https://github.com/googleapis/google-cloud-dotnet)\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-dotnet/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-firestore+c%23)\n\nRuby\n\n- [API Reference Documentation](https://googleapis.dev/ruby/google-cloud-firestore/latest)\n- [Source Code](https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-firestore)\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-ruby/labels/api%3A%20firestore)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-firestore+ruby)\n\nThird-party library integrations\n\nIn addition to the mobile or web SDKs and server client libraries,\nFirebase offers a number of integrations with open-source\nlibraries. For more information, see [Library and framework\nintegrations](https://firebase.google.com/docs/firestore/library-integrations)."]]