Hi, could you please provide the source of this statement: "For security, websites and web apps developed in PHP are not as secure as those developed using Python and Ruby on Rails."? A large number of ecommerce websites are PHP-based.


In this post I’ll show how to build a Rating component using Laravel Livewire. Laravel Livewire is a framework on top of Laravel to build dynamic applications without leaving the “comfort” of Laravel. The framework takes care of updating the web page by making AJAX requests behind the scenes.

For testing purposes, I’m building a simple book catalogue in Laravel that uses the Rating component. This is a preview of the complete application:

In the red box I’ve highlighted the Rating component:


Background

In the past few weeks I had an opportunity to have a look at InertiaJS. Inertia was created to be the glue between your backend (Laravel or Rails) and frontend frameworks (Vue, React or Svelte), without having to manually create an API for each interaction. In my opinion, InertiaJS can seriously shorten the development time of your Vue/React applications, especially if you are a full-stack developer and your application has a lot of interactions with the backend, i.e. it’s a classic CRUD application. …


Photo by Jessica Ruscello on Unsplash

Some time ago, I wrote about creating a simple serverless API based on the Lumen micro-framework and DynamoDB:

In that post, I used the Stackery custom runtime to deploy the PHP application. In this new post, I’m creating a similar application, but with the following differences:

  • the REST API is built using Laravel, and Bref is used to simplify the serverless deployment,
  • a React application will provide a simple user interface consuming the API.

Bref, developed by Matthieu Napoli on top of the Serverless Framework, is a tool that makes it very easy to run serverless PHP applications on AWS…


In this post, I’m comparing Laravel and Lumen performances for building a serverless function running on AWS Lambda.

Laravel is a well-known and elegant PHP framework written by Taylor Otwell. To date, Laravel is the backend framework with more stars on Github.

Lumen is a slimmed-down version of Laravel, with fewer package requirements, so it’s smaller, faster and leaner than the full framework. Lumen is built for microservices, rather than user-facing applications.

Bref, written by Matthieu Napoli, is a tool that makes it very easy to deploy serverless PHP applications to AWS and run them on AWS Lambda . …


In my previous post, I explained how to run Lumen Laravel serverless on AWS with a custom PHP runtime. In this post I’ll show how to build a serverless, RESTful API in Lumen Laravel to add, delete, update, and retrieve sample movie data stored in Dynamodb.

This article is not meant to be an accurate step-by-step tutorial: I have only included the main steps to reach the goal. In case you think I’m missing some fundamental details, please comment below.

Architecture

Lumen is a “micro-framework”, meaning it’s a smaller, faster, leaner version of Laravel, which is the full web application framework…


In this post I’ll go through the process of setting up a Lumen-powered API running as an AWS Lambda function. I’ll use the latest Lambda extension to support custom runtimes, so that the Lambda is pure PHP without the need of a NodeJS proxy.

Lumen is a “micro-framework”, meaning it’s a smaller, faster, leaner version of Laravel, which is the full web application framework. Lumen has the same foundation as Laravel, but it is built for microservices.

AWS Lambda is a service that lets you run code without provisioning or managing servers. AWS Lambda executes your code only when needed…

Pietro Iglio

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store