-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.phtml
231 lines (220 loc) · 12.6 KB
/
index.phtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<?php
/** @var string $latestPhpVersion **/
/** @var \DateTimeInterface $latestPhpVersionReleaseDate **/
/** @var float $phpUsagePercentage **/
/** @var float $wordpressCmsUsagePercentage **/
/** @var float $wordpressTotalUsagePercentage **/
/** @var \stdClass $stars **/
$wordpressTotalUsagePercentage = number_format($wordpressTotalUsagePercentage, 1, ',');
?>
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,fit-to-shrink=no">
<meta name="author" content="Vinícius Campitelli, [email protected]">
<meta name="description"
content="Mesmo sendo a linguagem mais usada na Web, muitas pessoas ainda se perguntam diariamente: o PHP morreu? Felizmente, não! Veja aqui estatísticas, referências e alguns projetos para responder à esta pergunta de uma vez por todas.">
<meta property="og:title" content="O PHP não morreu">
<meta property="og:description"
content="Mesmo sendo a linguagem mais usada na Web, muitas pessoas ainda se perguntam diariamente: o PHP morreu? Felizmente, não! Veja aqui estatísticas, referências e alguns projetos para responder à esta pergunta de uma vez por todas.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://phpnaomorreu.com.br">
<meta property="og:image" content="https://phpnaomorreu.com.br/img/phpnaomorreu.png">
<title>O PHP não morreu</title>
<!-- favicons de php.net -->
<link rel="icon" type="image/svg+xml" sizes="any" href="img/favicon.svg">
<link rel="icon" type="image/png" sizes="196x196" href="img/favicon-196x196.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
<link rel="shortcut icon" href="img/favicon.ico">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;600&display=swap" rel="stylesheet">
<link rel="canonical" href="https://phpnaomorreu.com.br">
<link href="css/reset.css" rel="stylesheet">
<link href="css/app.css" rel="stylesheet">
</head>
<body>
<div id="intro-wrapper">
<div class="container">
<div id="header">
<h1>O PHP morreu?</h1>
<h2>NÃO!</h2>
<p>
Veja estatísticas, referências e alguns projetos de umas das principais linguagens de
programação do mercado
</p>
</div>
<div id="stats">
<div>
<a href="https://www.php.net/downloads.php#v<?= $latestPhpVersion ?>">
<b><?= $latestPhpVersion ?></b>
</a>
Última versão estável lançada em <span><?= $latestPhpVersionReleaseDate->format('d/m/Y') ?></span>
<a href="https://www.php.net/downloads.php#v<?= $latestPhpVersion ?>">php.net</a>
</div>
<div>
<a href="https://w3techs.com/technologies/history_overview/programming_language">
<b><?= \number_format($phpUsagePercentage, 1, ',', '') ?>%</b>
</a>
dos sites com linguagens <em>server-side</em> usam PHP
<a href="https://w3techs.com/technologies/history_overview/programming_language">w3techs.com</a>
</div>
<div>
<a href="https://w3techs.com/technologies/details/cm-wordpress">
<b><?= \number_format($wordpressCmsUsagePercentage, 1, ',', '') ?>%</b>
</a>
dos CMS são Wordpress (ou <strong><?= $wordpressTotalUsagePercentage ?>%</strong> de todos os sites)
<a href="https://w3techs.com/technologies/details/cm-wordpress">w3techs.com</a>
</div>
</div>
<footer id="stats-footer">
Última atualização: <?= date('d/m/Y') ?>
</footer>
</div>
</div>
<div id="resources" class="container">
<div class="d-flex">
<div>
<h3>Links</h3>
<ul>
<li><a href="https://php.net">Site oficial</a></li>
<li><a href="https://opencollective.com/phpfoundation">PHP Foundation</a></li>
<li><a href="https://phptherightway.com/">PHP The Right Way</a></li>
<li>
<a href="https://github.com/DanielHe4rt/empresas-php">
Empresas que utilizam PHP no Brasil
</a>
</li>
<li>
<a href="https://github.com/filhodanuvem/awesome-php-jobs">
Empresas que utilizam PHP no mundo
</a>
</li>
</ul>
</div>
<div>
<h3>Eventos nacionais</h3>
<ul>
<li><a href="https://php.darkmiratour.rocks/">Darkmira Tour</a></li>
<li><a href="https://www.phpvelhoeste.com.br/">PHP Velho Oeste</a></li>
<li><a href="https://php.locaweb.com.br/">PHP Community Summit</a></li>
<li><a href="https://phpconference.com.br/">PHP Conference</a></li>
<li><a href="https://www.phpeste.org/">PHPeste</a></li>
</ul>
</div>
</div>
<h3>Comunidades</h3>
<ul>
<li><a href="https://telegram.me/phpba">BA</a></li>
<li><a href="https://phpcomrapadura.org/">CE</a></li>
<li><a href="https://www.phpdf.org.br/">DF</a></li>
<li><a href="https://groups.google.com/g/gophp">GO</a></li>
<li><a href="https://telegram.me/phpmaranhao/">MA</a></li>
<li><a href="https://phpmg.com/">MG</a></li>
<li><a href="https://phpms.com.br/">MS</a></li>
<li><a href="https://php-pb.net/">PB</a></li>
<li><a href="https://www.phppe.net/">PE</a></li>
<li><a href="https://phprio.org/">RJ</a></li>
<li><a href="https://telegram.me/phprn">RN</a></li>
<li><a href="https://telegram.me/phprs">RS</a></li>
<li><a href="https://www.phpsc.com.br/">SC</a></li>
<li><a href="https://phpsp.org.br/">SP</a></li>
</ul>
<ul>
<li><a href="https://phpwomen.org.br/">PHP Women</a></li>
<li><a href="https://github.com/abraphp/">Associação Brasileira de Profissionais PHP</a></li>
</ul>
</div>
<div id="tools" class="container">
<h3>Frameworks e ferramentas</h3>
<ul>
<li>
<img src="img/resources/laravel.png" alt="Laravel">
<a href="https://laravel.com/">
<b>Laravel</b>
<span>Framework PHP para artesãos da Web</span>
</a>
<span class="stars" title="<?= $stars->laravel ?> estrelas no GitHub"><?= $stars->laravel ?></span>
</li>
<li>
<img src="img/resources/laminas.png" alt="Laminas">
<a href="https://getlaminas.org/">
<b>Laminas</b>
<span>Framework e componentes prontos para aplicações empresariais</span>
</a>
<span class="stars" title="<?= $stars->laminas ?> estrelas no GitHub"><?= $stars->laminas ?></span>
</li>
<li>
<img src="img/resources/slim.png" alt="Slim">
<a href="https://www.slimframework.com/">
<b>Slim</b>
<span>Micro-framework para aplicações Web e APIs</span>
</a>
<span class="stars" title="<?= $stars->slim ?> estrelas no GitHub"><?= $stars->slim ?></span>
</li>
<li>
<img src="img/resources/symfony.png" alt="Symfony">
<a href="https://symfony.com/">
<b>Symfony</b>
<span>Framework de alta performance para Desenvolvimento Web</span>
</a>
<span class="stars" title="<?= $stars->symfony ?> estrelas no GitHub"><?= $stars->symfony ?></span>
</li>
<li>
<img src="img/resources/wordpress.png" alt="Wordpress">
<a href="https://br.wordpress.org/">
<b>Wordpress</b>
<span>Ferramenta de blog, plataforma de publicação e CMS</span>
</a>
<span class="globe" title="<?= $wordpressTotalUsagePercentage ?>% da Web usa Wordpress">
<?= $wordpressTotalUsagePercentage ?>%
</span>
</li>
<li>
<img src="img/resources/composer.png" alt="Composer">
<a href="https://getcomposer.org/">
<b>Composer</b>
<span>Gerenciador de dependências</span>
</a>
<span class="stars" title="<?= $stars->composer ?> estrelas no GitHub"><?= $stars->composer ?></span>
</li>
<li>
<img src="img/resources/awesome-php.png" alt="ziadoz/awesome-php">
<a href="https://github.com/ziadoz/awesome-php/">
<b>ziadoz/awesome-php</b>
<span>Lista selecionada de bibliotecas e recursos</span>
</a>
<span class="stars" title="<?= $stars->awesomePhp ?> estrelas no GitHub">
<?= $stars->awesomePhp ?>
</span>
</li>
<li>
<img src="img/resources/thephpleague.png" alt="The PHP League">
<a href="https://thephpleague.com/">
<b>The PHP League</b>
<span>Grupo responsável por diversas bibliotecas modernas e robustas</span>
</a>
<span class="stars" title="<?= $stars->phpLeague ?> estrelas no GitHub"><?= $stars->phpLeague ?></span>
</li>
</ul>
</div>
<footer id="footer" class="container">
<a href="https://github.com/vcampitelli/phpnaomorreu/#como-contribuir" id="link-github"
title="Faça um fork desse repositório no GitHub">
<svg width="24" height="24" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M16 0C7.16 0 0 7.16 0 16C0 23.08 4.58 29.06 10.94 31.18C11.74 31.32 12.04 30.84 12.04 30.42C12.04 30.04 12.02 28.78 12.02 27.44C8 28.18 6.96 26.46 6.64 25.56C6.46 25.1 5.68 23.68 5 23.3C4.44 23 3.64 22.26 4.98 22.24C6.24 22.22 7.14 23.4 7.44 23.88C8.88 26.3 11.18 25.62 12.1 25.2C12.24 24.16 12.66 23.46 13.12 23.06C9.56 22.66 5.84 21.28 5.84 15.16C5.84 13.42 6.46 11.98 7.48 10.86C7.32 10.46 6.76 8.82 7.64 6.62C7.64 6.62 8.98 6.2 12.04 8.26C13.32 7.9 14.68 7.72 16.04 7.72C17.4 7.72 18.76 7.9 20.04 8.26C23.1 6.18 24.44 6.62 24.44 6.62C25.32 8.82 24.76 10.46 24.6 10.86C25.62 11.98 26.24 13.4 26.24 15.16C26.24 21.3 22.5 22.66 18.94 23.06C19.52 23.56 20.02 24.52 20.02 26.02C20.02 28.16 20 29.88 20 30.42C20 30.84 20.3 31.34 21.1 31.18C27.42 29.06 32 23.06 32 16C32 7.16 24.84 0 16 0V0Z"
fill="#24292E"/>
</svg>
Contribua com este projeto
</a>
<div>
<span class="code-meta"><?php</span> <span class="code-variable">$footer</span> =
<span class="code-string">'feito com <span class="heart">♥</span> por
<a href="https://viniciuscampitelli.com">vcampitelli</a>'</span>;
</div>
</footer>
</body>
</html>