1. Go to this page and download the library: Download strawberrydev/wimd 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/ */
strawberrydev / wimd example snippets
namespace Database\Seeders;
use Wimd\Template\WimdDatabaseSeeder;
class DatabaseSeeder extends WimdDatabaseSeeder
{
public function run()
{
$this->call([
UserSeeder::class,
CategoriesSeeder::class,
ProductsSeeder::class,
TagsSeeder::class,
ProductTagSeeder::class,
UserDetailsSeeder::class,
ReviewsSeeder::class,
]);
// Optional
$this->displayWimdReport();
}
}