Laravel has a lot of features and packages available for file system, database, model, view etc. Laravel has helpers to get the path of root folder, public folder, assets folder, storage folder, app folder. To get the path of app…
How to Import mysql database using command line?
Mysql has rich features for users like they can easily import and export database, create table, relations, store procedures, triggers etc. In the same way mysql has own command to import and export the mysql database. First find the mysql…
How to increase maximum file upload size in php ?
Php is the most used language in web. sometimes it required to upload the files which is greater then 2 mb. In php default upload size is 2 mb and if we wanted to increase it then we have multiple…
How to find php.ini file location ?
Sometime we installed multiple version of php on our system so it will get difficult to find the correct php.ini file. Let’s start with easiest way. Steps to find the php ini file on dedicated, localhost and ssh based enabled…
Remove public from url laravel
There is multiple options to remove the public from the url in laravel application. let’s have look on multiple options of removing public and which one is more secure and reliable method to use. 1. Replacing server.php to index.php Replacing…
Laravel artisan command to generate controllers, Model, Components and Migrations
Laravel is robust framework of php which provides rapid development and security for low and high level projects. It have many features like validation, eloquent, migrations, artisnan security etc. Let’s have look artisan commands of laravel artisan. There is a…

Difference between $_POST, $_GET and $_REQUEST in PHP
PHP gives there is 3 types of request methods to by which client can send information to server. In this article we will learn difference in get vs post and also in request. So, Methods are as follow $_POST $_GET…
Break and Continue statements
Break and continue statements are used to change the flow of program. lets see the difference and usage of both. Break as the name implies it terminate the current loop and execute the next line of code. Continue do not…
What is Access Modifiers ?
In object oriented programming(oops) to set the visibility of classes, variables and methods we are using access modifiers. So Access modifiers are used the encapsulation of class properties. There are three types of access modifiers in any language (Php, java…

Disable SSH or IP bounded on any ubuntu server?
Open SSH to everyone is a security risk. we can change these settings easily in 2 minutes. let’s have quick solution on this. Open file /etc/hosts.deny with using vi or nano editor. Command : sudo vi /etc/hosts.deny then add below…