PHP code example of neosrulez / neos-vieweditor

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

    

neosrulez / neos-vieweditor example snippets


    /**
     * @return void
     */
    public function indexAction()
    {
        $this->view->assign('foo', 'bar');
        $this->view->assign('randomNumber', rand(5, 10));
    }