PHP code example of openwebx / feijaovermelho
1. Go to this page and download the library: Download openwebx/feijaovermelho 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/ */
openwebx / feijaovermelho example snippets
use openWebX\feijaoVermelho\feijaoVermelho
class Test {
// use our trait...
use feijaoVermelho;
// define some public properties
public int $intValue;
public string $stringValue;
}
// now simply let feijaoVermelho do its magic:
$myTest = new Test();
$myTest->intValue = 666;
$myTest->stringValue = 'this is a test';
$myTest->save();