Laravel is most popular framework of PHP. It provides lots of in-build tools and library to build the web application. Laravel is used to to create robust custom web applications with ease of amazing developer experience. Laravel is easily customizable…

How to install PHP 8.0 in Ubuntu 20.04 LTS ?
In this tutorial we will learn to install PHP 8.0 on Ubuntu 20.04 LTS using PPA. PHP 8.0 is the latest version of php and it have many upgrades. Installation process is same as How to install PHP on Ubuntu?…

How to Install multiple versions of PHP?
Sometimes it’s required to install the different version of PHP rather then the default one of Ubuntu Repository System. To install the different version we will follow the basic steps before installation of PHP Step 1 : Add ppa:ondrej/php to…

How to install PHP on Ubuntu?
PHP is widely used langauge in world of web. PHP is an open sourece language and free for everyone. It’s a server side scripting lanaguge which compiles on server and can embedded with html too. Currently, there is three version…

What is composer and how to install composer?
Composer is a dependency manager tool for PHP. Using the composer we can manage the package dependency and version of the packages. Composer is different from npm (Node package manager) and apt-get because it only contain the dependency of project.…

How to upload file in php ?
In this tutorial, we will learn basic of uploading of a file in php and also basic configuration required for php file upload. Configure the php.ini for large file upload By default php support 2 mb of file upload but…
Show dropdown list from ajax response in jQuery
Showing Dynamic Select Box using jQuery and Php,MySql In this tutorial, we are going to learn the dropdown list using AJAX. Loading dropdown values from AJAX requires knowledge of javascript, jQuery, php and html. Sometimes it requires to load the…
How many type of methods in Restful api?
Restful api is very useful today while creating a mobile application or web application. Restful api or Http request methods There is 4 types of method of http request. Post Get Put Delete Patch 1. Post method Post method is…
How to enable cors in web api php or laravel?
Cross-Origin Resource Sharing (CORS) is mechanism which allow browser to share the resources between the other domain or port. if the cors is disabled in api or server then other domain can’t access the apis and resource of server. Example: if…

How to get folder paths using helpers in laravel?
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…