better support without using composer
This commit is contained in:
7
lib/Unirest.php
Normal file
7
lib/Unirest.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
require(dirname(__FILE__) . '/Unirest/HttpMethod.php');
|
||||
require(dirname(__FILE__) . '/Unirest/HttpResponse.php');
|
||||
require(dirname(__FILE__) . '/Unirest/Unirest.php');
|
||||
|
||||
?>
|
||||
@@ -1,6 +1,4 @@
|
||||
<?php
|
||||
namespace Unirest;
|
||||
|
||||
class HttpMethod
|
||||
{
|
||||
const DELETE = "DELETE";
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<?php
|
||||
namespace Unirest;
|
||||
|
||||
class HttpResponse
|
||||
{
|
||||
private $code;
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<?php
|
||||
namespace Unirest;
|
||||
|
||||
class Unirest
|
||||
{
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user