Create and access multiple ports for Apache on Amazon EC2(aka AWSEC2) or DigitalOcean

We can do this by using the virtual host. There is two part to complete to open and configure the ports. I used port 8080 but you can use any port that is not using for any service.   Part 1: Add/Update Virtual Host Navigate to the sites-available directory for the configuration file cd /etc/apache2/sites-available/ … Continue reading Create and access multiple ports for Apache on Amazon EC2(aka AWSEC2) or DigitalOcean

Advertisements

Setup domain in Apache server on DigitalOcean Cloud

I am trying to set-up a domain in Apache on DigitalOcean and summaries this information after complete the task for my future reference. If this information helps other, it will be my pleasure to know that on a comment. 😉 BTW, You can host as many (multiple) domains as you want by following this steps. … Continue reading Setup domain in Apache server on DigitalOcean Cloud

Send email using Gmail SMTP in Laravel 5.*

Hi there, hope you are not in trouble with your application email sending feature. I am using mailtrap.io for email testing on the development server. It is good, but one problem is all email are going mailtrap’s Demo inbox, not to users individual email. And my client wants to check all email templates and functionality … Continue reading Send email using Gmail SMTP in Laravel 5.*

External API calling in Laravel by Guzzle Package

Recently I am working on a project that need to access some external API. And it's a Laravel project, so I am looking for some package that can save my time and meet the deadline too.   I am using GuzzleHttp package for accessing external API and its really easy   Installation: composer require guzzlehttp/guzzle:~6.0 Uses: … Continue reading External API calling in Laravel by Guzzle Package

Set XSRF(/CSRF) Token Globally or TokenMismatchException in Laravel 5.* (for AJAX)

Very easy (পানির লাহান) 🙂 STEP - 1: First we have to ad a meta tag (name="_token") in header <meta name="_token" content="{{ csrf_token() }}" /> STEP - 2: Then add below jQuery snippet before the </body> tag. Basically here we setting up the csrf token globally for ajax request. And after this we don't need to … Continue reading Set XSRF(/CSRF) Token Globally or TokenMismatchException in Laravel 5.* (for AJAX)

Laravel: php artisan commands

Here I am trying to list all Laravel PHP Artisan commands one by one for my reference and your too.   - To create and update table by migration php artisan make:migration Create_Table_Name  -> create a new table php artisan make:migration Update_Table_Name_Column_Name -> update table php artisan make:migration Add_Column_Name_Table_Name  -> add a new column to a table … Continue reading Laravel: php artisan commands

Update – Please visit skpaul.me for latest posts and updates

skpaul.me

Hi, Greetings!! Thanks for visiting my blog, I have open a blog (http://skpaul.me). So from now, you will get all latest posts and updates on http://skpaul.me.   Please take a look on my personal blog (http://skpaul.me), and let me know your comments and review.   Thanks in Advance sk paul http://skpaul.me