PHP code example of nettpack / stage

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

    

nettpack / stage example snippets


	use NettpackTrait;
	

	 use NettPack\Stage\Annotations as NP;
 
	 /**
	  * @NP\NettPack(snippetSagas={
	  *     @NP\SnippetSaga(saga="SAGA_MY_COMPONENT", snippet="snippet--my-component")
	  * })
	  */
	 class MyComponent extends Control
	 {
	 }