Deploying a Laravel app in Kubernetes on Google cloud

By fisayo in Kubernetes on

What is Kubernetes? Kubernetes, also known as K8s is an opensource system for production-grade container orchestration. Modern applications stack usually are made up of a minimum of two to three services that interact with each other (web service, database service, and caching service), which run inside containers. Container orchestration, simply put is organizing these respective containers together. K8s is…

Build a news aggregator site with laravel

By fisayo in Api on

In this tutorial, We will learn how to create a web application that gathers top news across multiple news sites, using News API and Laravel. News API is a simple and easy-to-use API that returns JSON metadata for the headlines currently published on a range of news sources and blogs. At the end of this tutorial, you will…

Laravel 5.8 is Live - here's what's new

By fisayo in Laravel on

Laravel 5.8 was released on February, 26th 2019. This new release continues the improvements made in the previous release (version 5.7), as well as new features which includes support for the postmark email service, “has-one-through” Eloquent relationships, improved email validation, and many others. In the course of this article, we will take a look at the…

How to use multiple authentication guards in your Laravel application

By fisayo in Laravel on

If you have used Laravel for a while, you should have heard a lot about multiple authentications. You should have also heard “guards” a whole lot. But if you are fairly new to Laravel, multiple authentications makes it possible for you to have different classes of users access different/similar parts of the same application. There are many reasons why…

How to write tests for Laravel applications

By fisayo in Laravel on

Writing tests for an application is a great software development practice.  Often, it is the first coding task to be performed before building the features of an application.  As the first coding task, tests are initially written to fail because we have no code to satisfy the requirements of the test.  Once our tests fails, we can can then build…

How to build a localized app with Laravel - Part 4

By fisayo in Laravel on

Frontend with multi-language styling In the previous chapters, we looked at what an international application is and the different things to consider when making one. We started building our tour guide application and made the backend of the application. We also added multilingual support for the basic pages and content. In this chapter, we will focus on making the…

How to build a localized app with Laravel - Part 3

By fisayo in Laravel on

Creating multi-language string maps In the previous chapters, we looked at what an international application is and the different things to consider when building one. We got started with the tour guide application and made the backend of our application. In this chapter, we will look at how to add support for multiple languages on our application. Prerequisites Read…

How to build a localized app with Laravel - Part 2

By fisayo in Laravel on

The setup and application backend In the last chapter, we looked at what an international application should be like. We covered some fundamental issues to consider when building an international application. We differentiated between what a multilingual application is and what a multi-regional application is. We also addressed what to do when building any of such applications. In this…

How to build a localized app with Laravel - Part 1

By fisayo in Laravel on

Internationalization and accessibility When your application has users from different countries with different languages, having different content tailored to each region is a good step at improving the overall user experience of your application. You would have to worry about content, images, illustrations all appearing in the local language. You also need to consider multiple accessibility options to ensure every…

Laravel and JWT

By fisayo in Laravel on

JSON Web Token (JWT) is an open standard that allows two parties to securely send data and information as JSON objects. This information can be verified and trusted because it is digitally signed. JWT authentication has aided the wider adoption of stateless API services. It makes it convenient to authorise and verify clients accessing API resources. It is a critical…

Discussion