Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge remote-tracking branch 'upstream/master'

  • Loading branch information...
commit 682982bc4c39a7cb7d8a1d83fef8d4740902e953 2 parents 66db2bc + 18131d3
@caseysoftware caseysoftware authored
View
6 CONTRIBUTORS
@@ -0,0 +1,6 @@
+# This is the official list of people who have contributed to the fullcontact-api-php library.
+
+FullContact
+D. Keith Casey, Jr. <contrib@caseysoftware.com>
+Mario Falomir
+Dominic Dimarco
View
13 LICENSE
@@ -0,0 +1,13 @@
+Copyright 2013 FullContact, Inc
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
View
2  README.md
@@ -68,7 +68,7 @@ phpunit tests/
All code included is Apache License.
-Copyright (C) 2013, Keith Casey <contrib at caseysoftware dot com>
+Copyright (C) 2013, FullContact and contributors
Licensed under the Apache License, Version 2.0 (the "License");
View
16 Services/FullContact.php
@@ -1,8 +1,22 @@
<?php
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
function Services_FullContact_autoload($className) {
$library_name = 'Services_FullContact';
-
+
if (substr($className, 0, strlen($library_name)) != $library_name) {
return false;
}
View
14 Services/FullContact/Exception/Base.php
@@ -1,5 +1,19 @@
<?php
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
class Services_FullContact_Exception_Base extends Exception
{
View
14 Services/FullContact/Exception/NoCredit.php
@@ -1,5 +1,19 @@
<?php
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
class Services_FullContact_Exception_NoCredit extends Services_FullContact_Exception_Base
{
View
14 Services/FullContact/Exception/NotImplemented.php
@@ -1,5 +1,19 @@
<?php
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
class Services_FullContact_Exception_NotImplemented extends Services_FullContact_Exception_Base
{
View
14 Services/FullContact/Icon.php
@@ -1,6 +1,20 @@
<?php
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
* This class just tells us what icons we have available
*
* @package Services\FullContact
View
14 Services/FullContact/Location.php
@@ -1,6 +1,20 @@
<?php
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
* This class handles all the Location information
*
* @package Services\FullContact
View
14 Services/FullContact/Name.php
@@ -1,6 +1,20 @@
<?php
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
* This class handles everything related to names that aren't person-based info lookup
*
* @package Services\FullContact
View
14 Services/FullContact/Person.php
@@ -1,6 +1,20 @@
<?php
/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
* This class handles everything related to the Person lookup API.
*
* @package Services\FullContact
View
9 composer.json
@@ -1,12 +1,15 @@
{
- "name": "caseysoftware/fullcontact-helper",
+ "name": "fullcontact/sdk",
"type": "library",
"description": "A PHP wrapper for Full Contacts's API",
"keywords": ["fullcontact", "address", "api"],
- "homepage": "http://github.com/caseysoftware/fullcontact-api-php",
+ "homepage": "http://github.com/fullcontact/fullcontact-api-php",
"license": "Apache",
"authors": [
{
+ "name": "FullContact"
+ },
+ {
"name": "Keith Casey",
"email": "contrib@caseysoftware.com"
}
@@ -22,4 +25,4 @@
"Services_FullContact": ""
}
}
-}
+}
View
14 tests/FullContactAPITest.php
@@ -1,5 +1,19 @@
<?php
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
include_once 'creds.php';
include_once 'src/FullContact.php';
include_once 'Services/FullContact.php';
View
14 tests/NameTest.php
@@ -1,5 +1,19 @@
<?php
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
include_once 'creds.php';
include_once 'Services/FullContact.php';
View
14 tests/PersonTest.php
@@ -1,5 +1,19 @@
<?php
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
include_once 'creds.php';
include_once 'Services/FullContact.php';
Please sign in to comment.
Something went wrong with that request. Please try again.