PHPackages                             starteed/crowdfunding - 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. starteed/crowdfunding

ActiveLibrary[API Development](/categories/api)

starteed/crowdfunding
=====================

A PHP wrapper for Starteed Crowdfunding's API

v1.0.0(8y ago)07811MITPHPPHP &gt;=5.5.9

Since Sep 26Pushed 8y ago2 watchersCompare

[ Source](https://github.com/StarteedGroup/crowdfunding)[ Packagist](https://packagist.org/packages/starteed/crowdfunding)[ Docs](https://github.com/StarteedGroup/crowdfunding)[ RSS](/packages/starteed-crowdfunding/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

Starteed SELF PHP API wrapper
-----------------------------

[](#starteed-self-php-api-wrapper)

Official Starteed SELF PHP API wrapper: help to read public data of Starteed SELF campaigns.

Widely inspired by [Sparkpost PHP API wrapper](https://github.com/SparkPost/php-sparkpost).

Still in **alpha** version.

Authentication is provided with API key: contact our support to get one.

Installation
------------

[](#installation)

Install Composer first

```
curl -sS https://getcomposer.org/installer | php

```

Starteed SELF requires a php-http client: we suggest Guzzle6.

```
composer require php-http/guzzle6-adapter

```

Next install the package.

```
composer require starteed/crowdfunding

```

Setting up a Request Adapter
----------------------------

[](#setting-up-a-request-adapter)

Because of dependency collision, we have opted to use a request adapter rather than requiring a request library. This means that your application will need to pass in a request adapter to the constructor of the Starteed SELF Library (we chose HttpPlug). Please visit their repo for a list of supported clients and adapters. If you don't currently use a request library, you will need to require one and create a client from it and pass it along. The example below uses the GuzzleHttp Client Library.

A Client can be setup like so:

```

```

Localization
------------

[](#localization)

Localization is provided by Accept-Language header: you can pass a dash or underscore value (e.g.: it\_IT or it-IT) or just the language ISO code in the configuration array.

```
$http_client = new GuzzleAdapter(new Client);
$starteed = new Crowdfunding($http_client, [
    'platform' => 'myplatform.starteed.com',
    'language' => 'en_US'
]);

```

*Note that if the language locale is not available all the results will be translated with default language as fallback*

Campaigns
---------

[](#campaigns)

### Paginated results

[](#paginated-results)

```
/**
 * @var Starteed\Resources\CampaignResource[] $campaigns
 */
$campaigns = $starteed->campaigns()->all();

// Grabbing first element of the data array
$campaign = $campaigns()->data[0];

$campaign->translation->title
# My campaign title

$campaign->goal
# 15000

$campaign->currency
#{
#    "id": 1,
#    "code": "EUR",
#    "symbol": "€",
#    "label": "Euro"
#}

$campaign->currency->label
# Euro

```

### Retrieve by ID

[](#retrieve-by-id)

```
$campaign = $starteed->campaigns()->retrieve(1);

$campaign->translation->title
# My campaign title

$campaign->goal
# 15000

$campaign->duration
#{
#    "start": 1476264100,
#    "end": 1479427200,
#    "is_non_stop": false
#}

```

Rewards
=======

[](#rewards)

### Paginated results

[](#paginated-results-1)

```
/**
 * @var Starteed\Resources\RewardResource[] $rewards
 */
$rewards = $starteed->campaigns()->retrieve(1)->rewards->all();

// Grabbing first element of the data array
$reward = $campaigns()->data[0];

$reward->image
# "rewards/57fcce15a573a.jpg"

$reward->is_active
# true

$reward->estimated_shipping
# 1476662400

$reward->translation->description
# The reward description chosen by campaign admin

```

### Retrieve by ID

[](#retrieve-by-id-1)

```
$reward = $starteed->campaigns()->retrieve(1)->rewards()->retrieve(2);

$reward->amount
# 50

```

FAQs
====

[](#faqs)

### Paginated results

[](#paginated-results-2)

```
/**
 * @var Starteed\Resources\FaqResource[] $faqs
 */
$faqs = $starteed->campaigns()->retrieve(1)->faqs->all();

// Grabbing first element of the data array
$faq = $faqs[0];

$faq->translation->question
# "Is this a question?"

$faq->translation->answer
# "It looks like it!"

```

### Retrieve by ID

[](#retrieve-by-id-2)

```
$faq = $starteed->campaigns()->retrieve(1)->faqs()->retrieve(2);

$faq->translation->question
# "Are donations deductible?"

$faq->translation->answer
# "Yes, of course: you will receive a receipt via email once the donation is confirmed!"

```

Donors
======

[](#donors)

### Paginated results

[](#paginated-results-3)

```
/**
 * @var Starteed\Resources\DonorResource[] $donors
 */
 $donors = $starteed->campaigns()->retrieve(1)->donors()->all();

// Grabbing first element of the data array
$donor = $donors[0];

$supporter->firstname
# "John"

$supporter->lastname
# "Doe"

```

### Retrieve by ID

[](#retrieve-by-id-3)

```
$donnor = $starteed->campaigns()->retrieve(1)->donors()->retrieve(2);

$donor->email
# "john.doe@starteed.com"

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3200d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9697646?v=4)[Dario Tranchitella](/maintainers/prometherion)[@prometherion](https://github.com/prometherion)

---

Top Contributors

[![prometherion](https://avatars.githubusercontent.com/u/9697646?v=4)](https://github.com/prometherion "prometherion (10 commits)")

---

Tags

apiclientwrappercrowdfundingstarteed

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/starteed-crowdfunding/health.svg)

```
[![Health](https://phpackages.com/badges/starteed-crowdfunding/health.svg)](https://phpackages.com/packages/starteed-crowdfunding)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M717](/packages/sylius-sylius)[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k26.1M295](/packages/openai-php-client)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35729.6k2](/packages/telnyx-telnyx-php)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28146.3k](/packages/phpro-http-tools)[apigee/apigee-client-php

Client library for connecting to the Apigee Edge API.

26575.0k3](/packages/apigee-apigee-client-php)[jolicode/slack-php-api

An up to date PHP client for Slack's API

2554.6M13](/packages/jolicode-slack-php-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
