PHP code example of sasezaki / mvc-jajaja

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

    

sasezaki / mvc-jajaja example snippets



return array(
    'modules' => array(
        'Application',
        'MvcJajaja',
    );

    public function indexAction()
    {
        $validatorManager = $this->getServiceLocator()->get('ValidatorManager');
        $digits = $validatorManager->get('digits');
        $digits->isValid("string");
        var_dump($digits->getMessages());
    }