Modern Features in a Legacy App via APIs
summary
Add modern features to a legacy PHP site by creating a second API-only Laravel app that implements cart, PayPal payments and notifications while leaving the legacy app mostly unchanged. The new app uses Laravel Sanctum token authentication, Guzzle HTTP client for requests, and returns Blade + Tailwind views compiled with Vite (HTML/JS injected into the legacy site) and a QR code the POS scans; demo shows an end-to-end order flow on PHP 8.3 and claims about 90% of the work being reusable for other frontends.
AI-written summary · about
chapters (8)
- 0:00Legacy problem
- 7:00Traditional legacy limits
- 10:29External API solution
- 16:29Order flow practice
- 21:45HTML and styles handling
- 32:17Payment validation and QR code
- 35:51Technical and economic benefits
- 38:18Final considerations
related talks
30mLegacy to Laravel in 30 minutes
48mMigrating a 15 Year Old Enterprise Application to Laravel: Lessons Learned and Opportunities Gained
20mConverting a legacy app to API Platform
01h 02mRewriting 12-Year-Old Code
28mMigrating to Laravel: Managing the ick
01m🧩 New life for legacy PHP apps?
49mElevating Legacy: A Case Study on the migration from Laravel 4 to 9
31mModern PHP development with Laravel 5.6
