phpFarm challenges you to program a farming robot named Fred using PHP commands to plant crops, fulfill orders, and gradually automate your operations. As you complete objectives, you unlock new coding abilities that let you scale up production and optimize your farm's efficiency. It's designed for players interested in learning practical programming concepts through hands-on gameplay mechanics rather than traditional tutorials.
About this game
Program your own little farming companion! In phpFarm, you control Fred the robot with PHP, grow crops, and automate your harvest. Complete orders, unlock new abilities, and turn your farm into a thriving paradise with clever code.
Players, last 24 days
Peak 1 · Low 0
Daily peak concurrent players, sampled once a night from Steam.
Hank's Corn Maze Your neighbor Hank now drops by your farm. Once you own while, Sensor and Array Tools, he shows up at the barn gate every 10 to 15 minutes of play and offers a corn maze. Click him to pick a size: Easy: 7×7 Medium: 11×11 Hard: 15×15 Fred starts bottom left, the goal waits top right, and spare parts are hidden in the dead ends. Write labyrinth.php to find them: can_pick_up() and pick_up() collect a part, and reaching the goal ends the maze. So collect first, then head for the goal. There is no countdown, just a timer and a Give up button. Your farm is waiting exactly as you left it. Bigger mazes pay more bio-mass, and Hank remembers your best time for each size. If you give up, he is back after five minutes. Workshop Spare parts are spent in the new Workshop tab of the skill tree: Compass: get_goal_x() and get_goal_y() tell Fred where the goal is Map: a trail on the ground shows where Fred has already been Corn knife: cut() lets Fred cut through one corn wall per maze Upgrades can also be bought in the workshop, for a fraction of the bio-mass plus a few spare parts. And with Line to the Neighbor, Hank visits more often. Array Tools A new skill tree node unlocks eight functions for lists: in_array, array_keys, array_sum, array_pop, array_shift, sort, rsort and range. Encore after the finale Two new optional missions wait after "Your Farm": Been Here Before? A pond leaves only narrow paths. Drive onto every tile Fred can reach and remember where he has been. The Best Row Count radishes row by row and harvest only the best row. Both have bonus tasks for silver and a Fred time for gold. Achievements Three new ones: finish your first maze, finish 15 mazes, and collect every spare part in a single maze. Fixes The delivery truck's headlights and tail lights now sit on the truck instead of floating in the air. Thanks for playing, and for every bug report on Discord!
New phpFarm now speaks Brazilian Portuguese. It is picked automatically if your system is set to Portuguese, or you can choose it in Settings. New Controls page in Settings: every mouse gesture and keyboard shortcut in one place. Trackpad support: drag with the left button to move the map, zooming with two fingers is now smooth, and Q/E rotate, WASD or the arrow keys pan. A green speech bubble appears above the delivery van when new orders arrive. The reference now lists how long each plant takes to grow and what it is worth, right under plant(). Code editor: Shift+Tab outdents, Tab indents a whole selection. Lines with a warning are now marked in yellow next to the line number. Fixes Long file names no longer overlap the buttons in the file list. The text on the two start options in the welcome window is now left-aligned. Starting the game outside the Steam client now restarts it through Steam, so achievements and the Supporter Pack always work.
phpFarm is now in Early Access!The wait is over and Fred is waiting for you! Write real PHP code, automate your farm and unlock new possibilities step by step. Your farm, your codeControl Fred directly through the integrated code editor. Plant resources, harvest your fields and create your own routines. Use the biomass you collect to unlock new commands, programming concepts and upgrades for your farm.Whether you are programming for the first time or already have experience, start with simple commands and find your own solutions at your own pace. A farm full of secretsThe last developer has disappeared. All that remains is a farm, an index.php file and Fred. Complete missions, discover letters left behind and work together to bring order back to the farm. Additional orders give you new goals and reasons to keep improving your code. Help shape Early AccessToday's launch also marks the next phase of development. We want to keep expanding phpFarm together with you. Your ideas, suggestions and bug reports help us improve existing features and develop new content. Join our DiscordShare your code, ask questions, show your progress and talk directly with us about the game.👉 Join the phpFarm Discord Thank you to everyone who has followed and supported phpFarm so far. We look forward to seeing your farms and your programs! Have fun on the farm!
Posts come from Steam's official announcements feed.