PHP code example of micropackage / casegnostic

1. Go to this page and download the library: Download micropackage/casegnostic 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/ */

    

micropackage / casegnostic example snippets


use Micropackage\Casegnostic\Casegnostic;

class Example
{
	use Casegnostic;

	public function somethingImportant()
	{
		return true;
	}
}

$x = new Example();

// That works as expected:
$x->somethingImportant();

// But that works too! 🤯
$x->something_important();

use Micropackage\Casegnostic\Casegnostic;

class Example
{
	use Casegnostic;
}