PHPackages                             raynl/bizzcloud-laravel - 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. [Framework](/categories/framework)
4. /
5. raynl/bizzcloud-laravel

ActiveLibrary[Framework](/categories/framework)

raynl/bizzcloud-laravel
=======================

Bizzcloud for Laravel

1.2(4y ago)025MITPHP

Since May 31Pushed 4y agoCompare

[ Source](https://github.com/Ray-nl/bizzcloud-laravel)[ Packagist](https://packagist.org/packages/raynl/bizzcloud-laravel)[ Docs](https://github.com/Ray-nl/bizzcloud-laravel)[ RSS](/packages/raynl-bizzcloud-laravel/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Bizzcloud for Laravel
=====================

[](#bizzcloud-for-laravel)

---

This package makes it easy to communicate with Bizzcloud. [![Latest Version](https://camo.githubusercontent.com/e4e512a2a6f24ff4330e48f9b15191ddbf68e232c6d178a5de1fd23ce41676a1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7370617469652f6c61726176656c2d6d656469616c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://github.com/spatie/laravel-medialibrary/releases)

[![Latest Version](https://camo.githubusercontent.com/36bb6e6ee21e39d59b889671373c3ea31f1086fdc9a663ffd3d72c321c7cf0e3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7261796e6c2f62697a7a636c6f75642d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Ray-nl/bizzcloud-laravel/releases/)[![Total Downloads](https://camo.githubusercontent.com/73910a7e685cd9b13c161a7f6099fc534b573622d7634548a1c0718f3a3c3ead/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7261796e6c2f62697a7a636c6f75642d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/raynl/bizzcloud-laravel)

Setup
=====

[](#setup)

---

Install the package in your Laravel project using composer:

```
composer require raynl/bizzcloud-laravel

```

### Env

[](#env)

After the package is installed you need to set the following env variables:

#### BIZZ\_URL

[](#bizz_url)

The server url is the instance’s domain (e.g. ).

#### BIZZ\_DB

[](#bizz_db)

the database name is the name of the instance (e.g. mycompany)/

#### BIZZ\_USERNAME

[](#bizz_username)

You can create or use a existing user with enough rights to access the different documents.

#### BIZZ\_PASSWORD

[](#bizz_password)

Password of the user.

Here's and example:

```
BIZZ_URL="https://example.bizzcloud.nl/xmlrpc/2"
BIZZ_DB="example"
BIZZ_USERNAME="example@example.nl"
BIZZ_PASSWORD="Password

```

### Publish configuration

[](#publish-configuration)

If you want to edit the configuration file you can publish it.

```
php artisan vendor:publish --provider="Raynl\Bizzcloud\BizzcloudServiceProvider" --tag="config

```

How it works
============

[](#how-it-works)

---

You create a new instance of Bizzcloud.

```
$bizzcloud = new Bizzcloud();

```

After that you can use different methods.

Available methods
-----------------

[](#available-methods)

### List records

[](#list-records)

Records can be listed and filtered via search().

search() takes a mandatory domain filter (possibly empty), and returns the database identifiers of all records matching the filter. To list customer companies for instance.

If you want with pagination add $offset and $limit.

```
search(string $model, array $search, int $offset = null, int $limit = null): array

```

### Count records

[](#count-records)

Rather than retrieve a possibly gigantic list of records and count them, searchCount() can be used to retrieve only the number of records matching the query. It takes the same domain filter as search() and no other parameter.

If you want with pagination add $offset and $limit.

```
searchCount(string $model, array $search, int $offset = null, int $limit = null): array

```

### Read records

[](#read-records)

Record data is accessible via the read() method, which takes a list of ids (as returned by search()) and optionally a list of fields to fetch. By default, it will fetch all the fields the current user can read, which tends to be a huge amount.

```
read(string $model, array $ids, array $parameters_keyword = []): array

```

### Listing record fields

[](#listing-record-fields)

getFields() can be used to inspect a model’s fields and check which ones seem to be of interest.

Because it returns a large amount of meta-information (it is also used by client programs) it should be filtered before printing, the most interesting items for a human user are string (the field’s label), help (a help text if available) and type (to know which values to expect, or to send when updating a record)

```
getFields(string $model, array $attributes = ['string', 'help', 'type']): array

```

### Search and read

[](#search-and-read)

Because it is a very common task, BizzCloud provides a searchAndRead() shortcut which as its name suggests is equivalent to a search() followed by a read(), but avoids having to perform two requests and keep ids around.

Its arguments are similar to search()‘s, but it can also take a list of fields (like read(), if that list is not provided it will fetch all fields of matched records)

```
searchAndRead(string $model, array $search, array $parameters_keyword = []): array

```

### Create records

[](#create-records)

Records of a model are created using create(). The method will create a single record and return its database identifier.

create() takes a mapping of fields to values, used to initialize the record. For any field which has a default value and is not set through the mapping argument, the default value will be used.

```
create(string $model, $values): array

```

### Update records

[](#update-records)

Records can be updated using update(), it takes a list of records to update and a mapping of updated fields to values similar to create().

Multiple records can be updated simultanously, but they will all get the same values for the fields being set. It is not currently possible to perform “computed” updates (where the value being set depends on an existing value of a record).

- **Date**, **Datetime** and **Binary** fields use string values

```
update(string $model, int $id, array $values): array

```

### Delete records

[](#delete-records)

Records can be deleted in bulk by providing their ids to delete().

```
delete(string $model, array $ids): array

```

Products
--------

[](#products)

If you have products there is a class only for products.

```
$bizzcloud_products = new Products();

```

There are two methods available.

### Get all products

[](#get-all-products)

Get all of the products. It use the model **product.template**.

```
 getAllProducts(array $parameters_keyword = []): array

```

Get specified fields:

```
 getAllProducts(['fields' => ['field1', 'field2']]): array

```

Get offset and limit:

```
 getAllProducts(['offset' => 0, 'limit' => 10]): array

```

Get specified fields, offset and limit

```
 getAllProducts(['offset' => 0, 'limit' => 10, 'fields' => ['field', 'field']]): array

```

### Get a specific product of it's id

[](#get-a-specific-product-of-its-id)

Get a specific product of it's id. It use the model **product.template**.

```
getProduct(int $id): array

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

Every ~7 days

Total

3

Last Release

1791d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e7b3d9761cee07faf0ecf78291d657601fbd6c53a98de3ddf434371eeb0cf39?d=identicon)[raydotnl](/maintainers/raydotnl)

---

Top Contributors

[![rolinbos](https://avatars.githubusercontent.com/u/34242298?v=4)](https://github.com/rolinbos "rolinbos (19 commits)")

---

Tags

laravelstatamicBizzcloud

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/raynl-bizzcloud-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/raynl-bizzcloud-laravel/health.svg)](https://phpackages.com/packages/raynl-bizzcloud-laravel)
```

###  Alternatives

[statamic/statamic

Statamic

824170.4k](/packages/statamic-statamic)[hemp/presenter

Easy Model Presenters in Laravel

247592.6k1](/packages/hemp-presenter)[rahulalam31/laravel-abuse-ip

Block ip address of all spammer's around the world.

27431.5k](/packages/rahulalam31-laravel-abuse-ip)[laravel-frontend-presets/black-dashboard

Laravel 11.x Front-end preset for black dashboard

8726.2k](/packages/laravel-frontend-presets-black-dashboard)

PHPackages © 2026

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