What to Build Next After Learning PHP
After your first PHP project, pick a change you can finish and demonstrate. Use the project finish-line checks if you want to verify your starting point first.
Keep building in plain PHP
Section titled “Keep building in plain PHP”Add title search to your blog. Start with a GET form on the post list so the query is part of the URL. Read the blog’s post-search exercise for the model and controller changes.
The feature is finished when a search for a unique word shows the expected post, a search for a missing word shows an empty result, and clearing the search restores the full list.
Rebuild a feature in Laravel
Section titled “Rebuild a feature in Laravel”Recreate the reading list using Laravel routes, a Blade view, and a database model. Start with a route that lists books from SQLite and a form that adds one. The Laravel introduction covers the pieces.
Check that you can add a book, reload the page, and see it listed. Compare the PHP starter and Laravel versions to see where each reads input and queries SQLite.
Learn to test a feature
Section titled “Learn to test a feature”Extract the reading list’s title trimming into a function and add an automated check. Use the small PHP testing workflow.
Check that your local test reports four successful cases, a deliberate change makes one fail, and GitHub Actions runs the test on both versions in your matrix.
Go further with the CRM
Section titled “Go further with the CRM”Try the Laravel CRM contacts API lab if you finished the main app. If you already finished the queue lab, try exporting just a subset of your test contacts. Start by defining a clear filter, such as an email address prefix, and adding it to the export job.
Check that the exported file contains the matching test contact and leaves out a contact that doesn’t match. Run the lab’s retry test to confirm that repeated execution for the same export ID still writes one file.