Мы внедряли Sign In With Apple на сайте, здесь инструкция для PHP для внедрения кнопки Sign In Witn Apple на сайт в фреймворке Yii 2
yiisoft/yii2-authclient - поддержка OAuth 2 в Yii 2
firebase/php-jwt - Apple использует JWT токены
| package com.example.helloworld; | |
| public class Shift { | |
| public static void showShift(){ | |
| //byte val = 1; int tmp; | |
| byte val = (byte) (1 << 7); int tmp; | |
| int r; | |
| for(int i = 0; i < 32; i++){ | |
| tmp = val; | |
| //tmp <<= i; |
| <?php | |
| //git log --stat --since="2018-08-02" | grep -v vendor | grep "( \| )|(Author: )" > programmers.log 2>&1 | |
| //php main_script.php | |
| $data = file_get_contents(__DIR__.'/programmers.log'); | |
| $data = explode("\n", $data); | |
| $authors = []; | |
| $currentAuthor = ''; | |
| $lines = 0; |