Recipes

Beef

<?php
$recipes 
=
array (
  
=> 
  array (
    
'id' => 198,
    
'recipe' => 'Beef',
    
'name' => 'Beef 90/10',
    
'profit_type' => 'Percentage',
    
'profit_amount' => 150.0,
    
'totals' => 
    array (
      
'weight' => 3.7399999999999998,
      
'cost' => 7.4339038042080405,
      
'price' => 7.4339038042080405,
      
'calories' => 3489.9303894601317,
      
'protein' => 
      array (
        
'calories' => 848.2586526041024,
        
'grams' => 212.0646631510256,
        
'percent' => 24.0,
      ),
      
'carbs' => 
      array (
        
'calories' => 792.9527281962646,
        
'grams' => 198.23818204906615,
        
'percent' => 23.0,
      ),
      
'fat' => 
      array (
        
'calories' => 1848.7190086597645,
        
'grams' => 205.41322318441829,
        
'percent' => 53.0,
      ),
    ),
    
'price' => 
    array (
      
'type' => 'Percentage',
      
'amount' => '115%',
      
'cost' => 7.4339038042080405,
      
'price' => 15.98,
    ),
    
'ingredients' => 
    array (
      
=> 
      array (
        
'ingredient' => 'Ground Beef (80/20)',
        
'post_id' => 135,
        
'weight' => 
        array (
          
'amount' => 1.3,
          
'unit' => 'Lbs',
          
'pounds' => 1.3,
        ),
        
'unit_cost' => 4.524,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 732.16,
            
'grams' => 183.04,
          ),
          
'carbs' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'fat' => 
          array (
            
'calories' => 1647.36,
            
'grams' => 183.04,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Coconut Oil',
        
'post_id' => 184,
        
'weight' => 
        array (
          
'amount' => '0.60',
          
'unit' => 'Fluid Oz',
          
'pounds' => 0.04,
        ),
        
'unit_cost' => 0.22298437499999998,
        
'type' => 'wet',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'carbs' => 
          array (
            
'calories' => 0.0,
            
'grams' => 0.0,
          ),
          
'fat' => 
          array (
            
'calories' => 144.0,
            
'grams' => 16.0,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Brown Rice',
        
'post_id' => 182,
        
'weight' => 
        array (
          
'amount' => '0.60',
          
'unit' => 'Lbs',
          
'pounds' => 0.6,
        ),
        
'unit_cost' => 0.384,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 24.576,
            
'grams' => 6.144,
          ),
          
'carbs' => 
          array (
            
'calories' => 261.12,
            
'grams' => 65.28,
          ),
          
'fat' => 
          array (
            
'calories' => 21.504,
            
'grams' => 2.3893333333333335,
          ),
        ),
      ),
      
=> 
      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' => 'Spinach',
        
'post_id' => 187,
        
'weight' => 
        array (
          
'amount' => '0.30',
          
'unit' => 'Lbs',
          
'pounds' => 0.3,
        ),
        
'unit_cost' => 0.6518333333333333,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 20.16,
            
'grams' => 5.04,
          ),
          
'carbs' => 
          array (
            
'calories' => 4.704000000000001,
            
'grams' => 1.1760000000000002,
          ),
          
'fat' => 
          array (
            
'calories' => 9.744,
            
'grams' => 1.0826666666666667,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Sweet Potato',
        
'post_id' => 189,
        
'weight' => 
        array (
          
'amount' => '0.60',
          
'unit' => 'Lbs',
          
'pounds' => 0.6,
        ),
        
'unit_cost' => 0.44085,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 16.8,
            
'grams' => 4.2,
          ),
          
'carbs' => 
          array (
            
'calories' => 223.20000000000002,
            
'grams' => 55.800000000000004,
          ),
          
'fat' => 
          array (
            
'calories' => 2.4,
            
'grams' => 0.26666666666666666,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Apple',
        
'post_id' => 190,
        
'weight' => 
        array (
          
'amount' => '0.40',
          
'unit' => 'Lbs',
          
'pounds' => 0.4,
        ),
        
'unit_cost' => 0.6106,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 0.96,
            
'grams' => 0.24,
          ),
          
'carbs' => 
          array (
            
'calories' => 90.24,
            
'grams' => 22.56,
          ),
          
'fat' => 
          array (
            
'calories' => 6.720000000000001,
            
'grams' => 0.7466666666666667,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Lentils',
        
'post_id' => 664,
        
'weight' => 
        array (
          
'amount' => '0.50',
          
'unit' => 'Grams',
          
'pounds' => 0.0,
        ),
        
'unit_cost' => 0.0010749748672816098,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 0.2645549304220533,
            
'grams' => 0.06613873260551333,
          ),
          
'carbs' => 
          array (
            
'calories' => 0.6172948376514577,
            
'grams' => 0.1543237094128644,
          ),
          
'fat' => 
          array (
            
'calories' => 0.05291098608441066,
            
'grams' => 0.005878998453823407,
          ),
        ),
      ),
      
=> 
      array (
        
'ingredient' => 'Chickpeas',
        
'post_id' => 660,
        
'weight' => 
        array (
          
'amount' => '0.30',
          
'unit' => 'Grams',
          
'pounds' => 0.0,
        ),
        
'unit_cost' => 0.0005611210074251751,
        
'type' => 'dry',
        
'macros' => 
        array (
          
'protein' => 
          array (
            
'calories' => 0.1380976736803118,
            
'grams' => 0.03452441842007795,
          ),
          
'carbs' => 
          array (
            
'calories' => 0.2714333586130267,
            
'grams' => 0.06785833965325667,
          ),
          
'fat' => 
          array (
            
'calories' => 0.1380976736803118,
            
'grams' => 0.01534418596447909,
          ),
        ),
      ),
    ),
  ),
);
?>

Beef 90/10

Lbs
Cals
Ingredient Amount Cost Protein Carbs Fat Total Cals
Ground Beef (80/20)1.3 Lbs$4.52732 cals (183 grams)0 cals (0 grams)1647 cals (183 grams)2379 cals
Coconut Oil0.6 Fluid Oz$0.220 cals (0 grams)0 cals (0 grams)144 cals (16 grams)144 cals
Brown Rice0.6 Lbs$0.3825 cals (6 grams)261 cals (65 grams)22 cals (2 grams)308 cals
Peas0.5 Lbs$0.6053 cals (13 grams)213 cals (53 grams)17 cals (2 grams)283 cals
Spinach0.3 Lbs$0.6520 cals (5 grams)5 cals (1 grams)10 cals (1 grams)35 cals
Sweet Potato0.6 Lbs$0.4417 cals (4 grams)223 cals (56 grams)2 cals (0 grams)242 cals
Apple0.4 Lbs$0.611 cals (0 grams)90 cals (23 grams)7 cals (1 grams)98 cals
Amounts:3.7 lbs$7.43848 cals (212 grams)793 cals (198 grams)1,849 cals (205 grams)
Macros:24% Protein23% Carb53% Fat
Totals:Price$15.98Calories3,490 cals