bytic/namefy
Namefy helper for Models, Controllers
Maintainers
1.0.2
2021-03-02 10:41 UTC
Requires
- php: ^7.2|^8.0
- bytic/inflector: ^1.0
- bytic/utility: ^1.0
Requires (Dev)
- mockery/mockery: ^1.1
- phpunit/phpunit: ^7.2|^8.0|^9.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 9020102202c20f4d60e1bdaa9204f7fa85f78acc
- Gabriel Solomon <hello.woop@gabrielsolomon.ro>
This package is auto-updated.
Last update: 2026-06-29 01:51:06 UTC
README
Namify helper for Models, Controllers
👁 Latest Version on Packagist
👁 Latest Stable Version
👁 Latest Unstable Version
👁 Software License
👁 Build Status
👁 Quality Score
👁 StyleCI
👁 Total Downloads
Installation
composer require anytizer/namifier.php:dev-master
Basic Usage
<?php require_once 'vendor/autoload.php'; // use the factory to create a controller name from slug $model = \ByTIC\Namefy\Namefy::from('post')->controllerName(); // use the factory to create a controller name from model name $model = \ByTIC\Namefy\Namefy::model('post')->controllerName();
