Posts in Category: development

Laravel 5.1 Packages

Laravel 5.1 Packages

  • 2nd Feb 2016

Laravel 5.1 Packages

Here are the most packages that I use for a typical fresh build of Laravel 5.1 :

Laravel Generators [documentation]

"pingpong/generators": "~2.0",

Laravel Collective: HTML and Form builders [documentation]

"laravelcollective/html": "5.2.*",

Laravel Debugbar: integrate PHP Debug Bar with Laravel [documentation]

"barryvdh/laravel-debugbar": "^2.0",

Whoops: error handler

Read More


Best web technologies and tools for 2015

  • 6th Feb 2015

technologies that have changed the way we develop web apps

As the technology keeps evolving, we will see more improvements in the coming year. In this article I am going to list some of the best web technologies and tools that are going to make an impact in 2015 and coming

Read More

GZIP working in XAMPP? Where do I configure this?

  • 30th Jan 2015

If you see the message about output buffering off during installation, you can ignore it for the time being and proceed with the installation as that information is more for reference. Thus, you may not need to make any changes to your XAMPP setting.

However, if you want to enable it

Read More

PHP Trader

Trader PHP extension

  • 17th Feb 2015

Trader PHP extension

The Trader extension is a free open source stock library, based on TA-Lib. It’s dedicated to trading software developers requiring to perform technical analysis of financial market data. Alongside many indicators like ADX, MACD, RSI, Stochastic, TRIX the candlestick pattern recognition and several vector arithmetic, and algebraic functions

Read More

Linux: 25 PHP Security Best Practices For Sys Admins

  • 3rd Feb 2015

PHP is an open-source server-side scripting language and it is a widely used. The Apache web server provides access to files and content via the HTTP OR HTTPS protocol. A misconfigured server-side scripting language can create all sorts of problems. So, PHP should be used with caution. Here are

Read More

How to check if a Request is an AJAX call with PHP

  • 30th Jan 2015

It is useful to prevent direct access of AJAX calls (from browser address bar).

function check_is_ajax($script) {
  $isAjax = isset($_SERVER['HTTP_X_REQUESTED_WITH']) AND
  strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest';
  if(!$isAjax) {
    trigger_error('Access denied - not an AJAX request...' . ' (' . $script . ')', E_USER_ERROR);

Read More


Splitting large MySQL dump files

  • 26th Jan 2015

One of the depressed things with operating with MySQL is of importing giant sql dump files.
Either you get a “max execution time exceeded” error from PHP or a”Max_allowed_packet_size” from MySQL.

The goal is separate the large “INSERT” statements into smaller size files.
Every statement has to be in single

Read More

eAccelerator: A PHP opcode cache / optimizer / accelerator

  • 22nd Jan 2015

eAccelerator is a free open-source PHP accelerator & optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the

Read More