NativePHP package recently introduced and in Laravel it allows us to design and develop cross platform desktop applications. It has inherited from Electron project. In this blog post I'll show how to come-up with a desktop application using Laravel with Blade templates. Create a new Laravel Project using composer composer create-project laravel/laravel laravel-native-php Installing NativePHP package composer require nativephp/electron Run php artisan command in the terminal to check what are the next NativePHP related commands to be executed. We can see that there is a command to be executed call native:install which will install NativePHP by creating a separate AppServiceProvider for it. As you can see once executed php artisan native:install command, you'll see it prompts for choosing options for two questions. We just need to select yes for installing the NativePHP NPM dependencies, and select no for starting the NativePHP development server. After this point everything
Deploying a Laravel application to the cloud can be a complex and time-consuming process. However, with the help of Laravel Forge and AWS (Amazon Web Services), developers can streamline this deployment process and ensure a smooth transition from development to production. In this article, we will walk you through the steps to deploy a Laravel application from GitHub to AWS using Laravel Forge. Prerequisites Before we dive into the deployment process, make sure you have the following prerequisites in place: A Laravel application hosted on GitHub. An AWS account with proper IAM permissions to create and manage resources like EC2 instances, databases, and S3 buckets. A Laravel Forge account. Step 1: Set Up Laravel Forge Sign in to your Laravel Forge account or create a new one if you haven't already done so. Once logged in, click on the "Connect to a Server" button and follow the instructions to add your AWS account. This process will allow Laravel Forge to manage