Recipes

From The Barnyard

<?php
$recipes 
=
array (
  
=> 
  array (
    
'id' => 394,
    
'recipe' => 'From The Barnyard',
    
'name' => 'Base Recipe',
    
'profit_type' => 'Percentage',
    
'profit_amount' => 100.0,
    
'totals' => 
    array (
      
'weight' => 0.12000000000000001,
      
'cost' => 0.35963699536147026,
      
'price' => 0.35963699536147026,
      
'calories' => 110.63488882696345,
      
'protein' => 
      array (
        
'calories' => 88.66954760796487,
        
'grams' => 22.167386901991218,
        
'percent' => 80.0,
      ),
      
'carbs' => 
      array (
        
'calories' => 1.265630787139103,
        
'grams' => 0.31640769678477576,
        
'percent' => 1.0,
      ),
      
'fat' => 
      array (
        
'calories' => 20.69971043185947,
        
'grams' => 2.299967825762163,
        
'percent' => 19.0,
      ),
    ),
    
'price' => 
    array (
      
'type' => 'Percentage',
      
'amount' => '100%',
      
'cost' => 0.35963699536147026,
      
'price' => 0.72,
    ),
    
'ingredients' => 
    array (
      
=> 
      array (
        
'ingredient' => '90/10 Beef',
        
'post_id' => 223,
        
'weight' => 
        array (
          
'amount' => '0.30',
          
'unit' => 'Oz',
          
'pounds' => 0.02,
        ),
        
'unit_cost' => 0.075,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 7.199999999999999,
            
'grams' => 1.7999999999999998,
          ),
          
'carbs' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'fat' => 
          array (
            
'calories' => 7.800000000000001,
            
'grams' => 0.8666666666666667,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Chicken Breast',
        
'post_id' => 395,
        
'weight' => 
        array (
          
'amount' => '0.10',
          
'unit' => 'Lbs',
          
'pounds' => 0.1,
        ),
        
'unit_cost' => 0.267,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 80.73937600000001,
            
'grams' => 20.184844000000002,
          ),
          
'carbs' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'fat' => 
          array (
            
'calories' => 9.979024,
            
'grams' => 1.1087804444444445,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Chia Seeds',
        
'post_id' => 222,
        
'weight' => 
        array (
          
'amount' => 1.0,
          
'unit' => 'Grams',
          
'pounds' => 0.0,
        ),
        
'unit_cost' => 0.01763699536147022,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 0.7301716079648671,
            
'grams' => 0.18254290199121678,
          ),
          
'carbs' => 
          array (
            
'calories' => 1.265630787139103,
            
'grams' => 0.31640769678477576,
          ),
          
'fat' => 
          array (
            
'calories' => 2.9206864318594685,
            
'grams' => 0.32452071465105203,
          ),
        ),
      ),
    ),
  ),
);
?>

Base Recipe

Lbs
Cals
Ingredient Amount Cost Protein Carbs Fat Total Cals
90/10 Beef0.3 Oz$0.087 cals (2 grams)0 cals (0 grams)8 cals (1 grams)15 cals
Chicken Breast0.1 Lbs$0.2781 cals (20 grams)0 cals (0 grams)10 cals (1 grams)91 cals
Amounts:0.1 lbs$0.3689 cals (22 grams)1 cals (0 grams)21 cals (2 grams)
Macros:80% Protein1% Carb19% Fat
Totals:Price$0.72Calories111 cals