Blog

We write about technical solutions for the roadblocks we face in everyday work and more on trends in technology. This will help some of you to tackle issues quickly and get some useful tips.

Top 11 Reasons to Choose Laravel For Enterprise Software Development

Top 11 Reasons to Choose Laravel For Enterprise Software Development

An enterprise requires software and web-based applications for its systematic functioning. Since the enterprise applications can be extremely complex, it is best to go for a framework that is robust and undoubtedly, Laravel is the foremost choice of most enterprises in this regard.   Laravel is a modern open-source PHP framework which is used for web application development. It is aimed at easing out various tasks such as authentication, caching and routing for the developer. Several reasons contribute to the growing popularity and acceptance of Laravel. A few amongst them being: ...

Deploying a Web App with Laravel Vapor: A Comprehensive Guide

Deploying a Web App with Laravel Vapor: A Comprehensive Guide

Laravel Vapor is an auto-scaling, serverless deployment platform for Laravel, powered by AWS Lambda. It is a cost-effective system, you only need to pay for the usage of your application. Vapor makes it easy to use AWS Lambda-powered serverless application in such a way that you don’t need to do any setup for AWS Lambda. Here's a Tutorial on how to deploy a Laravel application with Vapor. The following topics will be covered in this Blog. Setting up Vapor Locally Link AWS Account Creating Projects Deployments

How the service container helps you to architect your Laravel projects better

Understanding how the service container works is critical in architecting scalable decoupled code using Laravel. In this article, we will explore how the service container helps us to achieve this using some practical examples. Suppose that you have a reports page where you export users in the system in as an XML. You have a folder App\Services\UserExport where you have a UserExportInterface. namespace App\Services\UserExport; interface UserExportInterface{ public function export(); } This is how the XmlUserExport class looks like: namespace App\Services\UserExport; class XmlUserExport implements UserExportInterface { public function export() { //do the xml user export ...

How to fix the Insecure Direct Object Reference Vulnerability in Laravel

Insecure Direct Object References occur when an application provides direct access to objects based on user-supplied input. As a result of this vulnerability, attackers can bypass authorization and access resources in the system directly, for example, database records or files. Consider, User A uploaded a private photo at http://www.mysite/private/photo/5 and User B uploaded a photo at http://www.mysite/private/photo/6  (you should never use incremental ID's in the URL in the first place, use some random keys. This is just an example to show the concept.) Now User B shouldn't be allowed to view the photo of User A at http://www.mysite/private/photo/5, but many develope...

How to upload, download, remove files in AWS server using SFTP from Laravel

Amazon Web Services (AWS) provides a reliable and scalable platform for hosting web applications and storing data. One of the ways to transfer files to and from an AWS server is through the Secure File Transfer Protocol (SFTP). In this guide, we'll show you how to use Laravel to upload, download, and remove files in an AWS server using SFTP. To get started, you'll need to set up an SFTP server on your AWS instance and install the necessary packages in your Laravel application. Once you've configured your SFTP connection, you can use Laravel's built-in Filesystem API to interact with your AWS server. Below are the steps needed to Upload the file to the AWS serve

Integrating Google Calendar API in Laravel

Integrating Google Calendar API in Laravel

Google Calendar is being used by millions of people to track their events. The Google Calendar API is used to integrate your application with Google Calendar to find and view calendar events. Complete the steps described in the rest of this page to Integrate Google Calendar API in a Laravel application. Generate API connection Go to Google Cloud Create a project ...

How to integrate SSO(Single Sign-on) in Laravel ?

How to integrate SSO(Single Sign-on) in Laravel ?

For every authorized application, a set of login credentials (username and password) are needed. It’s hard to keep different credentials for different applications. For faster access to multiple applications, users can use a single set of credentials. How is it possible? It can be achieved using Single sign-on (SSO). Single sign-on is a part of user authentication. Using SSO a user can easily be logged into multiple applications with a single set of credentials. Let’s focus on how we can implement SSO in Laravel. It’s quite easy to implement SSO in Laravel.

Laravel – Custom authentication and what happens under the hood

Laravel – Custom authentication and what happens under the hood

In this article, we will take a detailed look at how the default authentication works inside Laravel core. But first, we will learn how to create a custom authentication. Laravel ships in with a great default user authentication. It even creates the views and routes for you if you run // Create the default views, routes and controller for authentication php artisan make:auth All is well as long as we are good with the default users table and its authentication. But what if we want another authentication method. For example, you want to user a separate table called admin for authenticating admin users while keeping the normal users table for front end authentication....

Laravel Facades Part 1 – What they are and how they work

Facades allow us to call classes defined under the service container in an elegant and expressive way - as "static" interfaces. If you are a Laravel developer, chances are that you are using Facades all the time. You may not just know that yet. Laravel ships in with many facades like Hash, Input, Mail etc. Let’s take the example of Hash facade and try to figure out how it works. You may be familiar with something like this, Hash::make(‘password’); If you search for a class named Hash, you won’t find it. Go to app/config.php and scroll down to the bottom where the class Aliases are defined. There you will see this,

How Does ERP for Finance Optimise Financial Management?

How Does ERP for Finance Optimise Financial Management?

The most common requirement for sustainable growth and profitability in the business landscape is efficient financial management. Companies adopting either operational efficiency or strategic decision-making often utilise ERP systems in their operations.  In this blog, we look at various features, benefits, implementation strategies, challenges, and future trends of ERP in the domain of finance. ERP Features for Finance Management ERP systems offer a robust suite of features tailored to streamline financial processes. These include:

Page 4 of 6« First...23456
2hats Logic HelpBot