Learn what Traits are and how to effectively use them in Laravel & PHP. Traits are a handy way of reusing code in PHP, another way to help keep your code DRY (or “don’t repeat yourself”).
If you have a website that’s changing a lot, it can be a pain to keep on updating your static navbar with new links, that’s why this system of having a dynamic navbar which can be updated from a simple form can be really useful. It can allow you to change the links that display […]
If you use NPM to install vendor modules, heres an easy way to include them in your bundled app.js file so you can use them in your Laravel app, this is assuming you’ve gone through the process of setting up the ideal frontend workflow using Laravel Mix already. If you haven’t setup Laravel Mix, you […]
This is part 2 of the Infyom Laravel Generator tutorial which was started here. I very strongly recommend going through that before continuing on here. So, we’ve got an events table. Now we need to create an event types table so we can filter the table based on what event type has been selected. What […]
There are some great tools out there you can use to speed up your development workflow. The InfyOm Laravel Generator is one such tool; in a few simple commands it will create the files you needed for fully working CRUD, APIs, Test Cases and Swagger Documentation. The generator can automatically create the following: Migrations […]