As handy as it can be to store images in the database, sometimes you just want to store them in the Filesystem. Luckily this is relatively straightforward also. Imagine, for example, we just want to add an image for each Member of the tennis club and view it on the members index page. We just [...]
Category: Uncategorized
Adding Fullcalendar to your application with Laravel Mix
***important - Do not attempt to complete the following blog post without first having set up npm and laravel mix. A good description of how to do this is in this post https://www.learnlaravel.net/953/adding-a-star-rating-system-to-your-application-step-4-adding-the-star-rating-component/.*** Once you are using Laravel mix to keep your plugins organised you will want to use it everywhere. Earlier we demonstrated an [...]
Adding multiple Images for an Entity - Step 1 - Creating a database table form to allow for multiple images to be uploaded.
If an entity (a person or an item) needs to have multiple images for each item then you will need an extra database entity and model to store those images. In the following example, we imagine a situation where each member of the tennis club can upload multiple images of themselves. Firstly, we need a [...]
Creating a Simple Shopping Cart Application - Step 5 - Making the Order form dynamic
In the last post we created an order form based on the data which was stored in the cart from the session. On the form we included buttons which should allow us to increase or decrease the quantity of a particular item or remove the item altogether. In this post we will add jQuery and [...]
Installing Spatie's Laravel Permission
After reviewing a number of different packages in the area of Access Control, I have found Spatie's Laravel-Permission to be the best in class. It the best maintained and there is a good body of documentation and help out there to go along with it. Installation of Laravel-permission is relatively straightforward. From your CLI enter [...]
Installing Composer
There are two ways to download and install Laravel. One is to download an installer program which when you run it will create a new Laravel project simply and quickly, in the current folder, whenever you want to. The other way is to use. Composer is currently the most popular PHP dependency package management system. [...]