Laravel 4 – Composer Error

There is a new version on Laravel 4. If you want to install laravel 4 in your computer now, then you have to do some extra work. If you don’t know how to install laravel in windows, then read my previous tutorial about Install Laravel 4 in Windows.

Now, today I am going to show you, if you face any more problem to install laravel composer, then what you have to do? Sometimes, you have to see the following error to install the laravel in your computer-

You need to enable the OpenSSL extension for your PHP installation

in this case, You need to enable the OpenSSL extension for your PHP installation. In your php.ini file (inC:\xampp\phpuncomment the following line:


Just remove the ; in front of it.

Once you’ve saved your changes, restart Apache, and it should work.


That’s it. I think now it should work for your computer. Thanks for reading.



MySql Data Manager with OO PHP

Hello All,

Today, we are going to learn how to manage your data from mysql by php with the Object Oriented System. You know, this is very simple process to learn about this. So, lets start our work.

First of all, I have to make a page entitled index.php. Beside this, I made a database named mydata. In this database, I created a table called test with two column. One is id (int 11 auto increment) another is name (varchar 30). Now start to write our code with php class.


class dataManager{

    private static function __dbConnnect(){






    public static function getUploadCount(){


        list($count) =  @array_values(mysql_fetch_assoc(mysql_query(“SELECT COUNT(*) FROM test”)));    

        return $count;



echo “Number of Uploded :”.dataManager::getUploadCount();


Now, browse your file and you will get the the output of Number of Uploded :–

That’s enough for today. Thanks to read this tutorial.