Let's pretend you want to add a custom component. As the case may be, this component allows you to change your site navigation menu. For example, when you have a Sign In link on your navigation menu and you are logged in, that link needs to change to Sign Out. Then you're asking yourself where the best place in the project to put the code is, where to place the files, how to name the classes, and how to make them autoload by the autoloader.
For successful implementation of this recipe, you must have your application deployed. By this we mean that you need to have a web server installed and configured for handling requests to your application, an application must be able to receive requests, and have implemented the necessary components such as Controllers, Views, and a bootstrap
file. For this recipe, we assume that our application is located in the apps
directory. If this is not the case, you should change this part of the path in...