From af4ecffed8d6f6d3e7a23f00d425bf10e641f805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Kurid=C5=BEa?= Date: Mon, 22 Oct 2012 07:44:04 +0200 Subject: [PATCH 1/2] add composer support --- composer.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..fcdbbec --- /dev/null +++ b/composer.json @@ -0,0 +1,19 @@ +{ + "name": "mikecao/flight", + "autoload": { + "files": ["flight/flight.php"] + }, + "license": "MIT", + "description": "Flight is a fast, simple, extensible framework for PHP. Flight enables you to quickly and easily build RESTful web applications.", + "authors": [ + { + "name": "Mike Cao", + "email": "mike@mikecao.com", + "homepage": "http://www.mikecao.com/", + "role": "Original Developer" + } + ], + "require": { + "php": ">=5.3.0" + } +} From a1eb9ec6333ddf98c1e7e0f2ece8bf1d5d5f2335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Kurid=C5=BEa?= Date: Wed, 24 Oct 2012 23:38:07 +0200 Subject: [PATCH 2/2] fix composer's autoloading path --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fcdbbec..95f3438 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "mikecao/flight", "autoload": { - "files": ["flight/flight.php"] + "files": ["flight/Flight.php"] }, "license": "MIT", "description": "Flight is a fast, simple, extensible framework for PHP. Flight enables you to quickly and easily build RESTful web applications.",