PHP code example of remarkablemark / php-composer-test

1. Go to this page and download the library: Download remarkablemark/php-composer-test 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/ */

    

remarkablemark / php-composer-test example snippets




use Remarkablemark\PhpComposerTest\PhpComposerTest;

$test = new PhpComposerTest();
echo $test->say(); // 'Hello, world!'

$test = new \Remarkablemark\PhpComposerTest\PhpComposerTest();
echo $test->say('Mark'); // 'Hello, Mark!'