Wafy's Tools

By Jeff , 29 May, 2026

Another pretty straight forward lesson. Just basically added a log in controller that hides much of the information needed to authenticate the user. It even has an option for "Remember Me" built into the authentication function. It also helps track the session for the "Remember Me" as well.

The forms and routes are similar to the previous lesson, They even suggest copying the register view to build the login view. The rest of the lesson was to change the CSS which I didn't do to my app, as it was already a step up from my apps. 

By Jeff , 29 May, 2026

This lesson was a bit involved. Though I am pretty impressed with the authorization aspects of Laravel. There are a lot of helper methods that seem to take care of a lot of the grunt work. I can see why people use this framework for their projects.

Authentication seems to be mostly taken care of behind the scenes. The next lesson will teach the log in process which should be interesting. This one was more of the authorization. 

By Jeff , 29 May, 2026

This one also gave me a little hope for the framework. There is a lot that goes on behind the scenes from what I can see. Which can be good depending on the project. Laminas had some of that also, but kind of moved away from that. Like the ability to assume the framework looks up a model for you and you can just accept it in the controller. All based on the route binding model in the routing. Which kind of explains the option to add a model in the controller setup from artisan. 

By Jeff , 28 May, 2026

This lesson was about forms and storage. Not sure how I feel about the way forms are created in Laravel. I am a little spoiled by Laminas, in that they use form objects to generate and validate the forms. Laravel seems to let you create your form in the view and then in the controller you can validate the form. While this is just a small amount of code, I am not sure I like it. It is very simple to add validation and even customize the messages.

By Jeff , 28 May, 2026

This was a relatively short lesson. Pretty simple and showed off how to build components more. Like the Layout component it looks like you can build sub-views that you can put code to be displayed. Seems like a neat concept, verse building a view object to do similar things.

By Jeff , 28 May, 2026

I am beginning to see the appeal of Laravel. There are a lot of built in functions for the database and models. Learned about some new features of PHP 8 that hadn't tried to use also. Between the database and the models there are a lot of the basic functions built it, even some not so basic ones. For example there is a latest function for the model that will look at the latest entries based on the timestamps automatically. As long as your fields match their expected names, it just works.

By Jeff , 28 May, 2026

This lesson was all about the database functions in Laravel. This is one thing that I have to give Laravel some credit. I do like their migration feature. They have abstracted away the database to a file that will create and remove tables as you need to though the artisan script.

By Jeff , 28 May, 2026

Kind of knew already what MVC is. Laminas uses a MVC structure for their framework as well. It is pretty simple and a similar to what Laminas does, just in a slightly different way. With Laminas you have a route configuration in the module's config.php file. In there you do your dependency injection and setup of the Controller. With Laravel, they have (at least currently) a separate file for routes that is so far kind of hard coded. Where as the Laminas can be more dynamic. Again this is just a boot camp. 

By Jeff , 22 May, 2026

Had to do a few things to my setup a bit to make things work a little better. Some things I might not need or need to change if I put this in production. Ran into a bit of CORS issue once I had to rebuild the project directory. Due to the Docker container I had a bit of an issue with the Vite configuration. It needed a couple things to get things working for the server that runs when you run dev with Composer. After some googling and a small chat with AI. I ended up adding the following to the vite.config.js file:

By Jeff , 21 May, 2026

I have decided to start with Laravel as it seems to be the most popular currently. From what I have learned from starting their boot camp, I can see why. Though it kind of frustrates me a bit which I will explain. It seems to be a big ecosystem involved with it. They have embraced AI and have added their own cloud system as well. It is a bit overwhelming, coming from a guy that prefers to host his own projects. Digging in a bit and looking past all of the external pieces, it does look like you can build an application with it and still host it locally.