PHPackages                             earnould/laravel-velo-api - 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. earnould/laravel-velo-api

ActiveLibrary[API Development](/categories/api)

earnould/laravel-velo-api
=========================

laravel-velo-api is a package that allows you to connect to the Velo Antwerp API. The Velo Antwerp API is..

1.1.0(7y ago)171MITPHP

Since Apr 19Pushed 7y ago3 watchersCompare

[ Source](https://github.com/earnould/laravel-velo-api)[ Packagist](https://packagist.org/packages/earnould/laravel-velo-api)[ RSS](/packages/earnould-laravel-velo-api/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (7)Versions (7)Used By (0)

Pull Velo API resources in your Laravel app
===========================================

[](#pull-velo-api-resources-in-your-laravel-app)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cce0ba9a59de530088a57c551ed3c99cdb24a8e1843404a758dffc7fd10a12de/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6561726e6f756c642f6c61726176656c2d76656c6f2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/earnould/laravel-velo-api)[![Code coverage](https://camo.githubusercontent.com/0a4c7113e36cda8b962c6a530a2ce1ef1717da0f6ac3d845b18e11414b85790b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6561726e6f756c642f6c61726176656c2d76656c6f2d6170692f6261646765732f636f7665726167652e706e67)](https://scrutinizer-ci.com/g/earnould/laravel-velo-api)[![Quality Score](https://camo.githubusercontent.com/8a221f21c75e2fac0ecd178c69240e4be5306e316fc90fd82baa4be8ebfe8587/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6561726e6f756c642f6c61726176656c2d76656c6f2d6170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/earnould/laravel-velo-api)[![StyleCI](https://camo.githubusercontent.com/c065ab47cc017b2a58232ec9eb542a87c9a566c1adaf44f8992da3f65d8ccc2b/68747470733a2f2f7374796c6563692e696f2f7265706f732f36313830323831382f736869656c64)](https://styleci.io/repos/182159944)

---

### **NOTE**

[](#note)

You will need to request a `client_id` and a `client_secret` at [velo-antwerpen.be](https://www.velo-antwerpen.be) to actually use this package.

---

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

[](#installation)

You can install the package via composer:

```
composer require earnould/laravel-velo-api
```

The package will automatically register itself.

You'll need to publish the config file with:

```
php artisan vendor:publish --provider="Earnould\LaravelVeloApi\VeloServiceProvider" --tag="config"
```

This allows you to define the client id and secret in your .env file like this:

```
VELO_CLIENT_ID = ''
VELO_CLIENT_SECRET = ''

```

This package allows you to connect to the Velo Antwerp API. For now there are only two sources available `stations` and `stationsStatuses`. The stations resource speaks for itself. The stationsStatuses resource returns the availability of all stations. The API requires a client\_id and client\_secret to fetch these results.

A quick overview:

You can retrieve all Velo station resources using the `Earnould\LaravelVeloApi\Facades\VeloStations` facade.

Retrieves all Velo stations in Antwerp

```
VeloStations::all();
```

Returns:

```
Collection {
  array [
    0 => Earnould\LaravelVeloApi\Station {
        [
            "id" => "036"
            "name" => "036- Bourla"
            "address" => "Schuttershofstraat n° 2"
            "addressNumber" => null
            "zipCode" => "2000"
            "districtCode" => null
            "districtName" => null
            "altitude" => null
            "location" => array:2 [
                "lat" => "51.2163878210059"
                "lon" => "4.40593043087013"
            ]
            "stationType" => "BIKE"
        ]
    }
    ... => Earnould\LaravelVeloApi\Station {...}
```

---

Requests all Velo stations with their corresponding status

```
VeloStations::allWithStatuses();
```

Returns:

```
Collection {
    [
        0 => Earnould\LaravelVeloApi\Station {
            [
                "id"            => "036"
                "name"          => "036- Bourla"
                "address"       => "Schuttershofstraat n° 2"
                "addressNumber" => null
                "zipCode"       => "2000"
                "districtCode"  => null
                "districtName"  => null
                "altitude"      => null
                "location"      => [
                    "lat"   =>  "51.2163878210059",
                    "lon"   =>  "4.40593043087013"
                ]
                "stationType"  => "BIKE"
                "status"       => "OPN"
                "availability" => [
                    "bikes" =>  19,
                    "slots" =>  1
                ]
            ]
        ... => Earnould\LaravelVeloApi\Station {...}
    ]
}
```

**NOTE:** *The status will be `OPN` for open stations and `CLS` for Closed stations*.

---

Documentation
-------------

[](#documentation)

Any bugs? Any suggestions or question? Shoot an [issue on GitHub](https://github.com/earnould/laravel-velo-api/issues) and let's have a look.

If you've found a security issue please mail  instead of using the issue tracker.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information about recent changes.

Testing
-------

[](#testing)

```
vendor/bin/phpunit
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Evert Arnould](https://github.com/earnould)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~9 days

Total

2

Last Release

2571d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e946ed53b2338a079a19429bdb0dc23878985706903e61bc0c4b652c296a4ecf?d=identicon)[Evert Arnould](/maintainers/Evert%20Arnould)

---

Top Contributors

[![yinx](https://avatars.githubusercontent.com/u/1022847?v=4)](https://github.com/yinx "yinx (7 commits)")[![earnould](https://avatars.githubusercontent.com/u/5271576?v=4)](https://github.com/earnould "earnould (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/earnould-laravel-velo-api/health.svg)

```
[![Health](https://phpackages.com/badges/earnould-laravel-velo-api/health.svg)](https://phpackages.com/packages/earnould-laravel-velo-api)
```

###  Alternatives

[openai-php/laravel

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

3.7k7.6M74](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[nickurt/laravel-postcodeapi

Universal PostcodeApi for Laravel 11.x/12.x/13.x

97221.2k](/packages/nickurt-laravel-postcodeapi)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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