tobya/bcsapiwrapper
Larablocks Analysis
tobya/bcsapiwrapper works with Laravel 9 to 13 (latest release v5.3, Nov 26, 2026).
Laravel 7 and 8 in earlier releases.
Recommendation checks
PromisingPromising: maintained and up to date, meets 2 of 4 checks; not yet widely used.
- Works with Laravel 13, the current version
- Released in the last 12 months (Nov 26, 2026)
- 52 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Nov 26, 2026.
- 8 releases in the last 12 months.
- First released: Jul 1, 2022.
- Monthly downloads: 52.
- 6 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.
| Install | |
|---|---|
composer require tobya/bcsapiwrapper |
|
| Latest Version: | v5.3 |
| Laravel: | 9 – 13 |
| Older releases: | 7 · 8 |
| License: | MIT |
| Last Updated: | Nov 26, 2026 |
| Links: | GitHub · Packagist |
BCS API Wrapper Library BCSAPI Library V4
The BCS Api Wrapper Library provide PHP wrapper classes for most of the APIs used internally within the BCS system.
Overview
From Backoffice
- Course
- Student
- CourseType
- Holiday
- MediaItem
- Note
- Personlist
- Subscriber
- Subscription
- TransactionType
- User
- Voucher
From RecipeApi
- Recipe
- Render
Secure Booking Server
- Secure Bookings
KitchenBook
- Telegram Chat
Photo Api
- PhotoAPI is seperate and currently doesnt have a wrapper.
install
composer require tobya/bcsapiwrapper
Publish config file
php artisan vendor:publish
select BCSApiWrapper
.env updates The following values need to be available in .env file
# Main BCS Api URLS
# Required for V1 where KEY is in URL
BCSBACKOFFICE_APIURL=
BCSBACKOFFICE_APIKEY=
# New BCS V4 Api Urls
BCSBACKOFFICE_V4_APIURL=
BCSBACKOFFICE_V4_APITOKEN=
# Photo Api
DEMOPHOTO_APIURL=
#Recipe Api
BCSRECIPE_APIURL=
BCSRECIPE_APIKEY=
Generating Backoffice Api Keys
For version 4 generate keys in backoffice. This can be done when logged in as super user , log in as toby.
https://backoffice.cookingisfun.ie/user/settings
Create a token via the form. Both fields are for info only.
Keep up to date
composer update
and .env is
BCSBACKOFFICE_V4_APIURL={base host url, not api.backoffice.ie}
BCSBACKOFFICE_V4_APITOKEN={sanctum token}
V2 BCSApiWrapper
$CourseApi = App('BCSApi')->Course();
$CourseInfo = $CourseApi->CourseInfo(12345);
echo $CourseInfo->CourseName;
V4 BCSApiWrapper
$CourseApi = BCSLoader::Course();
$CourseInfo = $CourseApi->CourseInfo(12345);
echo $CourseInfo->CourseName;
This may require rewriting of quite a bit of code on upgrading.
V5 BCSApiWrapper
V5 is currently being written and the wrapping function are now being generated with Saloon php
As of writing only Course is available. Use as follows
$CourseApi = BCSApi::V5->CourseApi();
$response = $CourseApi->CourseDetails($courseid);
// retrieve response json data as an object.
$info = $response->Object();
echo $info->course->CourseName;
Tests
There is a Postman Collection to do tests on the main BCSApi routes.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| v5.3 | ^9.0| | MIT | |
| v5.2 | ^9.0| | MIT | |
| v5.1 | ^9.0| | MIT | |
| v5.0 | ^9.0| | MIT | |
| v4.46 | ^9.0| | MIT | |
| v4.45 | ^9.0| | MIT | |
| v4.44 | ^9.0| | MIT | |
| v4.43 | ^9.0| | MIT | |
| v4.42 | ^9.0| | MIT | |
| v4.41 | ^9.0| | MIT | |
| v4.40 | ^9.0| | MIT | |
| v4.39 | ^9.0| | MIT | |
| v4.38 | ^9.0| | MIT | |
| v4.37 | ^9.0| | MIT | |
| v4.36 | ^9.0| | MIT | |
| v4.35 | ^9.0| | MIT | |
| v4.34 | ^9.0| | MIT | |
| v4.33 | ^7.0| | MIT | |
| v4.32 | ^7.0| | MIT | |
| v4.31 | ^7.0| | MIT | |
| v4.30 | ^7.0| | MIT | |
| v4.29 | ^7.0| | MIT | |
| v4.28 | ^7.0| | MIT | |
| v4.27 | ^7.0| | MIT | |
| v4.26 | ^7.0| | MIT | |
| v4.25 | ^7.0| | MIT | |
| v4.24 | ^7.0| | MIT | |
| v4.23 | ^7.0| | MIT | |
| v4.22 | ^7.0| | MIT | |
| v4.21 | ^7.0| | MIT |
Showing the latest 30 of 60. See every release on Packagist