PHPackages                             rudidevries/kaku - 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. rudidevries/kaku

ActiveLibrary

rudidevries/kaku
================

This library provides a basic object interface for calling a the KAKU program to switch devices with the Raspberry Pi and a 433mhz transmitter.

0.1.1(11y ago)0241PHPPHP &gt;=5.3.3

Since Dec 20Pushed 11y ago1 watchersCompare

[ Source](https://github.com/rudidevries/kaku)[ Packagist](https://packagist.org/packages/rudidevries/kaku)[ RSS](/packages/rudidevries-kaku/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (1)

KAKU - 'Klik aan Klik uit'
==========================

[](#kaku---klik-aan-klik-uit)

[![SensioLabsInsight](https://camo.githubusercontent.com/5e7e0375dcea97354fe4040bbf381205fca1ef9eb83bcf68b5b1e5b2b87e3ac5/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36656435376139652d653564312d346332662d393230362d3761646636633762633866322f6269672e706e67)](https://insight.sensiolabs.com/projects/6ed57a9e-e5d1-4c2f-9206-7adf6c7bc8f2)

This library provides a basic object interface for calling a the KAKU program to switch devices with the Raspberry Pi and a 433mhz transmitter.

A complete description of how to setup the KAKU program on the Raspberry Pi is found [here](http://weejewel.tweakblogs.net/blog/8665/lampen-schakelen-met-een-raspberry-pi.html) in Dutch.

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

[](#installation)

The best way to add the library to your project is using [composer](http://getcomposer.org).

```
$ composer require rudidevries/kaku

```

Usage
-----

[](#usage)

For more information on setting up de SSH connection and authentication take a look at [herzult/php-ssh](https://github.com/Herzult/php-ssh).

The main principle is to setup an SSH connection, create a switch object, and give this object the channel to switch.

The command object should be passed the path to the kaku executable, as compiled from [this](https://www.dropbox.com/s/nxdrkuk94w9fpqo/lights.zip?dl=1) c++ code.

Example:

```
// SSH Connection setup
$config = new Ssh\Configuration($host);
$auth = new Ssh\Authentication\PublicKeyFile(
	$username,
	$pathToPublicKey,
	$pathToPrivateKey,
	$passPhrase
);
$session = new Ssh\Session($config, $auth);

// Create switcher
$command = new Kaku\Command\SshCommand(
	$session,
	'/path/to/kaku'
);
$switcher = new Kaku\Switcher($command);

// Create channel description
$channel = new Kaku\Channel(
	'description of switch point',
	'A',
	10
);

// Send signals
$switcher->sendOn($channel);
$switcher->sendOff($channel);

```

Symfony bundle
==============

[](#symfony-bundle)

For easy integration in a Symfony based project, the [kaku-bundle](https://github.com/rudidevries/kaku-bundle) is also available.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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 ~0 days

Total

2

Last Release

4158d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d4349cc73689d833c51f758b30f99880be48da51a9590365df9688768a2f92f?d=identicon)[rudidevries](/maintainers/rudidevries)

---

Top Contributors

[![rudidevries](https://avatars.githubusercontent.com/u/5311277?v=4)](https://github.com/rudidevries "rudidevries (6 commits)")

### Embed Badge

![Health badge](/badges/rudidevries-kaku/health.svg)

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

PHPackages © 2026

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