Recipes

Pork & Quinoa

<?php
$recipes 
=
array (
  
=> 
  array (
    
'id' => 220,
    
'recipe' => 'Pork &#038; Quinoa',
    
'name' => 'Pork',
    
'profit_type' => 'Percentage',
    
'profit_amount' => 122.0,
    
'totals' => 
    array (
      
'weight' => 4.89,
      
'cost' => 5.079642578125,
      
'price' => 5.079642578125,
      
'calories' => 3057.2799999999997,
      
'protein' => 
      array (
        
'calories' => 1065.14,
        
'grams' => 266.285,
        
'percent' => 35.0,
      ),
      
'carbs' => 
      array (
        
'calories' => 1211.28,
        
'grams' => 302.82,
        
'percent' => 40.0,
      ),
      
'fat' => 
      array (
        
'calories' => 780.8599999999999,
        
'grams' => 86.7622222222222,
        
'percent' => 26.0,
      ),
    ),
    
'price' => 
    array (
      
'type' => 'Percentage',
      
'amount' => '122%',
      
'cost' => 5.079642578125,
      
'price' => 11.28,
    ),
    
'ingredients' => 
    array (
      
=> 
      array (
        
'ingredient' => 'Pork (Tenderloin)',
        
'post_id' => 183,
        
'weight' => 
        array (
          
'amount' => 1.9,
          
'unit' => 'Lbs',
          
'pounds' => 1.9,
        ),
        
'unit_cost' => 2.318,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 912.0,
            
'grams' => 228.0,
          ),
          
'carbs' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'fat' => 
          array (
            
'calories' => 656.64,
            
'grams' => 72.96,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Sweet Potato',
        
'post_id' => 189,
        
'weight' => 
        array (
          
'amount' => '0.50',
          
'unit' => 'Lbs',
          
'pounds' => 0.5,
        ),
        
'unit_cost' => 0.367375,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 14.000000000000002,
            
'grams' => 3.5000000000000004,
          ),
          
'carbs' => 
          array (
            
'calories' => 186.0,
            
'grams' => 46.5,
          ),
          
'fat' => 
          array (
            
'calories' => 2.0,
            
'grams' => 0.2222222222222222,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Brown Rice',
        
'post_id' => 182,
        
'weight' => 
        array (
          
'amount' => 1.5,
          
'unit' => 'Lbs',
          
'pounds' => 1.5,
        ),
        
'unit_cost' => 0.96,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 61.44,
            
'grams' => 15.36,
          ),
          
'carbs' => 
          array (
            
'calories' => 652.8,
            
'grams' => 163.2,
          ),
          
'fat' => 
          array (
            
'calories' => 53.760000000000005,
            
'grams' => 5.973333333333334,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Apple',
        
'post_id' => 190,
        
'weight' => 
        array (
          
'amount' => '0.13',
          
'unit' => 'Lbs',
          
'pounds' => 0.13,
        ),
        
'unit_cost' => 0.1908125,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 0.3,
            
'grams' => 0.075,
          ),
          
'carbs' => 
          array (
            
'calories' => 28.2,
            
'grams' => 7.05,
          ),
          
'fat' => 
          array (
            
'calories' => 2.1,
            
'grams' => 0.23333333333333334,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Quinoa',
        
'post_id' => 191,
        
'weight' => 
        array (
          
'amount' => '0.10',
          
'unit' => 'Lbs',
          
'pounds' => 0.1,
        ),
        
'unit_cost' => 0.30000000000000004,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 19.2,
            
'grams' => 4.8,
          ),
          
'carbs' => 
          array (
            
'calories' => 36.48,
            
'grams' => 9.12,
          ),
          
'fat' => 
          array (
            
'calories' => 18.56,
            
'grams' => 2.062222222222222,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Carrots',
        
'post_id' => 186,
        
'weight' => 
        array (
          
'amount' => '0.25',
          
'unit' => 'Lbs',
          
'pounds' => 0.25,
        ),
        
'unit_cost' => 0.29900000000000004,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 5.0,
            
'grams' => 1.25,
          ),
          
'carbs' => 
          array (
            
'calories' => 95.0,
            
'grams' => 23.75,
          ),
          
'fat' => 
          array (
            
'calories' => 1.0,
            
'grams' => 0.1111111111111111,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Peas',
        
'post_id' => 185,
        
'weight' => 
        array (
          
'amount' => '0.50',
          
'unit' => 'Lbs',
          
'pounds' => 0.5,
        ),
        
'unit_cost' => 0.5980000000000001,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 53.2,
            
'grams' => 13.3,
          ),
          
'carbs' => 
          array (
            
'calories' => 212.8,
            
'grams' => 53.2,
          ),
          
'fat' => 
          array (
            
'calories' => 16.8,
            
'grams' => 1.8666666666666667,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Coconut Oil',
        
'post_id' => 184,
        
'weight' => 
        array (
          
'amount' => '0.13',
          
'unit' => 'Fluid Oz',
          
'pounds' => 0.01,
        ),
        
'unit_cost' => 0.046455078125,
        
'type' => 'wet',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'carbs' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'fat' => 
          array (
            
'calories' => 30.0,
            
'grams' => 3.3333333333333335,
          ),
        ),
      ),
    ),
  ),
);
?>

Pork

Lbs
Cals
Ingredient Amount Cost Protein Carbs Fat Total Cals
Pork (Tenderloin)1.9 Lbs$2.32912 cals (228 grams)0 cals (0 grams)657 cals (73 grams)1569 cals
Sweet Potato0.5 Lbs$0.3714 cals (4 grams)186 cals (47 grams)2 cals (0 grams)202 cals
Brown Rice1.5 Lbs$0.9661 cals (15 grams)653 cals (163 grams)54 cals (6 grams)768 cals
Apple0.13 Lbs$0.190 cals (0 grams)28 cals (7 grams)2 cals (0 grams)30 cals
Quinoa0.1 Lbs$0.3019 cals (5 grams)36 cals (9 grams)19 cals (2 grams)74 cals
Carrots0.25 Lbs$0.305 cals (1 grams)95 cals (24 grams)1 cals (0 grams)101 cals
Peas0.5 Lbs$0.6053 cals (13 grams)213 cals (53 grams)17 cals (2 grams)283 cals
Coconut Oil0.13 Fluid Oz$0.050 cals (0 grams)0 cals (0 grams)30 cals (3 grams)30 cals
Amounts:4.9 lbs$5.081,065 cals (266 grams)1,211 cals (303 grams)781 cals (87 grams)
Macros:35% Protein40% Carb26% Fat
Totals:Price$11.28Calories3,057 cals