Cache application.encoding within HTML class to avoid unnecessary calls to Config::get();

Calling the "Config::get('application.encoding')" is expensive and within a large form (using the form builder) having it requested multiple times can result in a significant performance drag.

Caching this value reduced calls to Config:get within our project from 1200+ to 125. All core tests appear to pass with this change in place.

Signed-off-by: crynobone <crynobone@gmail.com>
Refactor changes into single get_encoding() method within the HTML Class (in order to remove duplication of logic). All tests continue to pass.

Signed-off-by: crynobone <crynobone@gmail.com>
Update to conform better with laravels coding style.

Signed-off-by: crynobone <crynobone@gmail.com>
Rename static::get_encoding() method to static::encoding() to fit better with style.

Signed-off-by: crynobone <crynobone@gmail.com>
Reformatted return

Changed the return of the method in line with suggestions from @JoostK.

Signed-off-by: crynobone <crynobone@gmail.com>
Remove unrelevant if condition where it's no longer implemented, having any `laravel.log` event no longer block from writing to log files.

Signed-off-by: crynobone <crynobone@gmail.com>
Implement logger_treshold option to filter which Log type should be appended to Laravel log files.

Signed-off-by: crynobone <crynobone@gmail.com>
Added @assign Blade function for assigning variables inside Blade view files

Signed-off-by: Nikko Bautista <nikko@nikkobautista.com>
Signed-off-by: crynobone <crynobone@gmail.com>
Changed @assign syntax to be more expressive

Signed-off-by: Nikko Bautista <nikko@nikkobautista.com>
Signed-off-by: crynobone <crynobone@gmail.com>
Allow Schema to use FIRST and AFTER on ALTER TABLE (Only for MySQL). http://dev.mysql.com/doc/refman/5.1/en/alter-table.html
Limit the process to only ALTER TABLE

Signed-off-by: crynobone <crynobone@gmail.com>
Allow bundle configuration to be stored inside application/config/<bundle name> folder, this allow runtime configuration for bundle to be set for application specific and avoid being reverted to default during bundle upgrade.

Signed-off-by: crynobone <crynobone@gmail.com>
Prepend configuration instead of appending.

Signed-off-by: crynobone <crynobone@gmail.com>
Use array_merge() and update docblock as requested by @sparksp

Signed-off-by: crynobone <crynobone@gmail.com>
Ammend code comments based on suggestion by @loic-sharma

Signed-off-by: crynobone <crynobone@gmail.com>
Allow to add database specific fieldtype within Schema using Closure. This allow developer that need
database specific configuration to do so, without the need to do Schema, ALTER TABLE using Raw Query
and so on.

For example:

    Schema::create('users', function($table)
    {
        $table->increments('id');
        $table->string('username', 50);
        $table->generic('gender', function (Fluent $column) {
            return "ENUM('m','f')";
        });
    }
Add use \Closure

Signed-off-by: crynobone <crynobone@gmail.com>
Allow blade echos to span over several lines.

Signed-off-by: crynobone <crynobone@gmail.com>
Add travis-ci build status
Update travis.ci to laravie

Signed-off-by: crynobone <crynobone@gmail.com>