PHP code example of simplecms / nickname
1. Go to this page and download the library: Download simplecms/nickname library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
simplecms / nickname example snippets
use SimpleCMS\Nickname\Facades\Nickname;
Nickname::generate(int $num = 1); // When num is less than or equal to 1, it returns a string; otherwise, it returns an array
cms_nickname.php