Skip to content

Commit

Permalink
feat: Install Requests
Browse files Browse the repository at this point in the history
  • Loading branch information
this-is-allan committed Apr 8, 2019
1 parent 30cbde4 commit b420c76
Show file tree
Hide file tree
Showing 117 changed files with 15,638 additions and 0 deletions.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"rmccue/requests": "^1.7"
}
}
67 changes: 67 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php

// First, include Requests
include('vendor/rmccue/requests/library/Requests.php');
Requests::register_autoloader();

if (isset($_GET['page'])) {
$requested_page = $_GET['page'];
}
Expand Down
7 changes: 7 additions & 0 deletions vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInitbd529064b260f71109561d09a9e175c6::getLoader();
Loading

0 comments on commit b420c76

Please sign in to comment.