You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-27Lines changed: 33 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,49 +16,55 @@
16
16
17
17
</div>
18
18
19
-
> [!IMPORTANT]
19
+
> [!IMPORTANT]
20
20
> **Support the project:** This SDK is downloaded 1M+ times monthly and powers thousands of applications.
21
21
> If it saves you or your team time, please consider
22
22
> [sponsoring its development](https://github.com/sponsors/jeromegamez).
23
23
24
+
> [!NOTE]
25
+
> If you are interested in using the PHP Admin SDK as a client for end-user access (for example, in a web application),
26
+
> as opposed to admin access from a privileged environment (like a server), you should instead follow the
27
+
> [instructions for setting up the client JavaScript SDK](https://firebase.google.com/docs/web/setup).
28
+
24
29
## Overview
25
30
26
31
[Firebase](https://firebase.google.com/) provides the tools and infrastructure you need to develop your app, grow your user base, and earn money. The Firebase Admin PHP SDK enables access to Firebase services from privileged environments (such as servers or cloud) in PHP.
27
32
28
33
For more information, visit the [Firebase Admin PHP SDK documentation](https://firebase-php.readthedocs.io/).
29
34
30
-
31
35
## Installation
32
36
33
-
The Firebase Admin PHP SDK is available on Packagist as [`kreait/firebase-php`](https://packagist.org/packages/kreait/firebase-php):
37
+
The recommended way to install the Firebase Admin SDK is with [Composer](https://getcomposer.org).
38
+
Composer is a dependency management tool for PHP that allows you to declare the dependencies
39
+
your project needs and installs them into your project.
34
40
35
41
```bash
36
-
composer require "kreait/firebase-php:^7.0"
42
+
composer require "kreait/firebase-php:^7.0"
37
43
```
38
44
39
-
## Supported Versions
40
-
41
-
**Only the latest version is actively supported.**
42
-
43
-
| Version | Initial Release | Supported PHP Versions | Status |
<td>A big thank you to <a href="https://www.jetbrains.com">JetBrains</a> for supporting this project with free open-source licences of their IDEs.</td>
59
-
</tr>
60
-
</body>
61
-
</table>
45
+
Please continue to the [Setup section](docs/setup.rst) to learn more about connecting your application to Firebase.
46
+
47
+
If you want to use the SDK within a Framework, please follow the installation instructions here:
Copy file name to clipboardExpand all lines: docs/index.rst
+68-21Lines changed: 68 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,15 +27,38 @@ Firebase for PHP
27
27
.. important::
28
28
**Support the project:** This SDK is downloaded 1M+ times monthly and powers thousands of applications. If it saves you or your team time, please consider `sponsoring its development <https://github.com/sponsors/jeromegamez>`_.
29
29
30
-
----
31
-
32
30
.. note::
33
31
If you are interested in using the PHP Admin SDK as a client for end-user access
34
32
(for example, in a web application), as opposed to admin access from a
35
33
privileged environment (like a server), you should instead follow the
36
34
`instructions for setting up the client JavaScript SDK <https://firebase.google.com/docs/web/setup>`_.
37
35
38
-
----
36
+
********
37
+
Overview
38
+
********
39
+
40
+
`Firebase <https://firebase.google.com/>`_ provides the tools and infrastructure you need to develop your app,
41
+
grow your user base, and earn money. The Firebase Admin PHP SDK enables access to Firebase services from
42
+
privileged environments (such as servers or cloud) in PHP.
43
+
44
+
************
45
+
Installation
46
+
************
47
+
48
+
The recommended way to install the Firebase Admin SDK is with `Composer <http://getcomposer.org>`_.
49
+
Composer is a dependency management tool for PHP that allows you to declare the dependencies
50
+
your project needs and installs them into your project.
51
+
52
+
.. code-block:: bash
53
+
54
+
composer require "kreait/firebase-php:^7.0"
55
+
56
+
Please continue to the :ref:`Setup section <setup>` to learn more about connecting your application to Firebase.
57
+
58
+
If you want to use the SDK within a Framework, please follow the installation instructions here:
0 commit comments