PHPackages                             ethical-jobs/ethical-jobs-sdk - 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. ethical-jobs/ethical-jobs-sdk

ActiveLibrary[API Development](/categories/api)

ethical-jobs/ethical-jobs-sdk
=============================

EthicalJobs API client

v1.1.1(7y ago)01.2kMITPHPPHP ^7.0

Since Feb 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ethical-jobs/ethical-jobs-sdk-php)[ Packagist](https://packagist.org/packages/ethical-jobs/ethical-jobs-sdk)[ Docs](https://github.com/ethical-jobs/ethical-jobs-sdk-php)[ RSS](/packages/ethical-jobs-ethical-jobs-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (8)Versions (34)Used By (0)

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

[](#installation)

`composer require ethical-jobs/ethical-jobs-sdk`

For Laravel &lt; `5.5.x` include the service provider and facade in you `config/app.php` file `EthicalJobs\SDK\Laravel\ServiceProvider::class`, `'EthicalJobs' => EthicalJobs\SDK\Laravel\ApiFacade::class,`. For Laravel &gt;= `5.5.x` the package will auto-include the service provider and facade.

Authentication
--------------

[](#authentication)

You will need to set 4 environment variables to enable authentication:

```
{
    "AUTH_CLIENT_ID": "The client id of the oauth grant",
    "AUTH_CLIENT_SECRET": "The client secret of the oauth grant",
    "AUTH_SERVICE_USERNAME": "Username or email of the user",
    "AUTH_SERVICE_PASSWORD": "Base64 encoded password of the user",
}
```

Authentication is made using `oauth2` and JWT tokens are returned and attached to headers as bearer tokens. The grant type is a `password` grant and thus its attached to a user model and thus the users access rights and roles.

Making Requests
---------------

[](#making-requests)

There are many ways to access api resources, following are some examples:

```
// GET /jobs
EthicalJobs::get('/jobs', ['status' => 'APPROVED']);

// GET /jobs/drafts
EthicalJobs::get('/jobs/drafts', ['status' => 'APPROVED']);

// GET /jobs/214
EthicalJobs::get('/jobs/214');

// GET /jobs { status: APPROVED, expired: false }
EthicalJobs::resource('jobs')->approved();

// GET /jobs { expired: true }
EthicalJobs::resource('jobs')->expired();

// POST /jobs { ... }
EthicalJobs::post('/jobs', ['title' => 'React Developer', 'description' => 'We are looking for...']);
```

Responses
---------

[](#responses)

Responses are returned as `Illuminate\Support\Collection`s if there are no results an empty collection is returned.

In the future the results will be returned from an extended `EthicalJobs\SDK\Collection` class with helper functions to select results from our normalized api responses.

`$collection->entities('jobs');`

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 91.3% 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

Every ~14 days

Recently: every ~87 days

Total

31

Last Release

2642d ago

Major Versions

v0.4.6 → v1.0.02018-04-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2309163519ed0bc5df5b00472f2d9d052d4f6cf207c65bf2885d53b2e6af350?d=identicon)[andrewmclagan](/maintainers/andrewmclagan)

---

Top Contributors

[![andrewmclagan](https://avatars.githubusercontent.com/u/1073259?v=4)](https://github.com/andrewmclagan "andrewmclagan (21 commits)")[![developerdino](https://avatars.githubusercontent.com/u/747501?v=4)](https://github.com/developerdino "developerdino (2 commits)")

---

Tags

apiethicalmicorservicephpsdkapisdkethicaljobs

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ethical-jobs-ethical-jobs-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/ethical-jobs-ethical-jobs-sdk/health.svg)](https://phpackages.com/packages/ethical-jobs-ethical-jobs-sdk)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.5k](/packages/aws-aws-sdk-php)[openai-php/laravel

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

3.7k9.5M85](/packages/openai-php-laravel)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[resend/resend-php

Resend PHP library.

617.2M38](/packages/resend-resend-php)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2312.4M25](/packages/php-opencloud-openstack)

PHPackages © 2026

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