1. Go to this page and download the library: Download exfriend/laravel-recipe 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/ */
exfriend / laravel-recipe example snippets
dd( $recipe->build() )
$recipe->build( app_path('User.php') );
namespace App\Recipes;
class ClassRecipe extends \Exfriend\Recipe\Recipe
{
public $props = [
'class' => [
'rules' => '