Letting an AI agent upgrade my TYPO3 site, with tests in charge
Claude Code did the legwork of my TYPO3 7.6 to 14.3 migration. A smoke baseline, a verification gate, a ledger and human review decided what was really done.
Notes from daily work with TYPO3, PHP and AI-assisted engineering.
Claude Code did the legwork of my TYPO3 7.6 to 14.3 migration. A smoke baseline, a verification gate, a ledger and human review decided what was really done.
TYPO3 v14 removed $GLOBALS[‘TSFE’]. Here is how page id, language, TypoScript and routing data come from PSR-7 request attributes in controllers, middlewares and ViewHelpers.
Setting up typo3/testing-framework for a v13/v14 extension: a FunctionalTestCase, CSV fixtures, a custom repository query and a database assertion, run inside DDEV.
A minimal TYPO3 v14 site package from zero: a site set with config.yaml, auto-loaded TypoScript and TSconfig, PAGEVIEW and one backend layout mapped to a page template.
Why I rebuilt my own site as a fresh TYPO3 14.3 Composer project instead of climbing seven upgrade hops from 7.6, and the plan that got it done.
In the frontend context In a frontend context, the \TYPO3\CMS\Core\DataHandling\DataHandler class cannot be used and there is no specific API to create a File Reference. You are on your own. The simplest solution is to simply create a database entry into table “sys_file_reference” by using directly the database connection class provided by TYPO3 CMS. A cleaner solution … Continue reading Getting referenced files in TYPO3
Read the uid stored in the tt_content record in a TYPO3 extbase controller plugin instance.
May be the title itself seems silly for the most of MAC users why I’m sharing this. Actually it’s especially for the new mac users those who don’t know how to do this kind of stuff. I was curious about how to take screenshots in MAC. I was a windows user for more than 18 … Continue reading Taking Screenshots in a Mac
VIM Commands Since the 1970’s, Vi and its successor Vim have been included by default on many operating systems, including almost all GNU/Linux distributions. Vim is free and open-source and is one of the most popular code editors. It can be downloaded on Vim official site. vi (vim) line navigation FAQ: What is the vi command … Continue reading Top CLI VIM Commands and Shortcuts a PHP Developer Should Know
Problems I Faced and My Evaluations! I’d a requirement earlier to get tt_content data array inside FLUID template of extended fe_login. But it’s not there by default like any conventional TYPO3 content element or EXTBASE extension modules. I think about several methods to achieve this, here are the methods I tried and failed to achieve. … Continue reading TYPO3 10 LTS Get tt_content data array in fe_login FLUID Template without XCLASS