PHP code example of devtical / nova-inspire
1. Go to this page and download the library: Download devtical/nova-inspire 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/ */
devtical / nova-inspire example snippets
use Devtical\Inspire\Inspire;
// ...
public function cards()
{
return [
// ...
(new Inspire())->options([
'topic' => 'peace', // null, motivational, learning, etc
'style' => 'stacked', // default, stacked, horizontal
]),
];
}