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 4w 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 47% 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

2345d 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

84114.4M160](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

11211.7M190](/packages/cakephp-bake)[friendsofcake/bootstrap-ui

Bootstrap front-end framework support for CakePHP

3502.1M38](/packages/friendsofcake-bootstrap-ui)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M40](/packages/dereuromark-cakephp-ide-helper)[cakephp/twig-view

Twig powered View for CakePHP

155.5M17](/packages/cakephp-twig-view)[cakephp/elastic-search

An Elastic Search datasource and data mapper for CakePHP

85825.9k10](/packages/cakephp-elastic-search)

PHPackages © 2026

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