Skip to content

Create first Laravel application

How to create your first Laravel application in Windows 7 or 8:

  1. Install Composer
    1. Enable openssl in PHP
  2. Install laravel using Composer
    1. Open command prompt
    2. Type composer global require “laravel/installer=~1.1”
  3. Create first application – l5todo
    1. laravel new l5todo
  4. Error:
    1. Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ on linux server



Install composer on Windows 10

How to install composer on Windows 10?


  1. Download and run Composer-Setup.exe. It will install the latest Composer version and set up your PATH so that you can just call composer from any directory in your command line.
  2. Run command prompt
  3. Change directory to xampp folder
  4. install composer: composer global require “laravel/installer=~1.1”
  5. Set laravel binary / bat file in PATH environment. Laravel binary / bat file location: C:\Users\<computer_name>\AppData\Roaming\Composer\vendor\bin

xmpp protocol using java

I want develop notification apps to monitor Sybase process blocking. I want when the blocking occur, a message will be send to my phone. After a long research, I have decided to use JAVA as monitoring engine and XMPP protocol as messaging engine. I choose XMPP because it open protocol. Android support it also JAVA support it.

For monitoring engine I user timer and scheduled task. For messaging engine, I choose igniterfire server and pubsub protocol to broadcast the message so that everyone that involved in manage the Sybase will received the notification message.

The monitoring engine has successful but the messaging got some problem. But today I have managed to solve the problem. We need to include the xmp library.  I have  download and the error was gone.

Control RC Car using Android

I have bu a RC car for about RM0.50. Yes…RM0.50 0nly. So it’s good for my project. If anything happen, I don’t too regret. First I have opened the car and found that it use RX20 chip with GE symbol on it. The first task is to find out datasheet of the chip

Aplikasi Windows Phone pertama

Hari ni aku berjaya membangunkan aplikasi Windows Phone pertama. Aplikasi ini retrieve web page dari phone. Juga berjaya mengetahui bagaimana nak deploy aplikasi ke atas device / phone.

Using PHP SimpleXML to get XML Namespace Elements


Arduino web cookie

Adakah arduino boleh baca web cookie? Berdasarkan pembacaan, boleh. Caranya hantar cookie dalam http header. Jika boleh maka kita boleh login web application guna arduino