Blog

We write about technical solutions for the roadblocks we face in everyday work and more on trends in technology. This will help some of you to tackle issues quickly and get some useful tips.

Get Going From Scratch On Docker, How Web Developers Can Leverage Maximum Out Of It – PART 1

Get Going From Scratch On Docker, How Web Developers Can Leverage Maximum Out Of It – PART 1

Docker is an open-source platform released in the year 2013, that makes it easier to deploy applications in a sandbox (called containers) to run on the host operating system. The use of containers has been escalated to the next level and it’s now become a part of the stack in most tech companies out there. This article focuses on how this platform can be useful from a web developer's perspective. Here’s an overview of some of the topics covered in this article: How does Docker help web developers? What is the difference between Docker and virtual machines? How to install it? Learn the bare essentials to get started with the technology. Create a simple PHP MySQL application with the same.

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

Converting Doc to PDF without breaking style.

Converting a word file to PDF with proper formatting is not easy. I tried many packages in Laravel but they all gave me broken PDFs with messed up styles. I found an API called CloudConvert(https://cloudconvert.com/) that supports the conversion between more than 200 different audio, video, document, ebook, archive, image, spreadsheet and presentation formats. This helped me to convert the doc file to PDF format very easily without breaking any style. It's very easy to install and use in Laravel via composer.js "require": {"robbiep/cloudconvert-laravel": "2.*"} Run the composer install to download the required files. You need to publish the config PHP artisan vendor:publish Just enter your API key in config/cloudconvert.php Note: ...

CARBON – a PHP Based Date and Time Library

PHP developers often have to spend lots of time trying to manipulate and format time and date.  Especially in applications where date and time calculations are used extensively, like an Event calendar, or a scheduling system which works across different timezones. There are different php libraries available to this. In this article let’s talk about Carbon php based date and time library. Which we are quite impressed about with the use in a recent Laravel project. WHAT WE NEED The only thing that we need is Carbon library. Download it from github , unzip and copy that folder to your project library folder.  Or Use the following command to install with composer. $ composer req...

Page 6 of 6« First...23456
2hats Logic HelpBot