Test and deploy Laravel applications with GitLab CI/CD and Envoy

Recently we decided to move some of our projects to  GitLab  especially because we are attracted by the plans and all in one solution that it offers. We were particularly interested into  CI/DC for testing and continuous deployment on our DitigitalOcean droplets. Looking into the numerous resources, we have found this article that explain very clearly how to deploy a Laravel Any application using GitLab CI/DC and Laravel Envoy. We now use it for 2 of our projects and counting to add more of them. Below I report the article but I suggest you to visit GitLab website for the …

Read moreTest and deploy Laravel applications with GitLab CI/CD and Envoy

Laracon Online early bird registration is open!

Early bird registration for Laracon Online of February the 7th is open. Laracon Online is a great opportunity to attend one of the most exciting events of the Laravel community without breaking the bank. Early bird tickets are only 12$  and can be purchased here. And the best thing is that you can view all talks after  the conference, as all the conference will be recorded and available on line.      

InvoiceNinja Module: Access

InvoiceNinja is a very interesting invoicing Laravel application that we discovered last year. They have two different versions – hosted and self-hosted. In other words, you can register at invoiceninja.com and use their online version, paying for premium services, or you can download the code for free (Laravel 5.2) and install it on your server for free. We started with the hosted version, and we loved it, especially our accountant. It is really well made, easy to use, with a slick interface.   It took us few days to master the tool and since than we have been using it everyday. The hosted …

Read moreInvoiceNinja Module: Access

Mailtrap with Symfony, testing emails has never been so easy

Today I would like to write about a service that we use daily during development and pre-production, Mailtrap. Mailtrap is a fake SMTP server for development teams to test, view and share emails sent from the development and staging environments without spamming real customers. To set it up is very easy and for 1 inbox is also free. Simply hit the registration page, and head to the default inbox. There you will see the inbox settings that can be used in your project. That’s it! To make your job even easier, Mailtrap has a very useful Integration drop down that …

Read moreMailtrap with Symfony, testing emails has never been so easy

Laravel 5.3 add multi-language functionality

During a recent project, we faced the issue of adding a multi-language functionality to our application. We store our Laravel applications on DigitalOcean, but this tutorial will work basically on any other hosting company. Using Laravel middlewares we found a quite easy and straight forward solution. In this tutorial we will show you how to easily create your own. Add available locales in the configurations In order to allow only certain locales to work , simple add right below the locale key  in config/app.php the following array: ‘locales’ => [ ‘en’ => ‘English’, ‘it’ => ‘Italiano’], Create a custom middleware …

Read moreLaravel 5.3 add multi-language functionality

Laravel Spark

I am more of a Symfony developer, but I have to admit that this project is pretty cool. Spark is a Laravel package that provides scaffolding for subscription billing, invoices, user management etc. It is a great starting point for most of the projects out there.   Spark has two plans $99 per Site or $299 for unlimited sites and extensive documentation I have looked at some demos and videos and it seems to be a very promising project, the next step is obvious, give it a try. Stay tuned for a step to step guide. Meanwhile check the spark project site for …

Read moreLaravel Spark