This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"require": { | |
"adnanhussainturki/microsoft-api-php": "^0.03.0" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use myPHPnotes\Microsoft\Auth; | |
use myPHPnotes\Microsoft\Handlers\Session; | |
use myPHPnotes\Microsoft\Models\User; | |
session_start(); | |
require "vendor/autoload.php"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
require "vendor/autoload.php"; | |
use myPHPnotes\Microsoft\Auth; | |
$tenant = "common"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Sign in with Microsoft</title> | |
</head> | |
<body> | |
<a href="/signin.php">Sign in with Microsoft</a> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require "../vendor/autoload.php"; | |
use myPHPnotes\cPanel; | |
// Creating Connection | |
$cPanel = new cPanel(__USERNAME__,__PASSWORD__, __HOST__); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
require "../vendor/autoload.php"; | |
use myPHPnotes\cPanel; | |
$cPanel = new cPanel(__USERNAME__,__PASSWORD__, __HOST__); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$states = [ | |
"AN" => "Andaman and Nicobar Islands", | |
"AP" => "Andhra Pradesh", | |
"AR" => "Arunachal Pradesh", | |
"AS" => "Assam", | |
"BR" => "Bihar", | |
"CG" => "Chandigarh", | |
"CH" => "Chhattisgarh", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Default Filesystem Disk | |
|-------------------------------------------------------------------------- | |
| | |
| Here you may specify the default filesystem disk that should be used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use Hypweb\Flysystem\GoogleDrive\GoogleDriveAdapter; | |
use Illuminate\Support\ServiceProvider; | |
use League\Flysystem\Filesystem; | |
class GoogleDriveServiceProvider extends ServiceProvider | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace myPHPnotes; | |
use Crummy\Phlack\Phlack; | |
class SlackLogger | |
{ | |
protected $client; |
NewerOlder