PHPackages                             iu-redcap/phpcap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. iu-redcap/phpcap

ActiveLibrary[API Development](/categories/api)

iu-redcap/phpcap
================

PHP library for accessing the REDCap API

1.5.5(2w ago)2011.5k—6.7%71BSD-3-ClausePHPPHP &gt;=5.6.0CI failing

Since Jun 1Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/IUREDCap/phpcap)[ Packagist](https://packagist.org/packages/iu-redcap/phpcap)[ RSS](/packages/iu-redcap-phpcap/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (15)Versions (41)Used By (1)

PHPCap
======

[](#phpcap)

PHPCap is a PHP API (Application Programming Interface) for REDCap, that lets you:

- export/import/delete data in REDCap
- export/import/delete project information (e.g., field names and types) in REDCap

PHPCap makes accessing REDCap from a PHP program easier by providing:

- a high-level interface
- improved error checking

REDCap is a web application for building and managing online surveys and databases. For information about REDCap, please see .

Developers: [Jim Mullen](https://github.com/mullen2); [Andy Arenson](https://github.com/aarenson),

[![Packagist](https://camo.githubusercontent.com/4858db9a313bd2f001094f50117dd189e4423604f8ebfe346926f7ecfec4801f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f69757265646361702f5048504361702e737667)](https://packagist.org/packages/iu-redcap/phpcap)[![PHP 5.6+](https://camo.githubusercontent.com/4cbdbfeca62402b9ca3d48503f2bf66fc9809569bcd6de47196d39fecff71e72/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e362d3838393242462e737667)](https://php.net/)[![BSD 3-Clause](https://camo.githubusercontent.com/27ad6657655df4fed5eb063ff7c6d6e0615078c817d1e6a553702e85ca33cb61/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f69757265646361702f5048504361702e737667)](https://opensource.org/licenses/BSD-3-Clause)

Requirements
------------

[](#requirements)

To use PHPCap, you need to have:

- A computer with PHP 5.6 or later installed, and PHP needs to have cURL and OpenSSL enabled.
- An account on a REDCap site.
- API token(s) for the project(s) you want to access. API tokens need to be requested within the REDCap system.

Example
-------

[](#example)

```
