From the course: Accelerating Laravel API Development with AI: From Specification to Testing
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Leveraging AI for maintenance tasks - Laravel Tutorial
From the course: Accelerating Laravel API Development with AI: From Specification to Testing
Leveraging AI for maintenance tasks
- [Instructor] By using Laravel, you have the benefit of a well-baked framework for your API. You also have dependencies on Laravel and on the included packages. This is an area that can be forgotten. Here's my composer JSON file. I'll prompt, "Review this file and suggest package updates, replacements, or removals." Remember, AI is biased toward change. It won't likely tell you everything looks fine, so tread cautiously. However, in older projects, it has really helped me transition to more appropriate packages and it looks like there have been some minor updates in a few of these. Another area Copilot can help is with CICD. GitHub offers actions, but your team may use something else, have Copilot create the appropriate config to run your tests in your CICD. "Create a GitHub action to run tests in this project." Now, GitHub actions are another course entirely, but Copilot can help you implement them quickly. Let's see what it comes up with. Creates a database, composer install…