Category: PHP Frameworks
PHP script scheduling without cron jobs
PHP script scheduling without cron job Sometimes a website built in php needs to schedule a script on daily or hourly basis – for example, Reminder Emails, Newsletter emails or Database backups to be taken automatically. Normally, these types of
New features in Laravel 5 and higher versions
The list of some new and useful features in Laravel 5 and higher versions 1. Migrate:fresh Command: Refresh command runs all the down methods from database migrations. There may be some cases where down method for some database migrations are
Bulk upload files to AWS S3 bucket
How to bulk upload files to AWS S3 Bucket (using Laravel) Amazon Simple Storage Service (Amazon S3) is used to store and retrieve any amount of data, at any time, from anywhere on the web. While storing data to AWS
Convert HTML to pdf using mpdf plugin in cakePHP
How to use mpdf plugin in cakePHP to convert HTML documents to pdf? mPDF is a PHP library which is used to generate PDF files from HTML Documents. It converts utf-8 encoded documents and also supports almost all languages including
Understanding Inflector in Cakephp
Understanding the purpose and usage of Inflector in Cakephp The Inflector class in cakephp is used to modify single/multi word strings into different formats using its build-in methods. We don’t need to use core php methods such as str_replace if
Laravel Database Migration
What is Laravel Database Migration? Laravel Migration provides a mechanism to propagate database changes from one machine to another (like development to production). It is a kind of version control of the database. Create an application after installing laravel by
Laravel Log storage in S3 bucket
How to Save Logs of Laravel in Amazon S3 Bucket? Problem – We are working on a laravel project in which logs are saved in the storage folder of laravel and it is using a lot of space. We need
Integrate Laravel web service with custom alexa skill
Steps for integrating Laravel web service with custom alexa skill: Step 1: Your web service should be on secure HTTP connection and should have SSL/TLS. Alexa strictly enforces for this to protect the confidentiality and integrity of your data. Step
PHP | Amazon S3 | Check if a file or folder already exists on Amazon S3 Bucket
To check if a file or folder already exists on Amazon S3 Bucket, use the following code Code: $info = $client->doesObjectExist($bucket, $FileName) if ($info) { echo ‘File exists’; } else { echo ‘File does not exists’; } Webner Solutions is