Laravel »

[14 Nov 2016 | No Comment]

This beginner tutorial/article shows how you can create a simple/basic CRUD (Create, Read, Update, Delete) system or application using Laravel. Laravel is a popular open-source PHP MVC Framework with lots of advanced development features.
Installing Laravel has been explained here.

PHP »

[7 Nov 2016 | No Comment]

CodeIgniter: Add, Edit, Delete, View with Login & Registration – MVC CRUD Application
This article shows how to create a simple CodeIgniter CRUD (Create, Read, Update, Delete) application with Login and Registration feature. CodeIgniter (CI) is a PHP framework that helps building a full-fledged web application.
This article is a continuation of my past article Simple CodeIgniter CRUD Application tutorial. The tutorial has add, edit, delete, and view feature but it didn’t contain login and registration feature.

Laravel, PHP »

[31 Oct 2016 | No Comment]

By default, you will see the following message in case any error occurs in your Laravel application:

Whoops, looks like something went wrong.
Whoops, looks like something went wrong.

To show the exact error message details, you need to follow the steps below:

Laravel, PHP »

[24 Oct 2016 | No Comment]

You might get the following error while trying to run Laravel for the first time.

Warning: require(/var/www/laravel/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/laravel/bootstrap/autoload.php on line 17
Fatal error: require(): Failed opening required ‘/var/www/laravel/bootstrap/../vendor/autoload.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/laravel/bootstrap/autoload.php on line 17

Laravel, PHP »

[17 Oct 2016 | No Comment]

This tutorial shows step-by-step guide to install Laravel. Here, I will show two ways for installation. One is installing directly by composer create-project command and the other is by cloning or downloading Laravel from GitHub and then running the composer install command.
1) Method 1

PHP »

[10 Oct 2016 | 5 Comments]

This article shows how to create a CRUD (Create, Read, Update, Delete) application system with PHP & MySQL using Object Oriented Programming (OOP) technique. I had written an article before about creating Simple CRUD application with PHP & MySQL but that has been programmed with procedural way. In this article, we create the same kind of CRUD application using OOP.
First of all, we will create a new MySQL database. Let us name the database as ‘test‘.

Magento, Magento 2 »

[3 Oct 2016 | No Comment]

This article/tutorial show how to download and install Magento 2 through command line interface (CLI). We will be using Composer to download Magento 2 from Magento’s repository.
Here is the step-by-step guide on installing Magento 2 via command line:

Magento, Magento 2 »

[26 Sep 2016 | One Comment]

This article shows how to get custom option values of products/items added to cart or products of any order in Magento 2.
I will simply be using ObjectManager for this example.

Magento, Magento 2 »

[19 Sep 2016 | No Comment]

This article shows how we can get list of all categories from current product or any particular product as well.
Below is a block class of my custom module (Chapagain_HelloWorld). I have injected object of \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory, \Magento\Catalog\Model\ProductRepository and \Magento\Framework\Registry classes in the constructor of my module’s block class.