Recipes

Chicken & Carrots

<?php
$recipes 
=
array (
  
=> 
  array (
    
'id' => 216,
    
'recipe' => 'Chicken &#038; Carrots',
    
'name' => 'Chicken',
    
'profit_type' => 'Percentage',
    
'profit_amount' => 115.0,
    
'totals' => 
    array (
      
'weight' => 5.0,
      
'cost' => 6.1981853125,
      
'price' => 6.1981853125,
      
'calories' => 4020.8103999999994,
      
'protein' => 
      array (
        
'calories' => 1043.34,
        
'grams' => 260.835,
        
'percent' => 26.0,
      ),
      
'carbs' => 
      array (
        
'calories' => 1050.9584,
        
'grams' => 262.7396,
        
'percent' => 26.0,
      ),
      
'fat' => 
      array (
        
'calories' => 1926.512,
        
'grams' => 214.05688888888892,
        
'percent' => 48.0,
      ),
    ),
    
'price' => 
    array (
      
'type' => 'Percentage',
      
'amount' => '115%',
      
'cost' => 6.1981853125,
      
'price' => 13.33,
    ),
    
'ingredients' => 
    array (
      
=> 
      array (
        
'ingredient' => 'Chicken thighs',
        
'post_id' => 668,
        
'weight' => 
        array (
          
'amount' => 2.4,
          
'unit' => 'Lbs',
          
'pounds' => 2.4,
        ),
        
'unit_cost' => 3.768,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 806.4,
            
'grams' => 201.6,
          ),
          
'carbs' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'fat' => 
          array (
            
'calories' => 1566.72,
            
'grams' => 174.08,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Brown Rice',
        
'post_id' => 182,
        
'weight' => 
        array (
          
'amount' => 1.0,
          
'unit' => 'Lbs',
          
'pounds' => 1.0,
        ),
        
'unit_cost' => 0.64,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 40.96,
            
'grams' => 10.24,
          ),
          
'carbs' => 
          array (
            
'calories' => 435.2,
            
'grams' => 108.8,
          ),
          
'fat' => 
          array (
            
'calories' => 35.84,
            
'grams' => 3.9822222222222226,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Peas',
        
'post_id' => 185,
        
'weight' => 
        array (
          
'amount' => '0.13',
          
'unit' => 'Lbs',
          
'pounds' => 0.13,
        ),
        
'unit_cost' => 0.14950000000000002,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 13.3,
            
'grams' => 3.325,
          ),
          
'carbs' => 
          array (
            
'calories' => 53.2,
            
'grams' => 13.3,
          ),
          
'fat' => 
          array (
            
'calories' => 4.2,
            
'grams' => 0.4666666666666667,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Carrots',
        
'post_id' => 186,
        
'weight' => 
        array (
          
'amount' => '0.10',
          
'unit' => 'Lbs',
          
'pounds' => 0.1,
        ),
        
'unit_cost' => 0.11960000000000003,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 2.0,
            
'grams' => 0.5,
          ),
          
'carbs' => 
          array (
            
'calories' => 38.0,
            
'grams' => 9.5,
          ),
          
'fat' => 
          array (
            
'calories' => 0.4,
            
'grams' => 0.044444444444444446,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Coconut Oil',
        
'post_id' => 184,
        
'weight' => 
        array (
          
'amount' => '0.50',
          
'unit' => 'Fluid Oz',
          
'pounds' => 0.03,
        ),
        
'unit_cost' => 0.1858203125,
        
'type' => 'wet',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'carbs' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'fat' => 
          array (
            
'calories' => 120.0,
            
'grams' => 13.333333333333334,
          ),
        ),
      ),
      
=> 
      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' => 'Apple',
        
'post_id' => 190,
        
'weight' => 
        array (
          
'amount' => '0.06',
          
'unit' => 'Lbs',
          
'pounds' => 0.06,
        ),
        
'unit_cost' => 0.09158999999999999,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 0.144,
            
'grams' => 0.036,
          ),
          
'carbs' => 
          array (
            
'calories' => 13.535999999999998,
            
'grams' => 3.3839999999999995,
          ),
          
'fat' => 
          array (
            
'calories' => 1.008,
            
'grams' => 0.112,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Chia Seeds',
        
'post_id' => 222,
        
'weight' => 
        array (
          
'amount' => '0.03',
          
'unit' => 'Lbs',
          
'pounds' => 0.03,
        ),
        
'unit_cost' => 0.24,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 9.935999999999998,
            
'grams' => 2.4839999999999995,
          ),
          
'carbs' => 
          array (
            
'calories' => 17.2224,
            
'grams' => 4.3056,
          ),
          
'fat' => 
          array (
            
'calories' => 39.74399999999999,
            
'grams' => 4.4159999999999995,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Chickpeas',
        
'post_id' => 660,
        
'weight' => 
        array (
          
'amount' => '0.75',
          
'unit' => 'Lbs',
          
'pounds' => 0.75,
        ),
        
'unit_cost' => 0.6363000000000001,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 156.6,
            
'grams' => 39.15,
          ),
          
'carbs' => 
          array (
            
'calories' => 307.79999999999995,
            
'grams' => 76.94999999999999,
          ),
          
'fat' => 
          array (
            
'calories' => 156.6,
            
'grams' => 17.4,
          ),
        ),
      ),
    ),
  ),
);
?>

Chicken

Lbs
Cals
Ingredient Amount Cost Protein Carbs Fat Total Cals
Chicken thighs2.4 Lbs$3.77806 cals (202 grams)0 cals (0 grams)1567 cals (174 grams)2373 cals
Brown Rice1 Lbs$0.6441 cals (10 grams)435 cals (109 grams)36 cals (4 grams)512 cals
Peas0.13 Lbs$0.1513 cals (3 grams)53 cals (13 grams)4 cals (0 grams)70 cals
Carrots0.1 Lbs$0.122 cals (1 grams)38 cals (10 grams)0 cals (0 grams)40 cals
Coconut Oil0.5 Fluid Oz$0.190 cals (0 grams)0 cals (0 grams)120 cals (13 grams)120 cals
Sweet Potato0.5 Lbs$0.3714 cals (4 grams)186 cals (47 grams)2 cals (0 grams)202 cals
Apple0.06 Lbs$0.090 cals (0 grams)14 cals (3 grams)1 cals (0 grams)15 cals
Chia Seeds0.03 Lbs$0.2410 cals (2 grams)17 cals (4 grams)40 cals (4 grams)67 cals
Chickpeas0.75 Lbs$0.64157 cals (39 grams)308 cals (77 grams)157 cals (17 grams)622 cals
Amounts:5 lbs$6.21,043 cals (261 grams)1,051 cals (263 grams)1,927 cals (214 grams)
Macros:26% Protein26% Carb48% Fat
Totals:Price$13.33Calories4,021 cals