tutida / reject-upper-case
reject-upper-case plugin for CakePHP
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
This package is auto-updated.
Last update: 2024-10-28 13:09:46 UTC
README
This plugin reject addresses used uppercase in name of controller and action.
ex)
// this is ok url: ...../topics/index
this->Html->link(['controller' => 'topics','action' => 'index']);
// this is rejected url: ...../Topics/Index
this->Html->link(['controller' => 'Topics','action' => 'Index']);
How to use
<?php
App::uses('Controller', 'Controller');
class AppController extends Controller
{
public $components = [
'RejectUpperCase.RejectUpperCase'
];