Show git contributors
<?php View::partial('gitcontributors', '+1 day')?>Cache de 1 día
| <h2>Gracias a todos los colaboradores</h2> | |
| <?php | |
| ini_set("user_agent", 'KumbiaPHP bot'); | |
| $url = 'https://api.github.com/repos/KumbiaPHP/KumbiaPHP/contributors'; | |
| $team = json_decode(file_get_contents($url)); | |
| foreach($team as $user) :?> | |
| <a href="https://github.com/<?= $user->login?>" title="@<?= $user->login?>"> | |
| <img src="<?= $user->avatar_url ?>&s=60" width=60 height=60 alt="<?= $user->contributions?> contribuciones"></a> | |
| <?php endforeach ?> |