bytic/namefy

Namefy helper for Models, Controllers

Maintainers

Details

github.com/bytic/namefy

Source

Issues

Installs: 2 843

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/bytic/namefy

1.0.2 2021-03-02 10:41 UTC

This package is auto-updated.

Last update: 2025-09-29 02:43:33 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();