How to get Column Name from a table in Laravel and PHP
How to get Column Name from a table in Laravel and PHP
Validate Bad Email Address in PHP, Laravel
Hey! what’s up? I am working on a SAAS application for my current company and facing the issue of sending emails, actually bad emails, those comply with the RFC. So that means basic email validation is not working from the Laravel side and we are processing emails to ‘example@gmail’ like email addresses (yes RFC allow …. Read More
Change or set php-cli version in Ubuntu
Hey, So you also face the same issue! Hope you will get a solution here.. BOL! Check the current PHP version. php –version In my case, it is php7.1. Now, check the excepted version that you want to set/change in folder ls -la /usr/bin/ You will get a list of files and folders, now check …. Read More
Run raw insert query or SQL file in Laravel seeder
Run raw insert query or SQL file in Laravel seeder
How to Upgrade phpMyAdmin manually?
I am using PHP7.2 for one of my projects and facing compatibility issues while working in phpMyAdmin 4.6. I do some Google and find out a solution. So in this article, we will go through the process of how to upgrade phpMyAdmin 4.6 to 4.9 to solve the issue. The issue/warning we are facing: Warning …. Read More
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/ …. Read More
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. …. Read More
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 …. Read More
Install Avro (Bangla software) in ubuntu on terminal
I am using Avro since when I know about this awesome software, around 10-12 years. Maybe more than this. When I started Ubuntu, I am looking for avro for linux and here is the download link of official avro, you can download from here and install by following the instruction OR You can easily install …. Read More
Rapid or fast development in Sublime Text 3
We, developers like to write codes, but what if you need to write 1000000000 lines of code? Let me know your answer on comment 😉 Here comes snippet, What is snippet? Snippet a small piece or brief extract. it’s a brunch of code that is generate by shortcut key. Now we know create some snippets …. Read More