Tag Archives: Laravel

How to quickly improve website performance

Posted in Development on December 12, 2018

Nowadays, websites should be fast, otherwise visitors will leave your website before they have seen the most important content of your website. It’s obvious, but it can be quite a challenge with all the interesting (frontend) assets that make your website so great once it’s fully loaded. In this post, I’ll describe some quick wins to improve the performance of your website.

Read more

How to add push notifications to a progressive web app

Posted in Javascript on November 21, 2018

This is the second post on building progressive web apps using the new Vue CLI 3. Push notifications will be introduced to create a native app experience. Push notifications require quite some work compared to using the Browser’s Notification API as we did so far. We need to setup a backend and add functionality to subscribe for push notifications. In addition, we also need to create a listener in the service worker to be able to show push notifications. Ready? Let’s go!

Read more

Building a basic admin panel using Laravel (3) – Authorization

Posted in PHP on July 19, 2018

This is the last part of a blog series on building a basic admin panel. Although there are many admin packages available, including Laravel’s own Spark package, we experienced that it’s also very easy to an admin panel yourself. We defined three major topics that are found in all admin panels that we have build. We started with the authentication of users (part 1) and continued with basic CRUD operation (part 2). In this third part the focus is on authorization: in an admin panel there are often users with different roles. Each user role may have access to different parts of the admin panel and is allowed to perform specific actions.

Read more

Building a basic admin panel using Laravel (2) – CRUD

Posted in PHP on July 19, 2018

Admin panels are an essential part of many web apps and online platforms. Although there are many admin packages available, including Laravel’s own Spark package, we experienced that it’s also very easy to create an admin panel from scratch. The main advantages: you know every detail of the admin panel and once the project is growing and more functionality is required, it can be easily extended. In the second part of the series on building your own basic admin panel we focus on CRUD operations.

Read more

Building a basic admin panel using Laravel (1) – Authentication

Posted in PHP on July 19, 2018

Many web apps and online platforms need some kind of administration panel to manage the their public parts. Only a limited number of users with a specific role or privileges have access to this admin panel. Examples include a webshop, hour registration tool, cooking website or a blog.

To build such an admin panel you have several options. We have build a lot of administration panels and the PHP framework Laravel came out as our favorite. For Laravel, several admin packages are already available, including the offical Spark package. However, we experienced that Laravel itself already has so much features to quickly build a basic admin panel yourself that a package isn’t always needed. In this blog series, we like to share our approach.

Read more

Local Laravel development and SSL on Homestead

Posted in PHP on April 27, 2018

Just a quick write down of the steps we took to add a SSL certificate to our local Laravel projects that run using Homestead. Google changed their automatic redirects for the .dev extension in URLs shaking up the developer world. But using new browser APIs such as MediaDevices (for accessing device camera and microphone) also requires your website to run under the https protocol. Time to add a SSL certificate for your local projects and enable an automatic redirect.

Read more

Building an application with Laravel and Vue

Posted in Javascript on February 8, 2018

It’s now 5 years since we built our first web application and a lot has happened since then. We started with building applications from scratch without any framework. Then we realized it made no sense to write every piece of code ourselves and we started exploring the possibilities to build applications in WordPress. Although WordPress is a great tool, it didn’t have the flexibility we need to build custom web apps. Nowadays we use a combination of Laravel and Vue. We are very happy with the combination of these frameworks and decide to write a blog series about building web applications using Laravel and Vue. This is the first blog of the series.

Read more

Customizing emails in Laravel

Posted in PHP on November 27, 2017

How do you customize the default password reset email in Laravel? In this blog, we describe the process of creating mailables, apply them to your own emails and finally customizing the ‘password reset emails’ that are included in the authentication scaffolding of Laravel.

Read more

Laravel-mix and the spread operator

Posted in Quick tips on November 17, 2017

Out of the box, the excellent Laravel-mix package does not support the use of the ES6 object spread operator. Here is a quick tip which enables it in your project. Very usefull in combination with Vuex/ Redux implementations in which you often want to quickly clone an object.

Read more

Spicing up a Laravel webapp with Vue

Posted in Javascript on October 20, 2017

Improving an old codebase by adding Vue to it. Yeah! Although only partly visible in the frontend of the webapp, we completely changed our client side code. We ditched jQuery and used Vue in our administration app.

Read more