Skip to content

Commit c62aa41

Browse files
committed
Prettify landing pages
I came up with the logo all by myself. I'm sure someone else had the same glorious idea a hundred years ago, but you won't take this from me! Finally. A LOGO! Can you believe it!
1 parent 54bad51 commit c62aa41

6 files changed

Lines changed: 114 additions & 26 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
# Firebase Admin PHP SDK
1+
<div align="center">
2+
3+
# Firebase for PHP
4+
5+
<img src="docs/_static/logo.svg" alt="Firebase Admin PHP SDK Logo" width="120">
6+
7+
<p><em>An (unofficial) Firebase Admin SDK for PHP</em></p>
28

39
[![Current version](https://img.shields.io/packagist/v/kreait/firebase-php.svg?logo=composer)](https://packagist.org/packages/kreait/firebase-php)
4-
[![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/kreait/firebase-php)](https://packagist.org/packages/kreait/firebase-php)
510
[![Monthly Downloads](https://img.shields.io/packagist/dm/kreait/firebase-php.svg)](https://packagist.org/packages/kreait/firebase-php/stats)
6-
[![Total Downloads](https://img.shields.io/packagist/dt/kreait/firebase-php.svg)](https://packagist.org/packages/kreait/firebase-php/stats)
11+
[![Total Downloads](https://img.shields.io/packagist/dt/kreait/firebase-php.svg)](https://packagist.org/packages/kreait/firebase-php/stats)<br/>
712
[![Tests](https://github.com/kreait/firebase-php/actions/workflows/tests.yml/badge.svg)](https://github.com/kreait/firebase-php/actions/workflows/tests.yml)
813
[![Integration Tests](https://github.com/kreait/firebase-php/actions/workflows/integration-tests.yml/badge.svg)](https://github.com/kreait/firebase-php/actions/workflows/integration-tests.yml)
914
[![Emulator Tests](https://github.com/kreait/firebase-php/actions/workflows/emulator-tests.yml/badge.svg)](https://github.com/kreait/firebase-php/actions/workflows/emulator-tests.yml)
10-
[![codecov](https://codecov.io/gh/kreait/firebase-php/graph/badge.svg?token=Azl8QCvbTQ)](https://codecov.io/gh/kreait/firebase-php)
1115
[![Sponsor](https://img.shields.io/static/v1?logo=GitHub&label=Sponsor&message=%E2%9D%A4&color=ff69b4)](https://github.com/sponsors/jeromegamez)
1216

17+
</div>
18+
1319
---
1420

1521
> [!IMPORTANT]

docs/_static/custom.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
.sidebar-brand-text {
33
font-size: 1rem !important;
44
line-height: 1.2 !important;
5+
text-align: center !important;
56
}

docs/_static/logo.png

999 Bytes
Loading

docs/_static/logo.svg

Lines changed: 69 additions & 0 deletions
Loading

docs/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22

33
# Project information
4-
project = 'Firebase Admin SDK for PHP'
4+
project = 'Firebase for PHP'
55
author = 'Jérôme Gamez'
66
copyright = 'Jérôme Gamez'
77
version = '7.x'
@@ -33,9 +33,11 @@
3333
suppress_warnings = ['image.nonlocal_uri']
3434

3535
# HTML theme and static files
36+
html_title = 'Firebase for PHP'
3637
html_theme = 'furo'
3738
html_static_path = ['_static']
3839
html_css_files = ['custom.css']
40+
html_logo = "_static/logo.svg"
3941

4042
html_theme_options = {
4143
# GitHub integration
@@ -79,6 +81,9 @@
7981
# SEO and social media
8082
html_baseurl = "https://firebase-php.readthedocs.io/"
8183
ogp_site_url = "https://firebase-php.readthedocs.io/"
84+
ogp_social_cards = {
85+
"image": "_static/logo.png",
86+
}
8287
sitemap_url_scheme = "{lang}{version}{link}"
8388

8489
# Extension-specific configuration

docs/index.rst

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
1-
.. title:: Firebase Admin SDK for PHP
2-
3-
##########################
4-
Firebase Admin SDK for PHP
5-
##########################
6-
7-
Interact with `Google Firebase <https://firebase.google.com>`_ from your PHP application.
8-
9-
.. image:: https://img.shields.io/github/license/kreait/firebase-php.svg
10-
:target: https://github.com/kreait/firebase-php/blob/master/LICENSE
11-
:alt: License
12-
.. image:: https://img.shields.io/github/stars/kreait/firebase-php.svg
13-
:target: https://github.com/kreait/firebase-php/stargazers
14-
:alt: Stargazers
15-
.. image:: https://img.shields.io/packagist/dt/kreait/firebase-php.svg
16-
:target: https://packagist.org/packages/kreait/firebase-php
17-
:alt: Total downloads
18-
.. image:: https://img.shields.io/static/v1?logo=GitHub&label=Sponsor&message=%E2%9D%A4&color=ff69b4
19-
:target: https://github.com/sponsors/jeromegamez
20-
:alt: Sponsoring
1+
.. title:: Firebase for PHP
2+
3+
################
4+
Firebase for PHP
5+
################
6+
7+
.. raw:: html
8+
9+
<div align="center">
10+
11+
<p><img src="_static/logo.svg" alt="Firebase for PHP Logo" width="120"></p>
12+
13+
<p><em>An (unofficial) Firebase Admin SDK for PHP</em></p>
14+
15+
<p>
16+
<a href="https://packagist.org/packages/kreait/firebase-php"><img src="https://img.shields.io/packagist/v/kreait/firebase-php.svg?logo=composer" alt="Current version"></a>
17+
<a href="https://packagist.org/packages/kreait/firebase-php/stats"><img src="https://img.shields.io/packagist/dm/kreait/firebase-php.svg" alt="Monthly Downloads"></a>
18+
<a href="https://packagist.org/packages/kreait/firebase-php/stats"><img src="https://img.shields.io/packagist/dt/kreait/firebase-php.svg" alt="Total Downloads"></a><br/>
19+
<a href="https://github.com/kreait/firebase-php/actions/workflows/tests.yml"><img src="https://github.com/kreait/firebase-php/actions/workflows/tests.yml/badge.svg" alt="Tests"></a>
20+
<a href="https://github.com/kreait/firebase-php/actions/workflows/integration-tests.yml"><img src="https://github.com/kreait/firebase-php/actions/workflows/integration-tests.yml/badge.svg" alt="Integration Tests"></a>
21+
<a href="https://github.com/kreait/firebase-php/actions/workflows/emulator-tests.yml"><img src="https://github.com/kreait/firebase-php/actions/workflows/emulator-tests.yml/badge.svg" alt="Emulator Tests"></a>
22+
<a href="https://github.com/sponsors/jeromegamez"><img src="https://img.shields.io/static/v1?logo=GitHub&label=Sponsor&message=%E2%9D%A4&color=ff69b4" alt="Sponsor"></a>
23+
</p>
24+
25+
</div>
26+
27+
----
2128

2229
.. note::
2330
If you are interested in using the PHP Admin SDK as a client for end-user access
2431
(for example, in a web application), as opposed to admin access from a
2532
privileged environment (like a server), you should instead follow the
2633
`instructions for setting up the client JavaScript SDK <https://firebase.google.com/docs/web/setup>`_.
2734

28-
The source code can be found at https://github.com/kreait/firebase-php/ .
35+
----
2936

3037
***********
3138
Quick Start

0 commit comments

Comments
 (0)