Category: PHP Frameworks
Download files from S3 disk in Laravel
how to download file from s3 disk in Laravel What is AWS S3? Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. S3 helps you securely upload and download
Bundle in ASP.NET MVC
Bundle in ASP.NET MVC Bundling is a process that allows us to load a bunch of static files from the server into one HTTP request. We can load multiple CSS and Javascript files using bundles. Let’s take an example :
Insert and update bulk data in CakePHP 3.7
How to Insert and update bulk data in CakePHP 3.7? We can insert and update multiple records using “saveMany($entities)” function. We can create entities array from “newEntities() / patchEntities()” functions. newEntities function is used to insert new data and patchEntities
ASP.Net MVC Quick Introduction
ASP.Net MVC Quick Introduction ASP.Net MVC – In MVC, the architecture of an application is divided into three parts – Model, View and Controller. Model – Model represents the shape of data. It is basically used to connect to the
Detect Text From Uploaded Image and Base64 string
How to Detect Text From Uploaded Image and Base64 string in laravel Laravel has various packages available to achieve this. I have tried “yk/laravel-ocr” and “alimranahmed/laraocr” but these are not producing accurate results. After that, I used the “AWS sdk”
How to run CakePHP 3.7 Shell Commands in Heroku console
Learn how to run CakePHP 3.7 Shell Commands in Heroku console 1. Create myCommandShell.php file in src/Shell folder with below content <?php namespace App\Shell; use Cake\Console\Shell; use App\Controller\PagesController; class myCommandShell extends Shell { public function main() { // do your
Laravel Cron to keep executing manually even for a long time
Laravel Cron to keep executing manually even for a long time The cron jobs we create in Laravel can be very time consuming if they have much to do. They may take a few minutes to execute completely. While testing
Add Text to Image with Php and Python
How to add Text to Image with Php and Python Step 1: Call the python file from PHP with the following arguments. $ filePathForPython: Specify the location of the python file. $imageName: Dynamic name of the image. $ imageText: Text
Face detection using Laravel
Method of Face detection using Laravel Laravel is a PHP framework for Web Development. It provides many features to make things easy for Web Development. It also takes care of the security of the application. If you have an intermediate