PHPackages                             gorogoroyasu/garak - 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. gorogoroyasu/garak

ActiveCakephp-plugin[Framework](/categories/framework)

gorogoroyasu/garak
==================

Garak plugin for CakePHP3

0.3.7.9(6y ago)04.1k[1 issues](https://github.com/gorogoroyasu/garak/issues)[1 PRs](https://github.com/gorogoroyasu/garak/pulls)MITPHPPHP &gt;=5.5.9

Since Sep 20Pushed 6y ago2 watchersCompare

[ Source](https://github.com/gorogoroyasu/garak)[ Packagist](https://packagist.org/packages/gorogoroyasu/garak)[ RSS](/packages/gorogoroyasu-garak/feed)WikiDiscussions master Synced 6d ago

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

garak plugin for CakePHP3
=========================

[](#garak-plugin-for-cakephp3)

Recentry, the amount of feature phones are decreasing, though they are still existing. Sometimes, we have to handle them, but there are some obstacles. First, we can't use cookie to keep session. Furthermore, the character code is not UTF-8 but SJIS.

This plugin will deal with the problems mentioned above.

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require gorogoroyasu/garak

```

usage
-----

[](#usage)

just add few lines in AppController and bootstrap.php.

```
// in bootstrap.php
Plugin::load('Garak', ['bootstrap' => true]);

// in AppController.php
public function initialize()
{
    parent::initialize();
    $this->loadComponent('Garak.Garak');
}

public function beforeRedirect(Event $event, $url, Response $response)
{
    $url = $this->Garak->generateRedirectUrl($url);
}

// The line below was the wrong statement.
// public function redirect($url, $status = null, $exit = true)
// {
//     $url = $this->Garak->generateRedirectUrl($url);
//    parent::redirect($url, $status, $exit);
//}

```

recomendation
-------------

[](#recomendation)

I recommend you to user Themed () to switch the view. You can identify if the type of device by using isGarak method in Garak.Garak.

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

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

Recently: every ~290 days

Total

8

Last Release

2390d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17561419?v=4)[Yasuaki Hamano](/maintainers/gorogoroyasu)[@gorogoroyasu](https://github.com/gorogoroyasu)

---

Top Contributors

[![gorogoroyasu](https://avatars.githubusercontent.com/u/17561419?v=4)](https://github.com/gorogoroyasu "gorogoroyasu (29 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gorogoroyasu-garak/health.svg)

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

###  Alternatives

[cakephp/debug_kit

CakePHP Debug Kit

86214.9M183](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

11212.2M222](/packages/cakephp-bake)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1892.4M48](/packages/dereuromark-cakephp-ide-helper)[friendsofcake/bootstrap-ui

Bootstrap front-end framework support for CakePHP

3512.2M44](/packages/friendsofcake-bootstrap-ui)[cakephp/app

CakePHP skeleton app

3851.7M1](/packages/cakephp-app)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3321.0M51](/packages/dereuromark-cakephp-tools)

PHPackages © 2026

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