Skip to content

Commit f3ac178

Browse files
committed
Curl using composer
1 parent ca69ece commit f3ac178

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vendor/
2+
composer.lock

composer.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "php-curl-class/php-curl-class",
3+
"description": "PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.",
4+
"autoload": {
5+
"classmap": ["lib/"]
6+
}
7+
}

Curl.class.php lib/Curl.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
class Curl {
34
const USER_AGENT = 'PHP-Curl-Class/1.0 (+https://github.com/php-curl-class/php-curl-class)';
45

0 commit comments

Comments
 (0)