Category Archives: laravel

Using Package Auto-Discovery In Laravel 5.5

Auto-Discovery feature in Laravel 5.5 is pretty cool. It makes adding packages a little bit easier(or removing them). We are going to use anhskohbo no no-captcha package as the example on how to use it. Now we need to use the following command to add the example package to the composer file.

The old… Read More »

Setting Up Mailgun With Laravel 5

We are going to setup Mailgun to work with sending emails in Laravel. Its easy enough to setup and with mailgun you can send 10,000 emails a month for free which is great. Setting Up Mailgun Account After sigining up to Mailgun, under Domains tab, click on add new domain. It’s best when entering your… Read More »

Restrict Access to Admins In Laravel

I wanted to be able to have users and admins use the same login form and the admins have the same access as the users but with certain parts of the site only for admins without having to create a new table in the database as well. Edit Database Migration Firstly we are going to… Read More »

Setting Up A Test Server For Laravel

I always used xmapp on windows to test the code i write before running it on a production server which was fine on till I started running into problems with one of my projects which rfine on my PC but not on the production server. So decided to look around for a good option for… Read More »

Preload Images into Dropzone.js In Laravel 5.4

I tried a few solutions i found online but they did not seem to work well for me. For this example i will get all images for a product page. I modified dropzone-config and added the code below just under init.

The prepop route:

The code below is what i used in my home… Read More »