Laravel, PHP »

[24 Oct 2016 | One 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 | One 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 | One 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 | 3 Comments]

This article shows how we can get list of all categories from current product or any particular product as well.
Both ways (Dependency Injection & Object Manager way) are shown below:

Magento, Magento 2 »

[14 Sep 2016 | No Comment]

This article shows how you can upgrade/update your Magento 2 version through command line using composer.
In this example, I am upgrading Magento 2 to version 2.1.1.

Magento »

[10 Sep 2016 | One Comment]

This article shows, how you can add a new column at the end of the admin grid or after any column of the admin grid in Magento 1.x.
Suppose, you have a custom module and you need to add a column to product grid or order grid, etc. For this, you need to rewrite that particular grid block with your custom module’s block grid class.

Magento, Magento 2 »

[5 Sep 2016 | 4 Comments]

This article shows how to get shopping cart items/products, subtotal and grand total of cart, and shipping and billing address entered while doing checkout in Magento 2.
I will be using both Dependency Injection (DI) and Object Manager in the below example code.