Blogs of laravel

We are a web development and outsourcing agency based in Kochi, India.

Why is Laravel the Best Framework for SaaS Applications?

Why is Laravel the Best Framework for SaaS Applications?

SaaS development is a complex and challenging process. Which is why it is important for developers to make sure they choose the right framework that can make your work easier and less complex along with helping you to enhance the capabilities and features of the end product. In simple words you need a framework that is powerful and robust. And to answer the dwelling question in your mind right now: “Which is the best framework for SaaS development? … The most popular answer will be Laravel. A free and open source PHP framework that provides tools and resources to build modern web applications, Laravel helps promote high perf...

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: ...

Adding your application as a sub-domain to Vapor

Adding your application as a sub-domain to Vapor

Recently I was trying to deploy a Laravel Application using Vapor. I wanted to deploy it to a subdomain. There were many projects deployed on several subdomains of our main domain. Since I wanted to deploy using Vapor which is basically serverless, there were basically no IP Addresses or URLs to point the domain to. I went through the Vapor Documentation about the domain section, but it said nothing about how to point the subdomain. So I contacted the Laravel Vapor support about my problem. They responded that I needed to add the main Domain to Vapor and the subdomain will automatically be added and no problem will happen to my existing subdomains after doing this. After their response, I added the main domain from the Vapor UI. PS: Thanks for the great support from

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 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,

Page 2 of 212
2hats Logic HelpBot