PHP code example of jengo / base
1. Go to this page and download the library: Download jengo/base 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/ */
jengo / base example snippets
// Use the global Jengo helpers
page('dashboard/index', ['stats' => $stats]);
str('jengo_powerhouse')->headline(); // "Jengo Powerhouse"
arr([1, 2, 3])->map(fn($v) => $v * 2)->toArray(); // [2, 4, 6]