Diet & Meal Planner
Client profiles, meal plans with calorie and macro totals, and a weight tracker, in PHP
Build meal plans in minutes with Diet & Meal Planner — the calories and macros add themselves up, and every client gets a private link to their plan.
- Instant delivery
- Commercial license included
- PHP 8 compatibility verified
One-time payment · Instant download · Regular license (Agency option)
Secured by Razorpay · we never see your card/UPI details
What you get
Taken from this product's own README (included in the download). A PHPGuru-developed product.
Included
- Client profiles with goal, diet preference, allergies, target weight and daily calorie and macro targets
- BMI, resting energy (Mifflin-St Jeor) and daily energy estimates worked out from the client's own figures, plus a standalone calculator
- A database of 125 everyday foods with energy, protein, carbohydrate, fat and fibre per 100 g and household measures (cup, piece, tbsp) — taken from USDA FoodData Central, public domain; add your own foods and recipes
- Meal plans of 1 to 14 days with six meals a day: add a food by grams or by household measure and see the day's calories and macros against the target
- Diet preference is enforced: a non-vegetarian food cannot be added to a vegetarian client's plan
- Copy a day to other days, save any plan as a reusable template, and start a client's plan from a template
- One active plan per client, enforced by the database; activating a new plan archives the old one
- Print view of the whole plan (or save as PDF from the browser) with your practice name and a standing note
- A private link for each client: they see their active plan and log their weight, with no password to remember; replace the link at any time
- Weight history with a progress chart, change since the first weigh-in, and a dashboard of clients without a plan or without a recent weigh-in
- CSRF protection on every form, prepared statements throughout, and a login lockout after repeated failed attempts
What it is not
This is a planning and record-keeping tool for a professional, not a medical device and not a source of medical advice: it does not diagnose, prescribe diets for medical conditions, or generate plans automatically — you choose the foods. The energy figures are estimates from population formulas, shown for adults only. It has one staff login (clients use a private link rather than accounts), no online payments or appointment booking (pair it with our Clinic Appointment Booking for that), no barcode scanning, no micronutrients beyond fibre, and no mobile app. The shipped food list covers basic ingredients; cooked dishes such as idli or dal tadka are added as your own foods.
- Requirements & testing
- PHP 7.4+ (tested on PHP 8.5), MySQL 5.7+ or MariaDB 10+ (tested on MySQL 8.0), the mysqli extension (enabled by default on virtually all PHP hosting).
- In the download
- Full PHP source, database schema (sql/schema.sql), README with installation steps, college project report and viva questions.
- Installation (5 steps)
- Upload all files to your PHP hosting (shared hosting, VPS, or XAMPP) → Create a new MySQL database → Import sql/schema.sql into that database via phpMyAdmin or the command line → Open config.php and set DB_HOST, DB_NAME, DB_USER, DB_PASS → Visit login.php in your browser. Prefer us to do it? Add installation at checkout.
- Support & licence
- Email support is included with your purchase — reply with your payment ID and what you're seeing, and we'll help you get it running. Licence terms: Regular vs Agency.
Screenshots
Sound familiar?
- Meal plans are built in a spreadsheet and the calories are added up by hand.
- Plans go out as photos or PDFs, and nobody is sure which version is the current one.
- Client weights arrive by message and never end up in one place.
- Diet-planning apps charge a monthly subscription, and your client list lives on their servers.
Diet & Meal Planner fixes that today: complete source code, the database included, a commercial license — installed on your hosting in an afternoon, or by us.
Who buys it — and what they get
Business owners
Dietitians, nutritionists and gyms: plan, print and track clients on a system you own — no monthly fee.
Freelancers & agencies
Set it up for a local dietitian, clinic or gym, put their name on it, and bill for installation and changes.
Students & learners
A complete diet planner project with formulas you can explain, plus a report template and viva questions in the download.
Freelancers: the Regular license covers client projects, so one purchase can become paid work. Reselling it as a hosted service needs the Agency license.
Included in the download
College project pack for BCA, MCA & B.Tech students
The ZIP has a college-project-pack folder next to the source code, with what a final-year submission needs:
- Project report template (.docx) — abstract, SRS, DFD/ER and use-case tables, the design of all 8 database tables, installation, workflow walkthrough, 16 test cases, screenshot list, references.
- 29 viva questions with model answers — about this project's tables and workflow, plus PHP/MySQL fundamentals.
- XAMPP installation steps for Windows and macOS.
- README on using it honestly — what to change and how to declare the licensed base in your report.
Full overview: who it's for, every feature explained, how it works
Diet & Meal Planner — Overview
A ready-to-deploy PHP and MySQL diet and meal planner. Add a client with their height, date of birth, activity level, goal and diet preference; record a weigh-in and the app works out BMI and an estimate of daily energy use from standard published formulas. Set the calorie and macro targets you judge right, then build a plan day by day from a 125-food database — every line shows its calories, protein, carbohydrate and fat, and each day totals against the target. Print the plan or send the client their private link, where they see the active plan and log their own weight.
Who This Is For
- Dietitians and nutritionists who build meal plans in spreadsheets and send them as photos or PDFs.
- Gyms and fitness trainers who want to give members a plan and track their weight without a monthly app fee.
- Freelance developers setting up a planning tool for a local clinic or gym.
- Students who need a complete, explainable PHP + MySQL project on diet planning or nutrition management.
This is a planning and record-keeping tool for a professional, not a medical device and not a source of medical advice: it does not diagnose, prescribe diets for medical conditions, or generate plans automatically — you choose the foods. The energy figures are estimates from population formulas, shown for adults only. It has one staff login (clients use a private link rather than accounts), no public website, no online payments and no appointment booking — the Diet & Meal Planner Pro edition adds the website, programmes for sale with Razorpay checkout, client accounts and a blog. No barcode scanning, no micronutrients beyond fibre, and no mobile app. The shipped food list covers basic ingredients; cooked dishes such as idli or dal tadka are added as your own foods.
Key Features
Numbers you can check by hand
BMI is weight divided by height squared. Resting energy uses the Mifflin-St Jeor equation and daily use multiplies it by an activity factor. The app shows the working, limits these estimates to adults, and leaves the target to you — the suggestion only pre-fills the field.
A food list with a clean licence
The 125 foods and their values come from USDA FoodData Central (SR Legacy), which is in the public domain. Every row names the exact record it came from, so nothing in the database is copied from a commercial or copyrighted table.
A plan keeps the values it was built with
Each line of a plan stores its own copy of the food's name and nutrient amounts. Editing or deleting a food later never changes a plan that has already been printed or sent.
Rules enforced where it matters
A client can have only one active plan — the database itself refuses a second, even if two people click Activate at the same moment. A client's weight is one entry per day, and a food outside the client's diet preference is refused, not just hidden.
The client's side without accounts
Each client gets a private link with a random key. It opens their active plan and a weight form — nothing else — and you can replace the link in one click if it is ever shared by mistake.
What's Included
The full, unobfuscated PHP source and a MySQL schema file ready to import, with the default admin login seeded. Setup takes about 10-15 minutes on any standard PHP + MySQL hosting.
Technical Requirements
PHP 7.4+ (tested on PHP 8.5), MySQL 5.7+ or MariaDB 10+ (tested on MySQL 8.0), and the mysqli extension. Plain PHP, no framework dependency. Every form is CSRF-protected and all database access uses prepared statements.
Exact Buy & Setup Process
Step 1 — Buy Now
Click Buy Now, enter your name, email, and phone, and pay via Razorpay (UPI, cards, netbanking, wallets).
Step 2 — Get Your Download
The download link appears instantly and is emailed to you — valid 7 days, up to 5 downloads.
Step 3 — Upload and Configure
Extract the zip, upload to your hosting, create a MySQL database, and update the four values in config.php.
Step 4 — Import and Log In
Import sql/schema.sql via phpMyAdmin, then log in (admin / admin123) and change the password from the top bar.
Frequently Asked Questions
Does it create a diet plan automatically?
No. You build the plan by choosing foods and quantities; the app does the arithmetic and checks it against the target. That keeps the professional judgement with you.
Where do the nutrition values come from?
From USDA FoodData Central (SR Legacy, April 2018), a public-domain database. Each food shows the record it came from. You can edit any value or add your own foods from a label or a recipe calculation.
Are Indian foods included?
Basic ingredients are: roti, naan, paratha, rice, dals (lentils, moong, toor), chana, rajma, lobia, besan, atta, suji, sabudana, curd, ghee, buffalo milk, vegetables such as bhindi, lauki and karela, and common fruit. Paneer and cooked dishes such as idli or sambar are not in the shipped list — add them as your own foods.
Can my clients log in?
They do not need to. Each client gets a private link that opens their active plan and a weight form. There are no client passwords to manage.
Is it suitable for a college project?
Yes — it has a clear database (clients, weigh-ins, foods, plans, plan items), two kinds of user, formulas you can explain, and rules enforced at the database level. Declare the licensed base and add your own feature, as your college requires.
Does it give medical advice?
No. It is a planning tool. The printed plan carries a standing note saying so, which you can edit in config.php.
Is there a version with a website and online payments?
Yes — the Diet & Meal Planner Pro edition includes everything here plus a public website for the practice, programmes for sale with Razorpay checkout or manual payment, client accounts with email access links, an orders panel with CSV export, coupons, a blog and enquiries.
Is the commercial license included?
Yes — every purchase includes a genuine commercial license for your own business or client work.
Is it tested on PHP 8?
Yes — every page was tested end to end on PHP 8.5 with MySQL 8, including bad-input and concurrent-request checks.
Do you offer a refund?
Purchases are non-refundable once paid — see the refund policy. If something is genuinely wrong, raise an issue from your orders page and we will help fix it.
Is support included?
Yes — email support is included with every purchase.
Key Features
- Client profiles with goal, diet preference, allergies, target weight and daily calorie and macro targets
- BMI, resting energy (Mifflin-St Jeor) and daily energy estimates worked out from the client's own figures, plus a standalone calculator
- A database of 125 everyday foods with energy, protein, carbohydrate, fat and fibre per 100 g and household measures (cup, piece, tbsp) — taken from USDA FoodData Central, public domain; add your own foods and recipes
- Meal plans of 1 to 14 days with six meals a day: add a food by grams or by household measure and see the day's calories and macros against the target
- Diet preference is enforced: a non-vegetarian food cannot be added to a vegetarian client's plan
- Copy a day to other days, save any plan as a reusable template, and start a client's plan from a template
- One active plan per client, enforced by the database; activating a new plan archives the old one
- Print view of the whole plan (or save as PDF from the browser) with your practice name and a standing note
- A private link for each client: they see their active plan and log their weight, with no password to remember; replace the link at any time
- Weight history with a progress chart, change since the first weigh-in, and a dashboard of clients without a plan or without a recent weigh-in
This vs. a Free Download
| phpguru.store | Typical free download | |
|---|---|---|
| Commercial & client-project use | ✓ Full license included | Often restricted to personal/non-commercial use |
| Complete, matching database file | ✓ Included and tested | Frequently missing, outdated, or mismatched |
| Runs on current PHP versions | ✓ Verified before listing | Old mysql_*-era code is common, fatal-errors on PHP 7/8 |
| Support if setup goes wrong | ✓ Email support included | None — you're on your own |
Frequently Asked Questions
What do I get after purchase?
A downloadable ZIP with the complete PHP source code and a MySQL database file (.sql), ready to install on standard PHP/MySQL hosting.
How is the code delivered?
Instantly after your Razorpay payment is confirmed — a secure download link is shown on-screen and emailed to you.
Can I customize this source code?
Yes, the full source code is included and free to modify for your own use or client projects.
Can I use this for a client project or resell a deployment?
Yes — purchasing gives you a license to use, modify, and deploy the source code for your own projects or client work, with no non-commercial restriction. If you also want to white-label it or run it as a hosted/SaaS service for your own customers, choose the Agency license at checkout — compare the two.
Do I need to know PHP to use this?
No PHP knowledge is needed to install and run it as-is — just basic comfort uploading files and importing a MySQL database via phpMyAdmin. Customizing the code beyond that does require PHP.
Will this work on shared hosting like Hostinger?
Yes — every product is plain PHP and MySQL with no special server modules or paid framework license required, and is built and tested on standard shared hosting before it's listed.
How is this different from a free copy of similar code I can find elsewhere?
Free downloads are commonly restricted to personal/non-commercial use, ship without a matching database file, and were never tested on current PHP versions. This includes a genuine commercial license, a tested matching database, verified PHP 8 compatibility, and email support if setup goes wrong.
Works Well With
AI Setup Assistant Prompt
A ready-made prompt for your own AI assistant (Claude, ChatGPT, Cursor — whatever you use) that walks it through getting this fully live on your domain: hosting, database, config, login, all of it.
I just purchased "Diet & Meal Planner" (a PHP + MySQL application, delivered as diet_planner.zip) from phpguru.store and I want you to help me get it fully live on my own domain. Walk me through this step by step — one step at a time, and check in with me before moving to the next one, since I may need to tell you details about my own setup along the way.
Running a business site already? Check how AI-search-ready it is — free.
Free AI Visibility Snapshot →One-time payment · Full source code · Instant delivery · Billed in USD, international cards accepted
See preview pagesReal screens with sample data, read-only. The full system is in the download.
Secured by Razorpay. We never see your card/UPI details.
- Full PHP + MySQL source code
- Installable on any PHP hosting
- Free to customize
- PHP 8 compatibility verified before listing
- Genuine commercial license — client work OK
- Real email support if setup goes wrong
What happens after you pay
- 1. Download link appears instantly, plus emailed to you
- 2. Extract, upload to your hosting, import the included database
- 3. Log in and it's running — usually 15–30 minutes end to end
Purchases are non-refundable, but if anything's wrong you can raise an issue from your orders page and we'll help you fix it.
Want us to set it up for you?
Prefer not to handle hosting/database setup yourself? We'll do it for you.
- Installation on your hosting from ₹1,999$29
- Custom features / modifications from ₹4,999$69
Pricing depends on your hosting and what you need changed — we'll quote you directly, no surprise charges.