diff --git a/CHANGELOG.md b/CHANGELOG.md index 006ac119..fcfc33af 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,21 @@ +2.0.10 - 9 Nov - 2014 +=============================================== + +Features: +- [Add] Bacula reload Configuration Option in Menu Configuration. + +Bugfixes: + +- [fix] Clicking on a job ID with jobs that have no files processed. +- [fix] "Comments Read" Configuration files Fix - Thanks to DavidBuzz + + 2.0.9 - 7 Oct - 2014 =============================================== Bugfixes: -- [fix] Portgres Bug Fixes missed on 2.0.8 Version +- [fix] Portgresql Bug Fixes missed on 2.0.8 Version 2.0.8 - 6 Oct - 2014 @@ -26,7 +38,6 @@ Bugfixes: - [fix] BootBox - Downgraded to 3.3.0 Version - [fix] BaculaStats Crontab Command - HoursDiff Bug - Code Refactor - [upg] Upgraded Laravel Framework to 4.2.x @@ -78,7 +89,6 @@ Code Refactor * Configuration Controller - Refactoring the code - 2.0.5 - 7 July - 2014 =============================================== diff --git a/app/config/database.php b/app/config/database.php index 0017807d..6822ee3e 100755 --- a/app/config/database.php +++ b/app/config/database.php @@ -64,7 +64,7 @@ ), - 'pgsql' => array( + 'pgsql' => array( 'driver' => 'pgsql', 'host' => 'localhost', diff --git a/app/controllers/DashboardController.php b/app/controllers/DashboardController.php index 1704b9dc..838feb4b 100755 --- a/app/controllers/DashboardController.php +++ b/app/controllers/DashboardController.php @@ -18,10 +18,8 @@ public function __construct() { parent::__construct(); - // Asset::add('tabletools', 'assets/js/TableTools.min.js'); Asset::add('amcharts', 'assets/js/amcharts.js'); Asset::add('amchartsPie', 'assets/js/pie.js'); - Asset::add('bootstrap-tooltip.js', 'assets/js/bootstrap-tooltip.js'); Asset::add('bootstrap-dropdown.js', 'assets/js/bootstrap-dropdown.js'); @@ -63,8 +61,6 @@ public function __construct() Cache::forever('nFiles', $media->files); Cache::forever('nBytes', $media->bytes); - - } public function dashboard($data=null) diff --git a/app/controllers/FilesController.php b/app/controllers/FilesController.php index 5e33a79c..697ec695 100755 --- a/app/controllers/FilesController.php +++ b/app/controllers/FilesController.php @@ -27,34 +27,9 @@ public function __construct() Asset::add('sprintf.js', 'assets/js/sprintf.js'); Asset::add('jspdf.js', 'assets/js/jspdf.js'); Asset::add('base64.js', 'assets/js/base64.js'); - // Asset::add('jstree', 'assets/css/jstree.css'); - // Asset::add('jstree', 'assets/js/jstree.js'); - } - - /* public function recursion($multi_dimensional_array) - { - $m = $multi_dimensional_array; - $keys = array(); - foreach ($m as $key=>$value) { - $keys[] = $key; - } - - $i = 0; - $ul=''; - while ($i < count($multi_dimensional_array)) { - $ul.= '
  • '.$keys[$i].''; - if (is_array($multi_dimensional_array[$keys[$i]])) { - $ul.= ''; - } - $ul.= '
  • '; - $i++; - } - return $ul; - }*/ + } public function files($job) { @@ -69,8 +44,11 @@ public function files($job) ->join($this->tables['filename'],$this->tables['file'].'.filenameid', '=', $this->tables['filename'].'.filenameid') ->join($this->tables['path'],$this->tables['file'].'.pathid', '=', $this->tables['path'].'.pathid') ->where('jobid','=', $job)->remember(10)->get(); + $files = $files->toArray(); - $t= Filessearch::insert($files); + if (!empty($files)) { + $t= Filessearch::insert($files); + } } /* Mostra o log do Job */ diff --git a/app/controllers/StatsController.php b/app/controllers/StatsController.php index b29257c5..907cffc5 100755 --- a/app/controllers/StatsController.php +++ b/app/controllers/StatsController.php @@ -84,8 +84,6 @@ public function insertStats() // Get Number of Files Transfered $filesNumber = DB::table('file')->select(DB::raw('count(*) AS filesNumber'))->get(); - - // Get Storage Bytes $bytesStorage = Media::sum('volbytes'); @@ -93,7 +91,6 @@ public function insertStats() $dataInicio = date('Y-m-d', strtotime("-1 days")).(' 18:29'); $dataFim = date('Y-m-d').(' 18:29'); - /* Query timediff Stats */ $timediff = DB::table('job')->select(DB::raw('(max(starttime) - min(starttime)) AS timediff')) ->where('starttime','>=', $dataInicio ) @@ -114,7 +111,6 @@ public function insertStats() ->where('starttime','>=', $dataInicio ) ->where('endtime','<=', $dataFim); - $jobbytes = $query->sum('jobbytes'); $starttime = $query->min('starttime'); $endtime = $query->max('endtime'); @@ -130,7 +126,6 @@ public function insertStats() 'databasesize' => $dbsize[0]->dbsize ); - $hourstats = array( 'data' => date('Y-m-d') , 'server' => $servername , diff --git a/app/controllers/VolumesController.php b/app/controllers/VolumesController.php index ac419417..4064d165 100755 --- a/app/controllers/VolumesController.php +++ b/app/controllers/VolumesController.php @@ -29,7 +29,6 @@ public function __construct() Asset::add('jspdf.js', 'assets/js/jspdf.js'); Asset::add('base64.js', 'assets/js/base64.js'); - Asset::add('volumes', 'assets/js/volumes.js'); /* Fill Up the Select Box */ @@ -100,12 +99,10 @@ public function volumes($volumes=null) } - /*Gets Data from the Jobs */ - + /*Gets Data from the Volumes */ public function getvolumes() { - $tjobs = Job::select(array($this->tables['job'].'.jobid','name','starttime','endtime', 'level','jobbytes','jobfiles','jobstatus')) ->join($this->tables['jobmedia'],$this->tables['jobmedia'].'.jobid', '=', $this->tables['job'].'.jobid') diff --git a/app/controllers/admin/ConfiguratorController.php b/app/controllers/admin/ConfiguratorController.php index f027712e..2fa35273 100755 --- a/app/controllers/admin/ConfiguratorController.php +++ b/app/controllers/admin/ConfiguratorController.php @@ -138,6 +138,21 @@ public function gettreedata() return Response::json ($tree); } + /***** + * Restart Bacula Daemon + * @return Json + */ + public function restartbacula() + { + $output = shell_exec('sudo echo reload | bconsole '); + + //$message = array('html' => '
    '.$output.'
    '); + //if ($output=="") { + $message = array('html' => '
    '.$output.'
    '); + // } + return Response::json($message); + } + /***** * Write Configuration Files @@ -403,7 +418,7 @@ public function writebacula() } } $contents .= "}\n\n"; - + #tweak filename to remove spaces, they are a bit of a hassle later $clientfname = preg_replace("/\s+/","-",$clientname); File::put($directory.'/conf.d/clients/'.$clientfname.'.conf', $contents); @@ -874,24 +889,24 @@ public function readbacula() $filename=$file->getFilename(); # strip all comments early, so we needn't be bothered with them later... - foreach ( $config as $linenum => $line ) { + foreach ( $config as $linenum => $line ) { $line = preg_replace("/#.*$/","",$line); - } + } # also, lets convert semicolons to newlines, as they are kinda weird too. $newconfig = array(); - foreach ( $config as $linenum => $line ) { - if ( preg_match("/;/",$line) ) { + foreach ( $config as $linenum => $line ) { + if ( preg_match("/;/",$line) ) { $newlines = preg_split("/;/",$line); - foreach ( $newlines as $num => $newline ) { + foreach ( $newlines as $num => $newline ) { array_push( $newconfig, $newline); } - - } else { + + } else { array_push( $newconfig, $line); } } $config = $newconfig; - + if ( $filename!='bacula-fd.conf' && $filename!='bacula-sd.conf' && $filename!='mtx-changer.conf') { @@ -1022,7 +1037,7 @@ public function readbacula() do { $i++; $result = preg_split ('[ = ]', $config[$i]); - if ( array_key_exists(1,$result)) { + if ( array_key_exists(1,$result)) { $storage[preg_replace('/\s*/m', '', $result[0])]= preg_replace('/(\'|")/', '', trim($result[1])); } } while (trim($config[$i+1]) != "}"); @@ -1118,7 +1133,7 @@ public function readbacula() do { $i++; $result = preg_split ('[=]', $config[$i]); - if ( array_key_exists(1,$result)) { + if ( array_key_exists(1,$result)) { // Se não for comentário adiciona //if (substr(trim($result[0]), 0, 1) != '#') $job[preg_replace('/\s*/m', '', $result[0])]= preg_replace('/(\'|")/', '', trim($result[1])); diff --git a/app/controllers/admin/DashboardController.php b/app/controllers/admin/DashboardController.php index f3f7409f..72b9af85 100755 --- a/app/controllers/admin/DashboardController.php +++ b/app/controllers/admin/DashboardController.php @@ -7,7 +7,9 @@ class DashboardController extends BaseController { public function dashboard() { - //Get Server Hardware Info + + /* + //Get Server Hardware Info // Get kernel info list($system, $host, $kernel) = explode(" ", exec("uname -a"), 5); // Grab uptime output @@ -19,7 +21,8 @@ public function dashboard() //Get the memory info, and grab the cool stuf $meminfo = file("/proc/meminfo"); - for ($i = 0; $i < count($meminfo); $i++) { + + for ($i = 0; $i < count($meminfo); $i++) { list($item, $data) = explode(":", $meminfo[$i], 2); $item = chop($item); $data = chop($data); @@ -38,29 +41,19 @@ public function dashboard() $percent_swap = round( ( $total_swap - $free_swap ) / $total_swap * 100 ); $percent_swap_free = round( $free_swap / $total_swap * 100 ); $percent_buff = round( $buffer_mem / $total_mem * 100 ); - $percent_cach = round( $cache_mem / $total_mem * 100 ); + $percent_cach = round( $cache_mem / $total_mem * 100 );*/ - //$percent_shar = round( $shared_mem / $total_mem * 100 ); - //Now it's time to grab the cool stuff from the hard drive - //This one is not quite as straight forward..... - exec ("df", $x); - $count = 1; - /*while ($count < sizeof($x)) { - list($drive[$count], $size[$count], $used[$count], $avail[$count], $percent[$count], $mount[$count]) = explode(" +", $x[$count]); - $percent_part[$count] = str_replace( "%", "", $percent[$count] ); - $count++; - }*/ $rss=FeedReader::read('http://www.reportula.org/reportula/?feed=rss2'); return View::make('admin.dashboard', array ( - 'rss' => $rss, - 'uptime' => (exec("uptime")), - 'system' => $system, - 'host' => $host, - 'kernel' => $kernel, - 'used_mem' => ( $total_mem - $free_mem ), - 'used_swap' => ( $total_swap - $free_swap ), - 'free_mem' => $free_mem, + 'rss' => $rss, + 'uptime' => "",//(exec("uptime")), + 'system' => "",//$system, + 'host' => "",//$host, + 'kernel' => "",//$kernel, + 'used_mem' => "",//( $total_mem - $free_mem ), + 'used_swap' => "",//( $total_swap - $free_swap ), + 'free_mem' => ""//$free_mem, )); } diff --git a/app/routes.php b/app/routes.php index d7da95f1..746e5eb4 100755 --- a/app/routes.php +++ b/app/routes.php @@ -72,6 +72,7 @@ Route::get('configurator', array('as' => 'admin.configurator', 'uses' => 'app\controllers\admin\ConfiguratorController@configurator')); Route::get('readbacula', array('as' => 'admin.readbacula', 'uses' => 'app\controllers\admin\ConfiguratorController@readbacula')); Route::get('writebacula', array('as' => 'admin.writebacula', 'uses' => 'app\controllers\admin\ConfiguratorController@writebacula')); + Route::get('restartbacula', array('as' => 'admin.restartbacula', 'uses' => 'app\controllers\admin\ConfiguratorController@restartbacula')); Route::get('gettreedata', array('as' => 'admin.gettreedata', 'uses' => 'app\controllers\admin\ConfiguratorController@gettreedata')); Route::post('getnode', array('as' => 'admin.getnode', 'uses' => 'app\controllers\admin\ConfiguratorController@getnode')); Route::get('getincludes', array('as' => 'admin.getincludes', 'uses' => 'app\controllers\admin\ConfiguratorController@getincludes')); diff --git a/app/views/admin/configurator.blade.php b/app/views/admin/configurator.blade.php index 98bf9ea7..3f700946 100755 --- a/app/views/admin/configurator.blade.php +++ b/app/views/admin/configurator.blade.php @@ -38,12 +38,10 @@
  • -
  • Read Configuration
  • -
  • Test Configuration
  • -
  • Write Configuration
  • -
  • Restart Bacula Director
  • - - +
  • Read Configuration
  • +
  • Test Configuration
  • +
  • Write Configuration
  • +
  • Reload Bacula Configuration
  • diff --git a/composer.json b/composer.json index 85245b2c..e991ab07 100755 --- a/composer.json +++ b/composer.json @@ -15,7 +15,6 @@ "barryvdh/laravel-dompdf": "0.4.*", "adldap/adldap": "4.0.4", "jasonlewis/expressive-date": "1.0.*", - "laracasts/utilities": "dev-master", "barryvdh/laravel-debugbar": "1.*", "awjudd/feed-reader": "1.1.*" diff --git a/composer.lock b/composer.lock index 80b95cfb..2a08ae8d 100755 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "06cd7a4d7badafed43161d1287c34582", + "hash": "1ed3522d453aa86608c6d1be723453de", "packages": [ { "name": "adldap/adldap", @@ -33,28 +33,28 @@ "source": { "type": "git", "url": "https://github.com/Anahkiasen/former.git", - "reference": "023c7e3f8452c20f7e2905be7d14072909b5d048" + "reference": "9e98e577f0d733d24b846cbd572049fe1ca53473" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Anahkiasen/former/zipball/023c7e3f8452c20f7e2905be7d14072909b5d048", - "reference": "023c7e3f8452c20f7e2905be7d14072909b5d048", + "url": "https://api.github.com/repos/Anahkiasen/former/zipball/9e98e577f0d733d24b846cbd572049fe1ca53473", + "reference": "9e98e577f0d733d24b846cbd572049fe1ca53473", "shasum": "" }, "require": { "anahkiasen/html-object": "~1.4", - "illuminate/config": "~4.2", - "illuminate/container": "~4.2", - "illuminate/http": "~4.2", - "illuminate/routing": "~4.2", - "illuminate/session": "~4.2", - "illuminate/translation": "~4.2", + "illuminate/config": ">=4.2", + "illuminate/container": ">=4.2", + "illuminate/http": ">=4.2", + "illuminate/routing": ">=4.2", + "illuminate/session": ">=4.2", + "illuminate/translation": ">=4.2", "php": ">=5.4.0" }, "require-dev": { - "illuminate/database": "~4.2", + "illuminate/database": ">=4.2", "mockery/mockery": "~0.9.1", - "phpunit/phpunit": "~4.1.4" + "phpunit/phpunit": "~4.1.6" }, "type": "library", "autoload": { @@ -84,7 +84,7 @@ "foundation", "laravel" ], - "time": "2014-08-04 08:45:26" + "time": "2014-10-09 08:02:19" }, { "name": "anahkiasen/html-object", @@ -169,24 +169,24 @@ "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "c5372628184d5b76e247a73efd1d915a7d26ab96" + "reference": "3759f0847372f2e0fbd6b0d67d63c10dd7605a62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/c5372628184d5b76e247a73efd1d915a7d26ab96", - "reference": "c5372628184d5b76e247a73efd1d915a7d26ab96", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/3759f0847372f2e0fbd6b0d67d63c10dd7605a62", + "reference": "3759f0847372f2e0fbd6b0d67d63c10dd7605a62", "shasum": "" }, "require": { "laravel/framework": "4.*|5.0.*", - "maximebf/debugbar": "~1.9.15", + "maximebf/debugbar": "1.10.*", "php": ">=5.3.0", "symfony/finder": "~2.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7-dev" + "dev-master": "1.8-dev" } }, "autoload": { @@ -215,7 +215,7 @@ "profiler", "webprofiler" ], - "time": "2014-09-19 13:55:20" + "time": "2014-11-14 12:48:11" }, { "name": "barryvdh/laravel-dompdf", @@ -271,12 +271,12 @@ "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-ide-helper.git", - "reference": "03cc70759b2d8d03bd6886d9964eff81a8720bdb" + "reference": "486d9d9c4d209720d490ac186f8493b3c0f6897c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/03cc70759b2d8d03bd6886d9964eff81a8720bdb", - "reference": "03cc70759b2d8d03bd6886d9964eff81a8720bdb", + "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/486d9d9c4d209720d490ac186f8493b3c0f6897c", + "reference": "486d9d9c4d209720d490ac186f8493b3c0f6897c", "shasum": "" }, "require": { @@ -326,7 +326,7 @@ "phpstorm", "sublime" ], - "time": "2014-09-15 15:20:52" + "time": "2014-10-14 08:39:02" }, { "name": "bllim/datatables", @@ -334,12 +334,12 @@ "source": { "type": "git", "url": "https://github.com/bllim/laravel4-datatables-package.git", - "reference": "094ae36022eb6433ebcbd2b43df9c94a0d844d9e" + "reference": "53dbb3d6622eee81afd960b95c658883c6815557" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bllim/laravel4-datatables-package/zipball/094ae36022eb6433ebcbd2b43df9c94a0d844d9e", - "reference": "094ae36022eb6433ebcbd2b43df9c94a0d844d9e", + "url": "https://api.github.com/repos/bllim/laravel4-datatables-package/zipball/53dbb3d6622eee81afd960b95c658883c6815557", + "reference": "53dbb3d6622eee81afd960b95c658883c6815557", "shasum": "" }, "require": { @@ -381,7 +381,7 @@ "laravel", "laravel4" ], - "time": "2014-09-17 10:46:19" + "time": "2014-10-07 06:42:58" }, { "name": "cartalyst/sentry", @@ -485,63 +485,50 @@ }, { "name": "classpreloader/classpreloader", - "version": "dev-master", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/mtdowling/ClassPreloader.git", - "reference": "5d3937a0de5bf3b27126ea5a2c163ccceef82596" + "reference": "2c9f3bcbab329570c57339895bd11b5dd3b00877" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mtdowling/ClassPreloader/zipball/5d3937a0de5bf3b27126ea5a2c163ccceef82596", - "reference": "5d3937a0de5bf3b27126ea5a2c163ccceef82596", + "url": "https://api.github.com/repos/mtdowling/ClassPreloader/zipball/2c9f3bcbab329570c57339895bd11b5dd3b00877", + "reference": "2c9f3bcbab329570c57339895bd11b5dd3b00877", "shasum": "" }, "require": { - "nikic/php-parser": "~1.0", + "nikic/php-parser": "~0.9", "php": ">=5.3.3", "symfony/console": "~2.1", "symfony/filesystem": "~2.1", "symfony/finder": "~2.1" }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, "bin": [ "classpreloader.php" ], "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "1.0-dev" } }, "autoload": { - "psr-4": { - "ClassPreloader\\": "src/" + "psr-0": { + "ClassPreloader": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Graham Campbell", - "email": "graham@mineuk.com" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com" - } - ], "description": "Helps class loading performance by generating a single PHP file containing all of the autoloaded files for a specific use case", "keywords": [ "autoload", "class", "preload" ], - "time": "2014-09-12 19:10:55" + "time": "2014-03-12 00:05:31" }, { "name": "d11wtq/boris", @@ -620,16 +607,16 @@ }, { "name": "filp/whoops", - "version": "1.1.2", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "9f451fbc7b8cad5e71300672c340c28c6bec09ff" + "reference": "a85fab9a98f1f9b8ebcdbe71733f0d910e5b9adf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/9f451fbc7b8cad5e71300672c340c28c6bec09ff", - "reference": "9f451fbc7b8cad5e71300672c340c28c6bec09ff", + "url": "https://api.github.com/repos/filp/whoops/zipball/a85fab9a98f1f9b8ebcdbe71733f0d910e5b9adf", + "reference": "a85fab9a98f1f9b8ebcdbe71733f0d910e5b9adf", "shasum": "" }, "require": { @@ -674,7 +661,7 @@ "whoops", "zf2" ], - "time": "2014-07-11 05:56:54" + "time": "2014-10-26 09:05:09" }, { "name": "ircmaxell/password-compat", @@ -763,12 +750,12 @@ "source": { "type": "git", "url": "https://github.com/jenssegers/laravel-date.git", - "reference": "9b0da0ad64cc6f2d5b88399953f6edf79501ebf3" + "reference": "af441593e9857733b774116eb1ef8cf795075c14" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jenssegers/laravel-date/zipball/9b0da0ad64cc6f2d5b88399953f6edf79501ebf3", - "reference": "9b0da0ad64cc6f2d5b88399953f6edf79501ebf3", + "url": "https://api.github.com/repos/jenssegers/laravel-date/zipball/af441593e9857733b774116eb1ef8cf795075c14", + "reference": "af441593e9857733b774116eb1ef8cf795075c14", "shasum": "" }, "require": { @@ -802,28 +789,28 @@ "laravel", "time" ], - "time": "2014-08-29 13:54:05" + "time": "2014-11-09 22:57:16" }, { "name": "jeremeamia/SuperClosure", - "version": "1.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/jeremeamia/super_closure.git", - "reference": "dba99c01800510c2d78a15d8579a49673072f270" + "reference": "d05400085f7d4ae6f20ba30d36550836c0d061e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jeremeamia/super_closure/zipball/dba99c01800510c2d78a15d8579a49673072f270", - "reference": "dba99c01800510c2d78a15d8579a49673072f270", + "url": "https://api.github.com/repos/jeremeamia/super_closure/zipball/d05400085f7d4ae6f20ba30d36550836c0d061e8", + "reference": "d05400085f7d4ae6f20ba30d36550836c0d061e8", "shasum": "" }, "require": { - "nikic/php-parser": "dev-master", + "nikic/php-parser": "~0.9", "php": ">=5.3.3" }, "require-dev": { - "phpunit/phpunit": "3.7.*" + "phpunit/phpunit": "~3.7" }, "type": "library", "autoload": { @@ -840,7 +827,7 @@ "name": "Jeremy Lindblom" } ], - "description": "Doing interesting things with closures like serialization and partial function application.", + "description": "Doing interesting things with closures like serialization.", "homepage": "https://github.com/jeremeamia/super_closure", "keywords": [ "closure", @@ -850,51 +837,7 @@ "serialize", "tokenizer" ], - "time": "2013-06-14 07:20:08" - }, - { - "name": "laracasts/utilities", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer.git", - "reference": "58b4e02228c98315cfad206bd12e50cd4c82a370" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laracasts/PHP-Vars-To-Js-Transformer/zipball/58b4e02228c98315cfad206bd12e50cd4c82a370", - "reference": "58b4e02228c98315cfad206bd12e50cd4c82a370", - "shasum": "" - }, - "require": { - "illuminate/support": "~4.0", - "php": ">=5.4.0" - }, - "require-dev": { - "phpspec/phpspec": "~2.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "Laracasts\\Utilities": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jeffrey Way", - "email": "jeffrey@laracasts.com" - } - ], - "description": "Transform your PHP to JavaScript", - "keywords": [ - "javascript", - "laravel" - ], - "time": "2014-06-04 20:21:41" + "time": "2013-10-09 04:20:00" }, { "name": "laravel/framework", @@ -902,20 +845,20 @@ "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "8a3726385171855986a6f9e1e30b09d796dfea3c" + "reference": "4a066fd85f45668e1e40b2b555b9bf788860aab9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/8a3726385171855986a6f9e1e30b09d796dfea3c", - "reference": "8a3726385171855986a6f9e1e30b09d796dfea3c", + "url": "https://api.github.com/repos/laravel/framework/zipball/4a066fd85f45668e1e40b2b555b9bf788860aab9", + "reference": "4a066fd85f45668e1e40b2b555b9bf788860aab9", "shasum": "" }, "require": { - "classpreloader/classpreloader": "~1.0", + "classpreloader/classpreloader": "~1.0.2", "d11wtq/boris": "~1.0", "filp/whoops": "1.1.*", "ircmaxell/password-compat": "~1.0", - "jeremeamia/superclosure": "~1.0", + "jeremeamia/superclosure": "~1.0.1", "monolog/monolog": "~1.6", "nesbot/carbon": "~1.0", "patchwork/utf8": "1.1.*", @@ -1009,7 +952,7 @@ "framework", "laravel" ], - "time": "2014-09-20 17:24:15" + "time": "2014-11-05 20:28:44" }, { "name": "maximebf/debugbar", @@ -1017,12 +960,12 @@ "source": { "type": "git", "url": "https://github.com/maximebf/php-debugbar.git", - "reference": "0e8dd3e6fd42577b27e2aedb293022fdaab05539" + "reference": "f0c0e7e88ce8855109542f222e0e68083e3c169a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/0e8dd3e6fd42577b27e2aedb293022fdaab05539", - "reference": "0e8dd3e6fd42577b27e2aedb293022fdaab05539", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/f0c0e7e88ce8855109542f222e0e68083e3c169a", + "reference": "f0c0e7e88ce8855109542f222e0e68083e3c169a", "shasum": "" }, "require": { @@ -1040,7 +983,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.9-dev" + "dev-master": "1.10-dev" } }, "autoload": { @@ -1064,7 +1007,7 @@ "keywords": [ "debug" ], - "time": "2014-09-16 14:22:43" + "time": "2014-11-13 13:55:16" }, { "name": "monolog/monolog", @@ -1072,12 +1015,12 @@ "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "b3f039339d7a8173c7b441dbaa572ccacb712b54" + "reference": "ab41ed9a94196ce2793f400b88313918b4fc64dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/b3f039339d7a8173c7b441dbaa572ccacb712b54", - "reference": "b3f039339d7a8173c7b441dbaa572ccacb712b54", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/ab41ed9a94196ce2793f400b88313918b4fc64dc", + "reference": "ab41ed9a94196ce2793f400b88313918b4fc64dc", "shasum": "" }, "require": { @@ -1136,20 +1079,20 @@ "logging", "psr-3" ], - "time": "2014-09-10 15:41:01" + "time": "2014-11-11 12:05:51" }, { "name": "nesbot/carbon", - "version": "1.12.0", + "version": "1.13.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "cde7a00d1410a17fb6d61b993cb017a78be1137c" + "reference": "5cb6e71055f7b0b57956b73d324cc4de31278f42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/cde7a00d1410a17fb6d61b993cb017a78be1137c", - "reference": "cde7a00d1410a17fb6d61b993cb017a78be1137c", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/5cb6e71055f7b0b57956b73d324cc4de31278f42", + "reference": "5cb6e71055f7b0b57956b73d324cc4de31278f42", "shasum": "" }, "require": { @@ -1182,36 +1125,36 @@ "datetime", "time" ], - "time": "2014-09-10 03:26:33" + "time": "2014-09-26 02:52:02" }, { "name": "nikic/php-parser", - "version": "dev-master", + "version": "0.9.x-dev", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94" + "reference": "ef70767475434bdb3615b43c327e2cae17ef12eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94", - "reference": "2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ef70767475434bdb3615b43c327e2cae17ef12eb", + "reference": "ef70767475434bdb3615b43c327e2cae17ef12eb", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": ">=5.3" + "php": ">=5.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "0.9-dev" } }, "autoload": { - "files": [ - "lib/bootstrap.php" - ] + "psr-0": { + "PHPParser": "lib/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1227,7 +1170,7 @@ "parser", "php" ], - "time": "2014-09-12 12:48:23" + "time": "2014-07-23 18:24:17" }, { "name": "orchestra/asset", @@ -1346,16 +1289,16 @@ }, { "name": "patchwork/utf8", - "version": "v1.1.25", + "version": "1.1.x-dev", "source": { "type": "git", - "url": "https://github.com/nicolas-grekas/Patchwork-UTF8.git", - "reference": "2d43bd047b120279511d45e76e61c5a9812d9a83" + "url": "https://github.com/tchwork/utf8.git", + "reference": "099381bb06bb09161107964f7587fa254e69013d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nicolas-grekas/Patchwork-UTF8/zipball/2d43bd047b120279511d45e76e61c5a9812d9a83", - "reference": "2d43bd047b120279511d45e76e61c5a9812d9a83", + "url": "https://api.github.com/repos/tchwork/utf8/zipball/099381bb06bb09161107964f7587fa254e69013d", + "reference": "099381bb06bb09161107964f7587fa254e69013d", "shasum": "" }, "require": { @@ -1386,19 +1329,19 @@ "authors": [ { "name": "Nicolas Grekas", - "email": "p@tchwork.com", - "role": "Developer" + "email": "p@tchwork.com" } ], - "description": "Extensive, portable and performant handling of UTF-8 and grapheme clusters for PHP", - "homepage": "https://github.com/nicolas-grekas/Patchwork-UTF8", + "description": "Portable and performant UTF-8, Unicode and Grapheme Clusters for PHP", + "homepage": "https://github.com/tchwork/utf8", "keywords": [ + "grapheme", "i18n", "unicode", "utf-8", "utf8" ], - "time": "2014-08-05 08:00:32" + "time": "2014-11-10 16:15:34" }, { "name": "phenx/php-font-lib", @@ -1489,12 +1432,12 @@ "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "5085202f1f37769aae59f9711c423f28159c9b29" + "reference": "c6e88ca6e81bc5a2d7161658e16a95b7ef8d6ad1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/5085202f1f37769aae59f9711c423f28159c9b29", - "reference": "5085202f1f37769aae59f9711c423f28159c9b29", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/c6e88ca6e81bc5a2d7161658e16a95b7ef8d6ad1", + "reference": "c6e88ca6e81bc5a2d7161658e16a95b7ef8d6ad1", "shasum": "" }, "require": { @@ -1579,7 +1522,7 @@ "x.509", "x509" ], - "time": "2014-09-13 02:42:45" + "time": "2014-11-10 03:08:59" }, { "name": "predis/predis", @@ -1783,12 +1726,12 @@ "source": { "type": "git", "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "cd12d60cdd3b03de69a68a49089d85e119491b4d" + "reference": "d0f361d88e5de851bbb8c542d3b6aa46d61a9ffc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/cd12d60cdd3b03de69a68a49089d85e119491b4d", - "reference": "cd12d60cdd3b03de69a68a49089d85e119491b4d", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/d0f361d88e5de851bbb8c542d3b6aa46d61a9ffc", + "reference": "d0f361d88e5de851bbb8c542d3b6aa46d61a9ffc", "shasum": "" }, "require": { @@ -1827,7 +1770,7 @@ "mail", "mailer" ], - "time": "2014-09-20 11:30:50" + "time": "2014-10-30 13:41:35" }, { "name": "symfony/browser-kit", @@ -1836,12 +1779,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/BrowserKit.git", - "reference": "0cb9e603b1850c9495bfb96b3c4caf7ea17700d4" + "reference": "4792cf459d0298bcf4b4f56adfa5d11afd601fc9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/BrowserKit/zipball/0cb9e603b1850c9495bfb96b3c4caf7ea17700d4", - "reference": "0cb9e603b1850c9495bfb96b3c4caf7ea17700d4", + "url": "https://api.github.com/repos/symfony/BrowserKit/zipball/4792cf459d0298bcf4b4f56adfa5d11afd601fc9", + "reference": "4792cf459d0298bcf4b4f56adfa5d11afd601fc9", "shasum": "" }, "require": { @@ -1882,21 +1825,21 @@ ], "description": "Symfony BrowserKit Component", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-10-26 07:41:27" }, { "name": "symfony/class-loader", - "version": "dev-master", + "version": "2.6.x-dev", "target-dir": "Symfony/Component/ClassLoader", "source": { "type": "git", "url": "https://github.com/symfony/ClassLoader.git", - "reference": "9410b3fadff5da57b43db601ec7f121960b5b3f5" + "reference": "d1a16139ea522ec3cc20801b7e19cd3cafd12d8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/ClassLoader/zipball/9410b3fadff5da57b43db601ec7f121960b5b3f5", - "reference": "9410b3fadff5da57b43db601ec7f121960b5b3f5", + "url": "https://api.github.com/repos/symfony/ClassLoader/zipball/d1a16139ea522ec3cc20801b7e19cd3cafd12d8c", + "reference": "d1a16139ea522ec3cc20801b7e19cd3cafd12d8c", "shasum": "" }, "require": { @@ -1932,7 +1875,7 @@ ], "description": "Symfony ClassLoader Component", "homepage": "http://symfony.com", - "time": "2014-09-22 11:59:59" + "time": "2014-11-03 03:55:50" }, { "name": "symfony/console", @@ -1941,12 +1884,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/Console.git", - "reference": "c1c5657f27da5d8b3162654318af8d49715c65d1" + "reference": "210faf0c2bb740d1ee992b4d4ea8cf597ef77672" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Console/zipball/c1c5657f27da5d8b3162654318af8d49715c65d1", - "reference": "c1c5657f27da5d8b3162654318af8d49715c65d1", + "url": "https://api.github.com/repos/symfony/Console/zipball/210faf0c2bb740d1ee992b4d4ea8cf597ef77672", + "reference": "210faf0c2bb740d1ee992b4d4ea8cf597ef77672", "shasum": "" }, "require": { @@ -1987,7 +1930,7 @@ ], "description": "Symfony Console Component", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-10-30 20:17:55" }, { "name": "symfony/css-selector", @@ -1996,12 +1939,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/CssSelector.git", - "reference": "caf5ecc3face1f22884fb74b8edab65ac5ba9976" + "reference": "3046789831631e5ccdd0df1a1221380eab343922" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/CssSelector/zipball/caf5ecc3face1f22884fb74b8edab65ac5ba9976", - "reference": "caf5ecc3face1f22884fb74b8edab65ac5ba9976", + "url": "https://api.github.com/repos/symfony/CssSelector/zipball/3046789831631e5ccdd0df1a1221380eab343922", + "reference": "3046789831631e5ccdd0df1a1221380eab343922", "shasum": "" }, "require": { @@ -2038,7 +1981,7 @@ ], "description": "Symfony CssSelector Component", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-10-26 07:41:27" }, { "name": "symfony/debug", @@ -2047,12 +1990,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/Debug.git", - "reference": "df13b35100bdd173dd8b9b3f06f3a61d9e7823f5" + "reference": "7b7d439e7ae3647483b3cf5725786bfb7611c1de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Debug/zipball/df13b35100bdd173dd8b9b3f06f3a61d9e7823f5", - "reference": "df13b35100bdd173dd8b9b3f06f3a61d9e7823f5", + "url": "https://api.github.com/repos/symfony/Debug/zipball/7b7d439e7ae3647483b3cf5725786bfb7611c1de", + "reference": "7b7d439e7ae3647483b3cf5725786bfb7611c1de", "shasum": "" }, "require": { @@ -2093,7 +2036,7 @@ ], "description": "Symfony Debug Component", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-10-26 07:41:27" }, { "name": "symfony/dom-crawler", @@ -2102,12 +2045,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/DomCrawler.git", - "reference": "a2804ec76442a9d0a3bb25f99a7830ba24743e07" + "reference": "cba0dd4f5064c1332c08b5ab1dd77a762b75fa48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/DomCrawler/zipball/a2804ec76442a9d0a3bb25f99a7830ba24743e07", - "reference": "a2804ec76442a9d0a3bb25f99a7830ba24743e07", + "url": "https://api.github.com/repos/symfony/DomCrawler/zipball/cba0dd4f5064c1332c08b5ab1dd77a762b75fa48", + "reference": "cba0dd4f5064c1332c08b5ab1dd77a762b75fa48", "shasum": "" }, "require": { @@ -2146,21 +2089,21 @@ ], "description": "Symfony DomCrawler Component", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-10-26 07:41:27" }, { "name": "symfony/event-dispatcher", - "version": "dev-master", + "version": "2.7.x-dev", "target-dir": "Symfony/Component/EventDispatcher", "source": { "type": "git", "url": "https://github.com/symfony/EventDispatcher.git", - "reference": "bf53697836343c9bc5663649f5f094ede73c2d5c" + "reference": "8e5829263631e686bf4d1254b02411263b8fa228" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/bf53697836343c9bc5663649f5f094ede73c2d5c", - "reference": "bf53697836343c9bc5663649f5f094ede73c2d5c", + "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/8e5829263631e686bf4d1254b02411263b8fa228", + "reference": "8e5829263631e686bf4d1254b02411263b8fa228", "shasum": "" }, "require": { @@ -2169,7 +2112,8 @@ "require-dev": { "psr/log": "~1.0", "symfony/config": "~2.0", - "symfony/dependency-injection": "~2.0", + "symfony/dependency-injection": "~2.6", + "symfony/expression-language": "~2.6", "symfony/stopwatch": "~2.2" }, "suggest": { @@ -2179,7 +2123,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "2.7-dev" } }, "autoload": { @@ -2203,21 +2147,21 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "http://symfony.com", - "time": "2014-09-22 11:59:59" + "time": "2014-11-10 18:00:54" }, { "name": "symfony/filesystem", - "version": "dev-master", + "version": "2.7.x-dev", "target-dir": "Symfony/Component/Filesystem", "source": { "type": "git", "url": "https://github.com/symfony/Filesystem.git", - "reference": "d02081a08b023d503b334f901b2ac72b28e64b0f" + "reference": "d369d79337045fdcb2c47d1cacc128367bd18b98" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Filesystem/zipball/d02081a08b023d503b334f901b2ac72b28e64b0f", - "reference": "d02081a08b023d503b334f901b2ac72b28e64b0f", + "url": "https://api.github.com/repos/symfony/Filesystem/zipball/d369d79337045fdcb2c47d1cacc128367bd18b98", + "reference": "d369d79337045fdcb2c47d1cacc128367bd18b98", "shasum": "" }, "require": { @@ -2226,7 +2170,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "2.7-dev" } }, "autoload": { @@ -2250,7 +2194,7 @@ ], "description": "Symfony Filesystem Component", "homepage": "http://symfony.com", - "time": "2014-09-22 13:51:42" + "time": "2014-11-10 18:00:54" }, { "name": "symfony/finder", @@ -2259,12 +2203,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/Finder.git", - "reference": "cce116dee937bef75d838c38f4fa9de68e8c62ef" + "reference": "743aabbf4958663ef626e10ae3a6c7b17a0fa3bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Finder/zipball/cce116dee937bef75d838c38f4fa9de68e8c62ef", - "reference": "cce116dee937bef75d838c38f4fa9de68e8c62ef", + "url": "https://api.github.com/repos/symfony/Finder/zipball/743aabbf4958663ef626e10ae3a6c7b17a0fa3bd", + "reference": "743aabbf4958663ef626e10ae3a6c7b17a0fa3bd", "shasum": "" }, "require": { @@ -2297,7 +2241,7 @@ ], "description": "Symfony Finder Component", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-10-26 07:41:27" }, { "name": "symfony/http-foundation", @@ -2306,12 +2250,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/HttpFoundation.git", - "reference": "21fa414d15c8501302c723d18b7484b5aa92e959" + "reference": "a2e4462906aee2588a975ddcce43c9f3b468e7c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/HttpFoundation/zipball/21fa414d15c8501302c723d18b7484b5aa92e959", - "reference": "21fa414d15c8501302c723d18b7484b5aa92e959", + "url": "https://api.github.com/repos/symfony/HttpFoundation/zipball/a2e4462906aee2588a975ddcce43c9f3b468e7c1", + "reference": "a2e4462906aee2588a975ddcce43c9f3b468e7c1", "shasum": "" }, "require": { @@ -2350,7 +2294,7 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-11-03 03:54:42" }, { "name": "symfony/http-kernel", @@ -2359,12 +2303,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/HttpKernel.git", - "reference": "48eb52088e74c789c24d3e0ec4be6deb36c7e053" + "reference": "4ba77e44fb38a1e5531516a0e29d84157f63b5d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/HttpKernel/zipball/48eb52088e74c789c24d3e0ec4be6deb36c7e053", - "reference": "48eb52088e74c789c24d3e0ec4be6deb36c7e053", + "url": "https://api.github.com/repos/symfony/HttpKernel/zipball/4ba77e44fb38a1e5531516a0e29d84157f63b5d6", + "reference": "4ba77e44fb38a1e5531516a0e29d84157f63b5d6", "shasum": "" }, "require": { @@ -2380,6 +2324,7 @@ "symfony/config": "~2.0", "symfony/console": "~2.2", "symfony/dependency-injection": "~2.0", + "symfony/expression-language": "~2.4", "symfony/finder": "~2.0", "symfony/process": "~2.0", "symfony/routing": "~2.2", @@ -2421,7 +2366,7 @@ ], "description": "Symfony HttpKernel Component", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-11-12 08:14:41" }, { "name": "symfony/process", @@ -2430,12 +2375,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/Process.git", - "reference": "da40c305a4c93376e930a3f1a43d2b99c8dc9158" + "reference": "ffe6e27a57e31262c3204a0955076c27c54c8e7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Process/zipball/da40c305a4c93376e930a3f1a43d2b99c8dc9158", - "reference": "da40c305a4c93376e930a3f1a43d2b99c8dc9158", + "url": "https://api.github.com/repos/symfony/Process/zipball/ffe6e27a57e31262c3204a0955076c27c54c8e7e", + "reference": "ffe6e27a57e31262c3204a0955076c27c54c8e7e", "shasum": "" }, "require": { @@ -2468,7 +2413,7 @@ ], "description": "Symfony Process Component", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-11-03 19:48:45" }, { "name": "symfony/routing", @@ -2477,12 +2422,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/Routing.git", - "reference": "1cba2ed16a0ff5476f07970d57b40d540cafd377" + "reference": "f3f5f31d5e227c51eed7ba8b1ed809a97ebaa341" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Routing/zipball/1cba2ed16a0ff5476f07970d57b40d540cafd377", - "reference": "1cba2ed16a0ff5476f07970d57b40d540cafd377", + "url": "https://api.github.com/repos/symfony/Routing/zipball/f3f5f31d5e227c51eed7ba8b1ed809a97ebaa341", + "reference": "f3f5f31d5e227c51eed7ba8b1ed809a97ebaa341", "shasum": "" }, "require": { @@ -2493,6 +2438,7 @@ "psr/log": "~1.0", "symfony/config": "~2.2", "symfony/expression-language": "~2.4", + "symfony/http-foundation": "~2.3", "symfony/yaml": "~2.0" }, "suggest": { @@ -2534,7 +2480,7 @@ "uri", "url" ], - "time": "2014-09-22 09:14:18" + "time": "2014-11-03 20:24:10" }, { "name": "symfony/security-core", @@ -2543,12 +2489,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/security-core.git", - "reference": "0d329ebbff2cd774cec5c6d13e254ecd44aebffe" + "reference": "6d9bc8834e7bbbce7c2b008915fcc2f3cd86c34c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-core/zipball/0d329ebbff2cd774cec5c6d13e254ecd44aebffe", - "reference": "0d329ebbff2cd774cec5c6d13e254ecd44aebffe", + "url": "https://api.github.com/repos/symfony/security-core/zipball/6d9bc8834e7bbbce7c2b008915fcc2f3cd86c34c", + "reference": "6d9bc8834e7bbbce7c2b008915fcc2f3cd86c34c", "shasum": "" }, "require": { @@ -2560,7 +2506,7 @@ "symfony/event-dispatcher": "~2.1", "symfony/expression-language": "~2.4", "symfony/http-foundation": "~2.4", - "symfony/validator": "~2.2" + "symfony/validator": "~2.5" }, "suggest": { "ircmaxell/password-compat": "For using the BCrypt password encoder in PHP <5.5", @@ -2596,7 +2542,7 @@ ], "description": "Symfony Security Component - Core Library", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-10-30 20:17:55" }, { "name": "symfony/translation", @@ -2605,12 +2551,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/Translation.git", - "reference": "d8e99a969f866632b07cdbe52c91f56107e61770" + "reference": "ad3c3248f6ff33856f29c278f575a527eb9621ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Translation/zipball/d8e99a969f866632b07cdbe52c91f56107e61770", - "reference": "d8e99a969f866632b07cdbe52c91f56107e61770", + "url": "https://api.github.com/repos/symfony/Translation/zipball/ad3c3248f6ff33856f29c278f575a527eb9621ed", + "reference": "ad3c3248f6ff33856f29c278f575a527eb9621ed", "shasum": "" }, "require": { @@ -2618,6 +2564,7 @@ }, "require-dev": { "symfony/config": "~2.0", + "symfony/intl": "~2.3", "symfony/yaml": "~2.2" }, "suggest": { @@ -2651,7 +2598,7 @@ ], "description": "Symfony Translation Component", "homepage": "http://symfony.com", - "time": "2014-09-22 09:14:18" + "time": "2014-10-26 07:41:27" }, { "name": "way/generators", @@ -2702,23 +2649,14 @@ "time": "2014-05-27 14:21:26" } ], - "packages-dev": [ - - ], - "aliases": [ - - ], + "packages-dev": [], + "aliases": [], "minimum-stability": "dev", "stability-flags": { "laravel/framework": 20, - "anahkiasen/former": 20, - "laracasts/utilities": 20 + "anahkiasen/former": 20 }, "prefer-stable": false, - "platform": [ - - ], - "platform-dev": [ - - ] + "platform": [], + "platform-dev": [] } diff --git a/public/assets/js/configurator.js b/public/assets/js/configurator.js index c2b5a36f..f5a06aaa 100755 --- a/public/assets/js/configurator.js +++ b/public/assets/js/configurator.js @@ -1,8 +1,15 @@ +/* Write Bacual Configuration */ +function restartBacula() +{ + $.ajax({ + type: "GET", + url: "restartbacula", + }).done(function( msg ) { + bootbox.alert(msg.html); + }); +} - - - -/* Disable User */ +/* Write Bacual Configuration */ function writeBacula(type) { $.ajax({ @@ -22,7 +29,6 @@ $(document).ready(function() { tree.reload(); }); - $("#refreshTree").click(function(){ $("input[name=search]").val(""); $("span#matches").text(""); @@ -41,9 +47,6 @@ $(document).ready(function() { }); }); - - - var tree = $("#tree").fancytree({ extensions: ["filter","persist"], filter: { @@ -55,7 +58,6 @@ $(document).ready(function() { store: "auto" // 'cookie', 'local': use localStore, 'session': sessionStore }, - source: { url: "gettreedata", cache: false diff --git a/vendor/anahkiasen/former/.gitignore b/vendor/anahkiasen/former/.gitignore index a0c66d08..6935f3d3 100644 --- a/vendor/anahkiasen/former/.gitignore +++ b/vendor/anahkiasen/former/.gitignore @@ -1,3 +1,6 @@ +# Development .idea -tests/coverage + +# Dependencies +composer.lock vendor diff --git a/vendor/anahkiasen/former/.travis.yml b/vendor/anahkiasen/former/.travis.yml index f7293926..23126283 100644 --- a/vendor/anahkiasen/former/.travis.yml +++ b/vendor/anahkiasen/former/.travis.yml @@ -4,15 +4,15 @@ php: - 5.4 - 5.5 - 5.6 - - hhvm + - hhvm-nightly before_script: - - composer self-update - - composer install --dev --prefer-dist + - travis_retry composer self-update + - travis_retry composer install --no-interaction --prefer-source --dev matrix: allow_failures: - - php: hhvm + - php: hhvm-nightly fast_finish: true script: phpunit diff --git a/vendor/anahkiasen/former/CHANGELOG.md b/vendor/anahkiasen/former/CHANGELOG.md index b98b33fe..302709e7 100644 --- a/vendor/anahkiasen/former/CHANGELOG.md +++ b/vendor/anahkiasen/former/CHANGELOG.md @@ -1,159 +1,239 @@ # CHANGELOG +## 3.5.2 + +### Fixed +- Fix the `bind` function for checkables +- Fixed an error when manually creating checkables + +## 3.5.1 + +### Added +- Added support for Foundation 5 +- Added PlainText field type +- Added `->bind()` method to fields to change which binding to use for repopulation + +### Changed +- Peformance tweaks (framework caching) + +### Fixed +- Fixed position of MAX_FILE_SIZE field +- Fixed Laravel 5 compatibility +- Fixed wrong class for inline checkables on Bootstrap 3 + ## 3.5.0 +### Changed - Bumped minimum requirement to 5.4 ## 3.4.4 +### Deprecated - Last release for PHP 5.3 ## 3.4.3 -- [add] Added step parameter to `Select::range()` method -- [add] Allow individual checkboxes to override the global push-checkbox setting -- [fix] Fix some repopulation issues -- [mod] Add some additional options for Foundation 4 -- [mod] Allow translation method to fetch nested keys via dot or brackets +### Added +- Added step parameter to `Select::range()` method +- Allow individual checkboxes to override the global push-checkbox setting + +### Changed +- Add some additional options for Foundation 4 +- Allow translation method to fetch nested keys via dot or brackets + +### Fixed +- Fix some repopulation issues ## 3.4.2 -- [add] Added the ability to specify multiple namespaces to look for fields in the MethodDispatcher -- [mod] Appended buttons are now properly wrapped in input-group-btn in Bootstrap 3 -- [fix] Fixed a bug where wrong items would get selected in optgroups -- [fix] Fixed some bug when fetching data from the request -- [fix] Fixed spaces in validation rules causing errors +### Added +- Added the ability to specify multiple namespaces to look for fields in the MethodDispatcher +- Appended buttons are now properly wrapped in input-group-btn in Bootstrap 3 + +### Fixed +- Fixed a bug where wrong items would get selected in optgroups +- Fixed some bug when fetching data from the request +- Fixed spaces in validation rules causing errors ## 3.4.1 -- [add] Added support for passing MessageBag instances to `withErrors` -- [mod] MethodDispatcher can now look for field classes in multiple namespaces -- [mod] Use objects' `toArray` instead of array casting when possible -- [fix] Fix framework classes overwriting classes predefined on Field classes -- [fix] Fix stability problems that prevented Former form being installed +### Added +- Added support for passing MessageBag instances to `withErrors` + +### Changed +- MethodDispatcher can now look for field classes in multiple namespaces +- Use objects' `toArray` instead of array casting when possible + +### Fixed +- Fix framework classes overwriting classes predefined on Field classes +- Fix stability problems that prevented Former form being installed ## 3.4.0 -- [add] Added `Former::rawOpen` to open a temporary no-framework/no-label form -- [add] Added support for camelCase form openers (ie. `verticalOpen` and `vertical_open`) -- [add] Added possibility to disable automatic capitalization of translations -- [fix] Fixed a bug where two fields with the same name would get the same ID -- [fix] Various bugfixes related to repopulation -- [fix] Fix various memory and 4.1 compatibility issues +### Added +- Added `Former::rawOpen` to open a temporary no-framework/no-label form +- Added support for camelCase form openers (ie. `verticalOpen` and `vertical_open`) +- Added possibility to disable automatic capitalization of translations + +### Fixed +- Fixed a bug where two fields with the same name would get the same ID +- Various bugfixes related to repopulation +- Fix various memory and 4.1 compatibility issues ## 3.3.0 -- [add] Add ability to pass attributes to a select's options -- [add] Add support for PATCH method -- [add] Add ability to create range number fields (`Former::number('foo')->range(1, 5)` sets the `min` to 1 and `max` to 5) -- [add] Added Form->route and Form->controller to set a form's action to a route/controller path, and the corresponding method -- [add] Allow switching to alternate icon fonts -- [mod] Form classes are now framework-dependant -- [mod] More work on the Bootstrap 3 integration -- [fix] Prevent custom groups from responding to errors from non-grouped fields -- [fix] Fix bug in selection false values in Selects -- [fix] Fix bug where selects with optgroups weren't populated correctly +### Added +- Add ability to pass attributes to a select's options +- Add support for PATCH method +- Add ability to create range number fields (`Former::number('foo')->range(1, 5)` sets the `min` to 1 and `max` to 5) +- Added Form->route and Form->controller to set a form's action to a route/controller path, and the corresponding method + +### Changed +- Allow switching to alternate icon fonts +- Form classes are now framework-dependant +- More work on the Bootstrap 3 integration +- Prevent custom groups from responding to errors from non-grouped fields + +### Fixed +- Fix bug in selection false values in Selects +- Fix bug where selects with optgroups weren't populated correctly ## 3.2.0 -- **[mod] Updated TwitterBootstrap3 to the latest release** -- **[mod] Former now handles camelCase attributes (ie. `dataPlaceholder` for `data-placeholder`)** -- [mod] `$group->getErrors()` is now public +### Changed +- Updated TwitterBootstrap3 to the latest release +- Former now handles camelCase attributes (ie. `dataPlaceholder` for `data-placeholder`) +- `$group->getErrors()` is now public ## 3.1.0 -- [add] **You can now configure which attributes are translated by default** -- [add] **Added the `TwitterBootstrap3` framework** -- [add] Add a second argument to `Former::group` that allows specifying which errors should be displayed -- [add] Add ability to interact with the Group's method by using `onGroup{method}` (ex: `onGroupAddClass`) -- [mod] All fields are now displayed as "raw" by default in custom groups -- [fix] Fix some checkable bugs +### Added +- You can now configure which attributes are translated by default +- Added the `TwitterBootstrap3` framework +- Add a second argument to `Former::group` that allows specifying which errors should be displayed +- Add ability to interact with the Group's method by using `onGroup{method}` (ex: `onGroupAddClass`) + +### Changed +- All fields are now displayed as "raw" by default in custom groups + +### Fixed +- Fix some checkable bugs ## 3.0.0 -- **Refactor of Former – the project is now framework agnostic, see installation details** -- [add] You can now chain methods to actions blocks `Former::actions('Hello', 'Mr Bond')->id('foo')->addClass('bar')` -- [add] You can now chain buttons to actions blocks `Former::actions()->large_primary_submit('Submit')` -- [add] You can now chain live validation rules to fields (example: `Former::text('foo')->alpha_dash()`) -- [add] You can now display a single field without control group in any kind of form (`Former::text('foo')->raw()`) -- [mod] Frameworks names renamed from `bootstrap` to `TwitterBootstrap`, `zurb` to `ZurbFoundation` and `null` to `Nude` -- [add] You can now manually open groups via `Former::group('label')` -- [add] You can also create a group that contains raw content (not a field) with `Former::group('label')->contents('YourContent')`. This will wrap the content in a control class so that your content is aligned with the fields. -- [add] Checkables now handle being populated from relations -- [add] You can now add classes to the group via the `->addGroupClass` method -- [add] Former::withRules() now also take a Laravel-formatted string of rules (ie. "rule|rule:parameter|rule") -- [add] You can now populate on a form-basis with the chained method `->populate` on a form opener -- [add] Add support for macros with Former::macro($name, $macro()) -- [add] Add Select->range() method -- [add] Former now automatically inserts a token in the form -- [add] Support for select groups +### Added +- Refactor of Former – the project is now framework agnostic, see installation details +- You can now chain methods to actions blocks `Former::actions('Hello', 'Mr Bond')->id('foo')->addClass('bar')` +- You can now chain buttons to actions blocks `Former::actions()->large_primary_submit('Submit')` +- You can now chain live validation rules to fields (example: `Former::text('foo')->alpha_dash()`) +- You can now display a single field without control group in any kind of form (`Former::text('foo')->raw()`) +- Frameworks names renamed from `bootstrap` to `TwitterBootstrap`, `zurb` to `ZurbFoundation` and `null` to `Nude` +- You can now manually open groups via `Former::group('label')` +- You can also create a group that contains raw content (not a field) with `Former::group('label')->contents('YourContent')`. This will wrap the content in a control class so that your content is aligned with the fields. +- Checkables now handle being populated from relations +- You can now add classes to the group via the `->addGroupClass` method +- Former::withRules() now also take a Laravel-formatted string of rules (ie. "rule|rule:parameter|rule") +- You can now populate on a form-basis with the chained method `->populate` on a form opener +- Add support for macros with Former::macro($name, $macro()) +- Add Select->range() method +- Former now automatically inserts a token in the form +- Support for select groups ## 2.6.0 -- **[add] 'required_text' to append a text to required fields's labels** -- **[add] Former::open()->rules([]) as alias to Former::withRules** -- [fix] Fix a bug where labels for radios would fail because of identical ids -- [fix] Fixed a bug where ->populateField would fail if the form was populated with an object +### Added +- 'required_text' to append a text to required fields's labels +- Former::open()->rules([]) as alias to Former::withRules + +### Fixed +- Fix a bug where labels for radios would fail because of identical ids +- Fixed a bug where ->populateField would fail if the form was populated with an object ## 2.5.0 -- **[add] Add basic button class that allow Bootstrappy submit/buttons** -- **[add] ControlGroup->prependIcon and appendIcon methods** -- [add] Ability to pass an array of classes to add to Field->addClass -- [fix] Fix instantiated classes bug in PHP 5.3.2 -- [fix] Fix multiple buttons instances overwriting themselves +### Added +- Add basic button class that allow Bootstrappy submit/buttons +- ControlGroup->prependIcon and appendIcon methods +- Ability to pass an array of classes to add to Field->addClass + +### Fixed +- Fix instantiated classes bug in PHP 5.3.2 +- Fix multiple buttons instances overwriting themselves ## 2.4.0 -- **[add] Form openers are now objects too and accept chained methods** -- [add] Add `unchecked_value` option to decide what value unchecked checkboxes have in the POST array -- [add] Allow booleans to be passed to Checkable->check() on single items -- [mod] Disable `push_checkbox` option by default -- [fix] Automatically fetch Lang objects passed to `->options` +### Added +- Form openers are now objects too and accept chained methods +- Add `unchecked_value` option to decide what value unchecked checkboxes have in the POST array +- Allow booleans to be passed to Checkable->check() on single items + +### Changed +- Disable `push_checkbox` option by default + +### Fixed +- Automatically fetch Lang objects passed to `->options` ## 2.3.0 -- **[add] Add `push_checkboxes` option which forces the submiting of unchecked fields to the POST array** +### Added +- Add `push_checkboxes` option which forces the submiting of unchecked fields to the POST array ## 2.2.0 -- **[add] Add `Former::file()` and `Former::files()` with methods `->max` and `->accept`** -- [add] Add ability to set a placeholder option for select fields -- [add] Add ability to set attributes for a label +### Added +- Add `Former::file()` and `Former::files()` with methods `->max` and `->accept` +- Add ability to set a placeholder option for select fields +- Add ability to set attributes for a label ## 2.1.0 -- **[add] Add ability to populate field with a model's relationships** -- [add] Added `->check()` method on radios and checkboxes +### Added +- Add ability to populate field with a model's relationships +- Added `->check()` method on radios and checkboxes ## 2.0.0 -- **[add] Former now uses Laravel's Config class to manage settings, letting the user create a `former.php` file in `application/config` to override default options** -- [add] Add option to disable automatic labeling of fields -- [fix] Fix translation of empty strings +### Added +- Former now uses Laravel's Config class to manage settings, letting the user create a `former.php` file in `application/config` to override default options +- Add option to disable automatic labeling of fields + +### Fixed +- Fix translation of empty strings ## 1.2.1 -- **[add] Fetch automatically key and value from models through `get_key` and `__toString`** -- [add] Add `Former::populateField` to populate a specific field -- [fix] Fixed a bug preventing from using one Former call to output several times +### Added +- Fetch automatically key and value from models through `get_key` and `__toString` +- Add `Former::populateField` to populate a specific field + +### Fixed +- Fixed a bug preventing from using one Former call to output several times ## 1.2.0 -- **[add] Add suport for Zurb's Foundation framework** -- **[add] Allow the passing of Query/Eloquent objects to text fields through `->useDatalist`** -- [add] Add option to desactivate live validation -- [mod] Allow public use of `Former::getErrors()` -- [mod] Let user specify a custom id for generated datalists -- [fix] Don't create a label tag around checkboxes if the label is empty -- [fix] Fix custom arguments of `open()` not working as desired +### Added +- Add suport for Zurb's Foundation framework +- Allow the passing of Query/Eloquent objects to text fields through `->useDatalist` +- Add option to desactivate live validation + +### Changed +- Allow public use of `Former::getErrors()` +- Let user specify a custom id for generated datalists + +### Fixed +- Don't create a label tag around checkboxes if the label is empty +- Fix custom arguments of `open()` not working as desired ## 1.1.0 -- **[add] Allow the passing of Query/Eloquent objets to select fields through `->fromQuery`** -- [fix] Disable form population on password fields -- [fix] Fix uneditable inputs outputing as text fields +### Added +- Allow the passing of Query/Eloquent objets to select fields through `->fromQuery` + +### Fixed +- Disable form population on password fields +- Fix uneditable inputs outputing as text fields ## 1.0.0 +### Added - Initial release of Former on [Laravel Bundles](http://bundles.laravel.com/bundle/former/) diff --git a/vendor/anahkiasen/former/README.md b/vendor/anahkiasen/former/README.md index 6d74881f..3a563afc 100644 --- a/vendor/anahkiasen/former/README.md +++ b/vendor/anahkiasen/former/README.md @@ -1,11 +1,13 @@ # Former ## A Laravelish way to create and format forms -[![Build Status](https://secure.travis-ci.org/Anahkiasen/former.png)](http://travis-ci.org/Anahkiasen/former) -[![Latest Stable Version](https://poser.pugx.org/anahkiasen/former/v/stable.png)](https://packagist.org/packages/anahkiasen/former) -[![Total Downloads](https://poser.pugx.org/anahkiasen/former/downloads.png)](https://packagist.org/packages/anahkiasen/former) -[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/Anahkiasen/former/badges/quality-score.png?s=17a96ec08bcefbdf737feed52b88ebcac596c29c)](https://scrutinizer-ci.com/g/Anahkiasen/former/) -[![Code Coverage](https://scrutinizer-ci.com/g/Anahkiasen/former/badges/coverage.png?s=861f4579957851e68626c91ed1bb9e76694edaa8)](https://scrutinizer-ci.com/g/Anahkiasen/former/) +[![Build Status](http://img.shields.io/travis/Anahkiasen/former.svg?style=flat)](https://travis-ci.org/Anahkiasen/former) +[![Latest Stable Version](http://img.shields.io/packagist/v/anahkiasen/former.svg?style=flat)](https://packagist.org/packages/anahkiasen/former) +[![Total Downloads](http://img.shields.io/packagist/dt/anahkiasen/former.svg?style=flat)](https://packagist.org/packages/anahkiasen/former) +[![Scrutinizer Quality Score](http://img.shields.io/scrutinizer/g/Anahkiasen/former.svg?style=flat)](https://scrutinizer-ci.com/g/Anahkiasen/former/) +[![Code Coverage](http://img.shields.io/scrutinizer/coverage/g/Anahkiasen/former.svg?style=flat)](https://scrutinizer-ci.com/g/Anahkiasen/former/) +[![Dependency Status](https://www.versioneye.com/user/projects/54363f5eb2a9c51d400000d0/badge.svg?style=flat)](https://www.versioneye.com/user/projects/54363f5eb2a9c51d400000d0) +[![Support via Gittip](http://img.shields.io/gittip/Anahkiasen.svg?style=flat)](https://www.gittip.com/Anahkiasen/) Former is the name of a little project I'd like to present you — it's a PHP package that allows you to do all kinds of powerful stuff with forms while remaining pretty simple to use. It's also a really nice guy too once you get to know him. diff --git a/vendor/anahkiasen/former/composer.json b/vendor/anahkiasen/former/composer.json index ab02ce13..d125e0ee 100644 --- a/vendor/anahkiasen/former/composer.json +++ b/vendor/anahkiasen/former/composer.json @@ -16,23 +16,26 @@ } ], "require": { - "php": ">=5.4.0", + "php": ">=5.4.0", "anahkiasen/html-object": "~1.4", - "illuminate/config": "~4.2", - "illuminate/container": "~4.2", - "illuminate/http": "~4.2", - "illuminate/routing": "~4.2", - "illuminate/session": "~4.2", - "illuminate/translation" :"~4.2" + "illuminate/config": ">=4.2", + "illuminate/container": ">=4.2", + "illuminate/http": ">=4.2", + "illuminate/routing": ">=4.2", + "illuminate/session": ">=4.2", + "illuminate/translation": ">=4.2" }, "require-dev": { - "phpunit/phpunit": "~4.1.4", + "phpunit/phpunit": "~4.1.6", "mockery/mockery": "~0.9.1", - "illuminate/database": "~4.2" + "illuminate/database": ">=4.2" }, "autoload": { "psr-4": { - "Former\\": ["src/Former", "tests"], + "Former\\": [ + "src/Former", + "tests" + ], "Laravel\\": "src/Laravel" } } diff --git a/vendor/anahkiasen/former/composer.lock b/vendor/anahkiasen/former/composer.lock deleted file mode 100644 index dff3c0d0..00000000 --- a/vendor/anahkiasen/former/composer.lock +++ /dev/null @@ -1,1990 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", - "This file is @generated automatically" - ], - "hash": "1d140eeabeef7701842ac5c9fbc41c8d", - "packages": [ - { - "name": "anahkiasen/html-object", - "version": "1.4.0", - "source": { - "type": "git", - "url": "https://github.com/Anahkiasen/html-object.git", - "reference": "776aff25a4db27964d95b2332e2f379b0aac9ff0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Anahkiasen/html-object/zipball/776aff25a4db27964d95b2332e2f379b0aac9ff0", - "reference": "776aff25a4db27964d95b2332e2f379b0aac9ff0", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "HtmlObject": "src" - }, - "classmap": [ - "tests" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Maxime Fabre", - "email": "ehtnam6@gmail.com" - } - ], - "description": "A set of classes to create and manipulate HTML objects abstractions", - "time": "2014-01-27 22:41:20" - }, - { - "name": "illuminate/cache", - "version": "v4.2.7", - "target-dir": "Illuminate/Cache", - "source": { - "type": "git", - "url": "https://github.com/illuminate/cache.git", - "reference": "e91341f67300b776225fce66920a30c1379a8266" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/cache/zipball/e91341f67300b776225fce66920a30c1379a8266", - "reference": "e91341f67300b776225fce66920a30c1379a8266", - "shasum": "" - }, - "require": { - "illuminate/support": "4.2.*", - "nesbot/carbon": "~1.0", - "php": ">=5.4.0" - }, - "require-dev": { - "illuminate/database": "4.2.*", - "illuminate/encryption": "4.2.*", - "illuminate/filesystem": "4.2.*", - "illuminate/redis": "4.2.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Cache": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-07-20 12:44:38" - }, - { - "name": "illuminate/config", - "version": "v4.2.7", - "target-dir": "Illuminate/Config", - "source": { - "type": "git", - "url": "https://github.com/illuminate/config.git", - "reference": "03de040d413800bd3c672a484202bc8b355b6f9b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/config/zipball/03de040d413800bd3c672a484202bc8b355b6f9b", - "reference": "03de040d413800bd3c672a484202bc8b355b6f9b", - "shasum": "" - }, - "require": { - "illuminate/filesystem": "4.2.*", - "illuminate/support": "4.2.*", - "php": ">=5.4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Config": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-07-15 11:11:21" - }, - { - "name": "illuminate/container", - "version": "v4.2.7", - "target-dir": "Illuminate/Container", - "source": { - "type": "git", - "url": "https://github.com/illuminate/container.git", - "reference": "33f3dbfc21eafa2a71f64c156955e618142afc3c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/container/zipball/33f3dbfc21eafa2a71f64c156955e618142afc3c", - "reference": "33f3dbfc21eafa2a71f64c156955e618142afc3c", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Container": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-07-18 22:26:34" - }, - { - "name": "illuminate/cookie", - "version": "v4.2.7", - "target-dir": "Illuminate/Cookie", - "source": { - "type": "git", - "url": "https://github.com/illuminate/cookie.git", - "reference": "31179cf37749cb7b78a5aa5f1f45f20485467c93" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/cookie/zipball/31179cf37749cb7b78a5aa5f1f45f20485467c93", - "reference": "31179cf37749cb7b78a5aa5f1f45f20485467c93", - "shasum": "" - }, - "require": { - "illuminate/encryption": "4.2.*", - "illuminate/support": "4.2.*", - "php": ">=5.4.0", - "symfony/http-foundation": "2.5.*", - "symfony/http-kernel": "2.5.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Cookie": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-07-14 11:39:35" - }, - { - "name": "illuminate/encryption", - "version": "v4.2.7", - "target-dir": "Illuminate/Encryption", - "source": { - "type": "git", - "url": "https://github.com/illuminate/encryption.git", - "reference": "99f8e9e8735b8445f2f65af8886cb227ab790a16" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/encryption/zipball/99f8e9e8735b8445f2f65af8886cb227ab790a16", - "reference": "99f8e9e8735b8445f2f65af8886cb227ab790a16", - "shasum": "" - }, - "require": { - "illuminate/support": "4.2.*", - "php": ">=5.4.0", - "symfony/security-core": "2.5.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Encryption": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-07-15 10:07:40" - }, - { - "name": "illuminate/filesystem", - "version": "v4.2.7", - "target-dir": "Illuminate/Filesystem", - "source": { - "type": "git", - "url": "https://github.com/illuminate/filesystem.git", - "reference": "568f829aebe886bbe84bcd726e1509f830d5a1b0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/filesystem/zipball/568f829aebe886bbe84bcd726e1509f830d5a1b0", - "reference": "568f829aebe886bbe84bcd726e1509f830d5a1b0", - "shasum": "" - }, - "require": { - "illuminate/support": "4.2.*", - "php": ">=5.4.0", - "symfony/finder": "2.5.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Filesystem": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-05-23 16:40:19" - }, - { - "name": "illuminate/http", - "version": "v4.2.7", - "target-dir": "Illuminate/Http", - "source": { - "type": "git", - "url": "https://github.com/illuminate/http.git", - "reference": "c462654b18d73074eb35bfc3a580c76863d2c495" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/http/zipball/c462654b18d73074eb35bfc3a580c76863d2c495", - "reference": "c462654b18d73074eb35bfc3a580c76863d2c495", - "shasum": "" - }, - "require": { - "illuminate/session": "4.2.*", - "illuminate/support": "4.2.*", - "php": ">=5.4.0", - "symfony/http-foundation": "2.5.*", - "symfony/http-kernel": "2.5.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Http": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-07-15 11:11:21" - }, - { - "name": "illuminate/routing", - "version": "v4.2.7", - "target-dir": "Illuminate/Routing", - "source": { - "type": "git", - "url": "https://github.com/illuminate/routing.git", - "reference": "686fd21309adf405be10d3b1b9586c2d52476af7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/routing/zipball/686fd21309adf405be10d3b1b9586c2d52476af7", - "reference": "686fd21309adf405be10d3b1b9586c2d52476af7", - "shasum": "" - }, - "require": { - "illuminate/container": "4.2.*", - "illuminate/http": "4.2.*", - "illuminate/session": "4.2.*", - "illuminate/support": "4.2.*", - "php": ">=5.4.0", - "symfony/http-foundation": "2.5.*", - "symfony/http-kernel": "2.5.*", - "symfony/routing": "2.5.*" - }, - "require-dev": { - "illuminate/console": "4.2.*", - "illuminate/filesystem": "4.2.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Routing": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-07-21 20:56:06" - }, - { - "name": "illuminate/session", - "version": "v4.2.7", - "target-dir": "Illuminate/Session", - "source": { - "type": "git", - "url": "https://github.com/illuminate/session.git", - "reference": "7234dd93201c358b7adcf8e4b73963f3f4de6023" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/session/zipball/7234dd93201c358b7adcf8e4b73963f3f4de6023", - "reference": "7234dd93201c358b7adcf8e4b73963f3f4de6023", - "shasum": "" - }, - "require": { - "illuminate/cache": "4.2.*", - "illuminate/cookie": "4.2.*", - "illuminate/encryption": "4.2.*", - "illuminate/support": "4.2.*", - "nesbot/carbon": "~1.0", - "php": ">=5.4.0", - "symfony/finder": "2.5.*", - "symfony/http-foundation": "2.5.*" - }, - "require-dev": { - "illuminate/console": "4.2.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Session": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-07-18 13:39:39" - }, - { - "name": "illuminate/support", - "version": "v4.2.7", - "target-dir": "Illuminate/Support", - "source": { - "type": "git", - "url": "https://github.com/illuminate/support.git", - "reference": "b3d84fa93aa3f2081a935158f860de8308d62d5a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/b3d84fa93aa3f2081a935158f860de8308d62d5a", - "reference": "b3d84fa93aa3f2081a935158f860de8308d62d5a", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "require-dev": { - "jeremeamia/superclosure": "~1.0", - "patchwork/utf8": "1.1.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Support": "" - }, - "files": [ - "Illuminate/Support/helpers.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-07-21 21:14:59" - }, - { - "name": "illuminate/translation", - "version": "v4.2.7", - "target-dir": "Illuminate/Translation", - "source": { - "type": "git", - "url": "https://github.com/illuminate/translation.git", - "reference": "03a4460dfd83154b6781a996d120b11032e7da24" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/translation/zipball/03a4460dfd83154b6781a996d120b11032e7da24", - "reference": "03a4460dfd83154b6781a996d120b11032e7da24", - "shasum": "" - }, - "require": { - "illuminate/filesystem": "4.2.*", - "illuminate/support": "4.2.*", - "php": ">=5.4.0", - "symfony/translation": "2.5.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Translation": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-07-15 11:11:21" - }, - { - "name": "nesbot/carbon", - "version": "1.10.0", - "source": { - "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "9b42a1aec56011c2ac4d75c0ddad0794762344fc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/9b42a1aec56011c2ac4d75c0ddad0794762344fc", - "reference": "9b42a1aec56011c2ac4d75c0ddad0794762344fc", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "Carbon": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Brian Nesbitt", - "email": "brian@nesbot.com", - "homepage": "http://nesbot.com" - } - ], - "description": "A simple API extension for DateTime.", - "homepage": "https://github.com/briannesbitt/Carbon", - "keywords": [ - "date", - "datetime", - "time" - ], - "time": "2014-07-18 03:44:47" - }, - { - "name": "psr/log", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b", - "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b", - "shasum": "" - }, - "type": "library", - "autoload": { - "psr-0": { - "Psr\\Log\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "time": "2012-12-21 11:40:51" - }, - { - "name": "symfony/debug", - "version": "v2.5.2", - "target-dir": "Symfony/Component/Debug", - "source": { - "type": "git", - "url": "git@github.com:symfony/Debug.git", - "reference": "a725879a4b1c0e9a242c7a0480e787cb6465cb8f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Debug/zipball/a725879a4b1c0e9a242c7a0480e787cb6465cb8f", - "reference": "a725879a4b1c0e9a242c7a0480e787cb6465cb8f", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/http-foundation": "~2.1", - "symfony/http-kernel": "~2.1" - }, - "suggest": { - "symfony/http-foundation": "", - "symfony/http-kernel": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\Debug\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Symfony Debug Component", - "homepage": "http://symfony.com", - "time": "2014-07-09 09:05:48" - }, - { - "name": "symfony/event-dispatcher", - "version": "v2.5.2", - "target-dir": "Symfony/Component/EventDispatcher", - "source": { - "type": "git", - "url": "https://github.com/symfony/EventDispatcher.git", - "reference": "2215d2ef6fd7ab24d55576a3d924df575c741762" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/2215d2ef6fd7ab24d55576a3d924df575c741762", - "reference": "2215d2ef6fd7ab24d55576a3d924df575c741762", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.0", - "symfony/dependency-injection": "~2.0", - "symfony/stopwatch": "~2.2" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\EventDispatcher\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com", - "homepage": "http://fabien.potencier.org", - "role": "Lead Developer" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony EventDispatcher Component", - "homepage": "http://symfony.com", - "time": "2014-07-09 09:05:48" - }, - { - "name": "symfony/finder", - "version": "v2.5.2", - "target-dir": "Symfony/Component/Finder", - "source": { - "type": "git", - "url": "https://github.com/symfony/Finder.git", - "reference": "576d8f69feec477067e91b6bd0367c113e76a1a0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Finder/zipball/576d8f69feec477067e91b6bd0367c113e76a1a0", - "reference": "576d8f69feec477067e91b6bd0367c113e76a1a0", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\Finder\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com", - "homepage": "http://fabien.potencier.org", - "role": "Lead Developer" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony Finder Component", - "homepage": "http://symfony.com", - "time": "2014-07-15 14:15:12" - }, - { - "name": "symfony/http-foundation", - "version": "v2.5.2", - "target-dir": "Symfony/Component/HttpFoundation", - "source": { - "type": "git", - "url": "https://github.com/symfony/HttpFoundation.git", - "reference": "32ca1659e64bff5df61668e137bb3c3f64b7ce55" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/HttpFoundation/zipball/32ca1659e64bff5df61668e137bb3c3f64b7ce55", - "reference": "32ca1659e64bff5df61668e137bb3c3f64b7ce55", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/expression-language": "~2.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\HttpFoundation\\": "" - }, - "classmap": [ - "Symfony/Component/HttpFoundation/Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com", - "homepage": "http://fabien.potencier.org", - "role": "Lead Developer" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony HttpFoundation Component", - "homepage": "http://symfony.com", - "time": "2014-07-15 14:15:12" - }, - { - "name": "symfony/http-kernel", - "version": "v2.5.2", - "target-dir": "Symfony/Component/HttpKernel", - "source": { - "type": "git", - "url": "https://github.com/symfony/HttpKernel.git", - "reference": "bc645cd0e83008b15586dc60b6acc39fd09bcce3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/HttpKernel/zipball/bc645cd0e83008b15586dc60b6acc39fd09bcce3", - "reference": "bc645cd0e83008b15586dc60b6acc39fd09bcce3", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "psr/log": "~1.0", - "symfony/debug": "~2.5", - "symfony/event-dispatcher": "~2.5", - "symfony/http-foundation": "~2.4" - }, - "require-dev": { - "symfony/browser-kit": "~2.2", - "symfony/class-loader": "~2.1", - "symfony/config": "~2.0", - "symfony/console": "~2.2", - "symfony/dependency-injection": "~2.0", - "symfony/finder": "~2.0", - "symfony/process": "~2.0", - "symfony/routing": "~2.2", - "symfony/stopwatch": "~2.2", - "symfony/templating": "~2.2" - }, - "suggest": { - "symfony/browser-kit": "", - "symfony/class-loader": "", - "symfony/config": "", - "symfony/console": "", - "symfony/dependency-injection": "", - "symfony/finder": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\HttpKernel\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com", - "homepage": "http://fabien.potencier.org", - "role": "Lead Developer" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony HttpKernel Component", - "homepage": "http://symfony.com", - "time": "2014-07-15 15:39:46" - }, - { - "name": "symfony/routing", - "version": "v2.5.2", - "target-dir": "Symfony/Component/Routing", - "source": { - "type": "git", - "url": "https://github.com/symfony/Routing.git", - "reference": "24d5f003a794894513d67c888181ba8c3b8e0693" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Routing/zipball/24d5f003a794894513d67c888181ba8c3b8e0693", - "reference": "24d5f003a794894513d67c888181ba8c3b8e0693", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "doctrine/annotations": "~1.0", - "psr/log": "~1.0", - "symfony/config": "~2.2", - "symfony/expression-language": "~2.4", - "symfony/yaml": "~2.0" - }, - "suggest": { - "doctrine/annotations": "For using the annotation loader", - "symfony/config": "For using the all-in-one router or any loader", - "symfony/expression-language": "For using expression matching", - "symfony/yaml": "For using the YAML loader" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\Routing\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com", - "homepage": "http://fabien.potencier.org", - "role": "Lead Developer" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony Routing Component", - "homepage": "http://symfony.com", - "keywords": [ - "router", - "routing", - "uri", - "url" - ], - "time": "2014-07-09 09:05:48" - }, - { - "name": "symfony/security-core", - "version": "v2.5.2", - "target-dir": "Symfony/Component/Security/Core", - "source": { - "type": "git", - "url": "https://github.com/symfony/security-core.git", - "reference": "dfc7d40b0a4d2f5ccc743eba08f840743f4ea984" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/security-core/zipball/dfc7d40b0a4d2f5ccc743eba08f840743f4ea984", - "reference": "dfc7d40b0a4d2f5ccc743eba08f840743f4ea984", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "ircmaxell/password-compat": "1.0.*", - "psr/log": "~1.0", - "symfony/event-dispatcher": "~2.1", - "symfony/expression-language": "~2.4", - "symfony/http-foundation": "~2.4", - "symfony/validator": "~2.2" - }, - "suggest": { - "ircmaxell/password-compat": "For using the BCrypt password encoder in PHP <5.5", - "symfony/event-dispatcher": "", - "symfony/expression-language": "For using the expression voter", - "symfony/http-foundation": "", - "symfony/validator": "For using the user password constraint" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\Security\\Core\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com", - "homepage": "http://fabien.potencier.org", - "role": "Lead Developer" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony Security Component - Core Library", - "homepage": "http://symfony.com", - "time": "2014-06-23 07:34:27" - }, - { - "name": "symfony/translation", - "version": "v2.5.2", - "target-dir": "Symfony/Component/Translation", - "source": { - "type": "git", - "url": "https://github.com/symfony/Translation.git", - "reference": "059d57c361043f5a06eb348b9b7554213f9ab8d1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Translation/zipball/059d57c361043f5a06eb348b9b7554213f9ab8d1", - "reference": "059d57c361043f5a06eb348b9b7554213f9ab8d1", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/config": "~2.0", - "symfony/yaml": "~2.2" - }, - "suggest": { - "symfony/config": "", - "symfony/yaml": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\Translation\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com", - "homepage": "http://fabien.potencier.org", - "role": "Lead Developer" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony Translation Component", - "homepage": "http://symfony.com", - "time": "2014-07-15 14:22:44" - } - ], - "packages-dev": [ - { - "name": "illuminate/database", - "version": "v4.2.7", - "target-dir": "Illuminate/Database", - "source": { - "type": "git", - "url": "https://github.com/illuminate/database.git", - "reference": "35adb30b2b9e26222e6c0803a5643e86674f13c1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/database/zipball/35adb30b2b9e26222e6c0803a5643e86674f13c1", - "reference": "35adb30b2b9e26222e6c0803a5643e86674f13c1", - "shasum": "" - }, - "require": { - "illuminate/container": "4.2.*", - "illuminate/events": "4.2.*", - "illuminate/support": "4.2.*", - "nesbot/carbon": "~1.0", - "php": ">=5.4.0" - }, - "require-dev": { - "illuminate/cache": "4.2.*", - "illuminate/console": "4.2.*", - "illuminate/filesystem": "4.2.*", - "illuminate/pagination": "4.2.*", - "illuminate/support": "4.2.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Database": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "keywords": [ - "database", - "laravel", - "orm", - "sql" - ], - "time": "2014-07-20 23:19:36" - }, - { - "name": "illuminate/events", - "version": "v4.2.7", - "target-dir": "Illuminate/Events", - "source": { - "type": "git", - "url": "https://github.com/illuminate/events.git", - "reference": "c95614873f4e437ed7a723c1734197b51feaf991" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/events/zipball/c95614873f4e437ed7a723c1734197b51feaf991", - "reference": "c95614873f4e437ed7a723c1734197b51feaf991", - "shasum": "" - }, - "require": { - "illuminate/container": "4.2.*", - "illuminate/support": "4.2.*", - "php": ">=5.4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "psr-0": { - "Illuminate\\Events": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - } - ], - "time": "2014-06-06 13:58:46" - }, - { - "name": "mockery/mockery", - "version": "0.9.1", - "source": { - "type": "git", - "url": "https://github.com/padraic/mockery.git", - "reference": "17f63ee40ed14a8afb7ba1f0ae15cc4491d719d1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/padraic/mockery/zipball/17f63ee40ed14a8afb7ba1f0ae15cc4491d719d1", - "reference": "17f63ee40ed14a8afb7ba1f0ae15cc4491d719d1", - "shasum": "" - }, - "require": { - "lib-pcre": ">=7.0", - "php": ">=5.3.2" - }, - "require-dev": { - "hamcrest/hamcrest-php": "~1.1", - "phpunit/phpunit": "~4.0", - "satooshi/php-coveralls": "~0.7@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.9.x-dev" - } - }, - "autoload": { - "psr-0": { - "Mockery": "library/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" - }, - { - "name": "Dave Marshall", - "email": "dave.marshall@atstsolutions.co.uk", - "homepage": "http://davedevelopment.co.uk" - } - ], - "description": "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succint API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.", - "homepage": "http://github.com/padraic/mockery", - "keywords": [ - "BDD", - "TDD", - "library", - "mock", - "mock objects", - "mockery", - "stub", - "test", - "test double", - "testing" - ], - "time": "2014-05-02 12:16:45" - }, - { - "name": "phpunit/php-code-coverage", - "version": "2.0.9", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "ed8ac99ce38c3fd134128c898f7ca74665abef7f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ed8ac99ce38c3fd134128c898f7ca74665abef7f", - "reference": "ed8ac99ce38c3fd134128c898f7ca74665abef7f", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "phpunit/php-file-iterator": "~1.3.1", - "phpunit/php-text-template": "~1.2.0", - "phpunit/php-token-stream": "~1.2.2", - "sebastian/environment": "~1.0.0", - "sebastian/version": "~1.0.3" - }, - "require-dev": { - "ext-xdebug": ">=2.1.4", - "phpunit/phpunit": "~4.0.14" - }, - "suggest": { - "ext-dom": "*", - "ext-xdebug": ">=2.2.1", - "ext-xmlwriter": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], - "time": "2014-06-29 08:14:40" - }, - { - "name": "phpunit/php-file-iterator", - "version": "1.3.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb", - "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "File/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "time": "2013-10-10 15:34:57" - }, - { - "name": "phpunit/php-text-template", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/206dfefc0ffe9cebf65c413e3d0e809c82fbf00a", - "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "Text/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "time": "2014-01-30 17:20:04" - }, - { - "name": "phpunit/php-timer", - "version": "1.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/19689d4354b295ee3d8c54b4f42c3efb69cbc17c", - "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "PHP/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], - "time": "2013-08-02 07:42:54" - }, - { - "name": "phpunit/php-token-stream", - "version": "1.2.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "ad4e1e23ae01b483c16f600ff1bebec184588e32" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/ad4e1e23ae01b483c16f600ff1bebec184588e32", - "reference": "ad4e1e23ae01b483c16f600ff1bebec184588e32", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2-dev" - } - }, - "autoload": { - "classmap": [ - "PHP/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Wrapper around PHP's tokenizer extension.", - "homepage": "https://github.com/sebastianbergmann/php-token-stream/", - "keywords": [ - "tokenizer" - ], - "time": "2014-03-03 05:10:30" - }, - { - "name": "phpunit/phpunit", - "version": "4.1.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a71c4842c5fb836d8b200624583b859ec34e8a26" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a71c4842c5fb836d8b200624583b859ec34e8a26", - "reference": "a71c4842c5fb836d8b200624583b859ec34e8a26", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-json": "*", - "ext-pcre": "*", - "ext-reflection": "*", - "ext-spl": "*", - "php": ">=5.3.3", - "phpunit/php-code-coverage": "~2.0", - "phpunit/php-file-iterator": "~1.3.1", - "phpunit/php-text-template": "~1.2", - "phpunit/php-timer": "~1.0.2", - "phpunit/phpunit-mock-objects": "~2.1", - "sebastian/comparator": "~1.0", - "sebastian/diff": "~1.1", - "sebastian/environment": "~1.0", - "sebastian/exporter": "~1.0", - "sebastian/version": "~1.0", - "symfony/yaml": "~2.0" - }, - "suggest": { - "phpunit/php-invoker": "~1.1" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "", - "../../symfony/yaml/" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "http://www.phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "time": "2014-07-18 07:15:58" - }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "2.1.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "7878b9c41edb3afab92b85edf5f0981014a2713a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/7878b9c41edb3afab92b85edf5f0981014a2713a", - "reference": "7878b9c41edb3afab92b85edf5f0981014a2713a", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "phpunit/php-text-template": "~1.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.1" - }, - "suggest": { - "ext-soap": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ], - "time": "2014-06-12 07:22:15" - }, - { - "name": "sebastian/comparator", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "f7069ee51fa9fb6c038e16a9d0e3439f5449dcf2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/f7069ee51fa9fb6c038e16a9d0e3439f5449dcf2", - "reference": "f7069ee51fa9fb6c038e16a9d0e3439f5449dcf2", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "sebastian/diff": "~1.1", - "sebastian/exporter": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "http://www.github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], - "time": "2014-05-02 07:05:58" - }, - { - "name": "sebastian/diff", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "1e091702a5a38e6b4c1ba9ca816e3dd343df2e2d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/1e091702a5a38e6b4c1ba9ca816e3dd343df2e2d", - "reference": "1e091702a5a38e6b4c1ba9ca816e3dd343df2e2d", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - } - ], - "description": "Diff implementation", - "homepage": "http://www.github.com/sebastianbergmann/diff", - "keywords": [ - "diff" - ], - "time": "2013-08-03 16:46:33" - }, - { - "name": "sebastian/environment", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "79517609ec01139cd7e9fded0dd7ce08c952ef6a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/79517609ec01139cd7e9fded0dd7ce08c952ef6a", - "reference": "79517609ec01139cd7e9fded0dd7ce08c952ef6a", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "4.0.*@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], - "time": "2014-02-18 16:17:19" - }, - { - "name": "sebastian/exporter", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "1f9a98e6f5dfe0524cb8c6166f7c82f3e9ae1529" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/1f9a98e6f5dfe0524cb8c6166f7c82f3e9ae1529", - "reference": "1f9a98e6f5dfe0524cb8c6166f7c82f3e9ae1529", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "4.0.*@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net", - "role": "Lead" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - } - ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", - "keywords": [ - "export", - "exporter" - ], - "time": "2014-02-16 08:26:31" - }, - { - "name": "sebastian/version", - "version": "1.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "b6e1f0cf6b9e1ec409a0d3e2f2a5fb0998e36b43" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/b6e1f0cf6b9e1ec409a0d3e2f2a5fb0998e36b43", - "reference": "b6e1f0cf6b9e1ec409a0d3e2f2a5fb0998e36b43", - "shasum": "" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "time": "2014-03-07 15:35:33" - }, - { - "name": "symfony/yaml", - "version": "v2.5.2", - "target-dir": "Symfony/Component/Yaml", - "source": { - "type": "git", - "url": "https://github.com/symfony/Yaml.git", - "reference": "f868ecdbcc0276b6158dfbf08b9e98ce07f014e1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Yaml/zipball/f868ecdbcc0276b6158dfbf08b9e98ce07f014e1", - "reference": "f868ecdbcc0276b6158dfbf08b9e98ce07f014e1", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\Yaml\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com", - "homepage": "http://fabien.potencier.org", - "role": "Lead Developer" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony Yaml Component", - "homepage": "http://symfony.com", - "time": "2014-07-09 09:05:48" - } - ], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "platform": { - "php": ">=5.4.0" - }, - "platform-dev": [] -} diff --git a/vendor/anahkiasen/former/phpunit.xml b/vendor/anahkiasen/former/phpunit.xml index 9fd7be4d..376c42b8 100644 --- a/vendor/anahkiasen/former/phpunit.xml +++ b/vendor/anahkiasen/former/phpunit.xml @@ -10,20 +10,6 @@ stopOnFailure="false" syntaxCheck="false"> - - - - - src/Former - - src/Former/FormerServiceProvider.php - - - - tests diff --git a/vendor/anahkiasen/former/provides.json b/vendor/anahkiasen/former/provides.json deleted file mode 100644 index 8355783e..00000000 --- a/vendor/anahkiasen/former/provides.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "providers": [ - "Former\FormerServiceProvider" - ], - "aliases": [ - { - "alias": "Former", - "facade": "Former\Facades\Former" - } - ] -} diff --git a/vendor/anahkiasen/former/src/Former/Exceptions/InvalidFrameworkException.php b/vendor/anahkiasen/former/src/Former/Exceptions/InvalidFrameworkException.php new file mode 100644 index 00000000..e6c627e0 --- /dev/null +++ b/vendor/anahkiasen/former/src/Former/Exceptions/InvalidFrameworkException.php @@ -0,0 +1,34 @@ +framework = $framework; + $this->message = "Framework was not found [{$this->framework}]"; + + return $this; + } + /** + * Gets the errors object. + * + * @return string + */ + public function getFramework() + { + return $this->framework; + } +} diff --git a/vendor/anahkiasen/former/src/Former/Form/Fields/File.php b/vendor/anahkiasen/former/src/Former/Form/Fields/File.php index 1724866e..7df04c3d 100644 --- a/vendor/anahkiasen/former/src/Former/Form/Fields/File.php +++ b/vendor/anahkiasen/former/src/Former/Form/Fields/File.php @@ -71,7 +71,7 @@ public function render() ? HtmlInput::hidden('MAX_FILE_SIZE', $this->maxSize) : null; - return parent::render().$hidden; + return $hidden.parent::render(); } //////////////////////////////////////////////////////////////////// @@ -80,7 +80,7 @@ public function render() /** * Set which types of files are accepted by the file input - * + */ public function accept() { diff --git a/vendor/anahkiasen/former/src/Former/Form/Fields/Plaintext.php b/vendor/anahkiasen/former/src/Former/Form/Fields/Plaintext.php new file mode 100644 index 00000000..58655ef7 --- /dev/null +++ b/vendor/anahkiasen/former/src/Former/Form/Fields/Plaintext.php @@ -0,0 +1,27 @@ +addClass($this->app['former.framework']->getPlainTextClasses()); + $this->setId(); + + return $this->app['former.framework']->createPlainTextField($this); + } +} diff --git a/vendor/anahkiasen/former/src/Former/Form/Form.php b/vendor/anahkiasen/former/src/Former/Form/Form.php index 55bfa5c2..1c4d6319 100644 --- a/vendor/anahkiasen/former/src/Former/Form/Form.php +++ b/vendor/anahkiasen/former/src/Former/Form/Form.php @@ -1,7 +1,6 @@ setFramework($framework); + } - return new $class($this->app); + return new $returnClass($this->app); } /** @@ -367,7 +381,7 @@ public function getOption($option, $default = null) * Set an option on the config * * @param string $option - * @param string $value + * @param string $value */ public function setOption($option, $value) { diff --git a/vendor/anahkiasen/former/src/Former/FormerServiceProvider.php b/vendor/anahkiasen/former/src/Former/FormerServiceProvider.php index 980c1301..edf8e8e8 100644 --- a/vendor/anahkiasen/former/src/Former/FormerServiceProvider.php +++ b/vendor/anahkiasen/former/src/Former/FormerServiceProvider.php @@ -146,12 +146,8 @@ public function bindFormer(Container $app) // Add config namespace $app['config']->package('anahkiasen/former', __DIR__.'/../config'); - // Get framework to use - $framework = $app['config']->get('former::framework'); - - $frameworkClass = '\Former\Framework\\'.$framework; - $app->bind('former.framework', function ($app) use ($frameworkClass) { - return new $frameworkClass($app); + $app->bind('former.framework', function ($app) { + return $app['former']->getFrameworkInstance($app['config']->get('former::framework')); }); $app->singleton('former.populator', function ($app) { diff --git a/vendor/anahkiasen/former/src/Former/Framework/Nude.php b/vendor/anahkiasen/former/src/Former/Framework/Nude.php index c2a58661..5fab121c 100644 --- a/vendor/anahkiasen/former/src/Former/Framework/Nude.php +++ b/vendor/anahkiasen/former/src/Former/Framework/Nude.php @@ -79,6 +79,11 @@ public function getUneditableClasses() return null; } + public function getPlainTextClasses() + { + return null; + } + public function getFormClasses($type) { return null; @@ -115,6 +120,19 @@ public function createDisabledField(Field $field) return Input::create('text', $field->getName(), $field->getValue(), $field->getAttributes()); } + /** + * Render a plain text field + * Which fallback to a disabled field + * + * @param Field $field + * + * @return Element + */ + public function createPlainTextField(Field $field) + { + return $this->createDisabledField($field); + } + //////////////////////////////////////////////////////////////////// //////////////////////////// WRAP BLOCKS /////////////////////////// //////////////////////////////////////////////////////////////////// diff --git a/vendor/anahkiasen/former/src/Former/Framework/TwitterBootstrap.php b/vendor/anahkiasen/former/src/Former/Framework/TwitterBootstrap.php index 55326ec1..d66356c4 100644 --- a/vendor/anahkiasen/former/src/Former/Framework/TwitterBootstrap.php +++ b/vendor/anahkiasen/former/src/Former/Framework/TwitterBootstrap.php @@ -36,7 +36,7 @@ class TwitterBootstrap extends Framework implements FrameworkInterface 'link', 'primary', 'success', - 'warning' + 'warning', ); /** @@ -62,7 +62,7 @@ class TwitterBootstrap extends Framework implements FrameworkInterface 'span9', 'span10', 'span11', - 'span12' + 'span12', ); /** @@ -173,7 +173,6 @@ public function getGroupClasses() /** * Add label classes * - * * @return string An array of attributes with the label class */ public function getLabelClasses() @@ -184,7 +183,6 @@ public function getLabelClasses() /** * Add uneditable field classes * - * * @return string An array of attributes with the uneditable class */ public function getUneditableClasses() @@ -192,10 +190,15 @@ public function getUneditableClasses() return 'uneditable-input'; } + public function getPlainTextClasses() + { + return null; + } + /** * Add form class * - * @param string $type The type of form to add + * @param string $type The type of form to add * * @return string|null */ @@ -207,7 +210,6 @@ public function getFormClasses($type) /** * Add actions block class * - * * @return string */ public function getActionClasses() @@ -257,10 +259,23 @@ public function createDisabledField(Field $field) return Element::create('span', $field->getValue(), $field->getAttributes()); } + /** + * Render a plain text field + * Which fallback to a disabled field + * + * @param Field $field + * + * @return Element + */ + public function createPlainTextField(Field $field) + { + return $this->createDisabledField($field); + } + /** * Render an icon * - * @param array $attributes Its general attributes + * @param array $attributes Its general attributes * * @return string */ diff --git a/vendor/anahkiasen/former/src/Former/Framework/TwitterBootstrap3.php b/vendor/anahkiasen/former/src/Former/Framework/TwitterBootstrap3.php index 85635f80..c6a0a974 100644 --- a/vendor/anahkiasen/former/src/Former/Framework/TwitterBootstrap3.php +++ b/vendor/anahkiasen/former/src/Former/Framework/TwitterBootstrap3.php @@ -230,7 +230,11 @@ public function getFieldClasses(Field $field, $classes) // Add form-control class for text-type, textarea and select fields // As text-type is open-ended we instead exclude those that shouldn't receive the class - if (!$field->isCheckable() and !$field->isButton() and $field->getType() != 'file' and !in_array('form-control', $classes)) { + if (!$field->isCheckable() and !$field->isButton() and !in_array($field->getType(), array( + 'file', + 'plaintext', + )) and !in_array('form-control', $classes) + ) { $classes[] = 'form-control'; } @@ -250,7 +254,6 @@ public function getGroupClasses() /** * Add label classes * - * * @return string[] An array of attributes with the label class */ public function getLabelClasses() @@ -267,7 +270,6 @@ public function getLabelClasses() /** * Add uneditable field classes * - * * @return string An array of attributes with the uneditable class */ public function getUneditableClasses() @@ -275,10 +277,20 @@ public function getUneditableClasses() return ''; } + /** + * Add plain text field classes + * + * @return string An array of attributes with the plain text class + */ + public function getPlainTextClasses() + { + return 'form-control-static'; + } + /** * Add form class * - * @param string $type The type of form to add + * @param string $type The type of form to add * * @return string|null */ @@ -290,7 +302,6 @@ public function getFormClasses($type) /** * Add actions block class * - * * @return string|null */ public function getActionClasses() @@ -344,6 +355,23 @@ public function createDisabledField(Field $field) return Element::create('span', $field->getValue(), $field->getAttributes()); } + /** + * Render a plain text field + * + * @param Field $field + * + * @return Element + */ + public function createPlainTextField(Field $field) + { + $label = $field->getLabel(); + if ($label) { + $label->for(''); + } + + return Element::create('div', $field->getValue(), $field->getAttributes()); + } + //////////////////////////////////////////////////////////////////// //////////////////////////// WRAP BLOCKS /////////////////////////// //////////////////////////////////////////////////////////////////// @@ -351,7 +379,6 @@ public function createDisabledField(Field $field) /** * Wrap an item to be prepended or appended to the current field * - * * @return Element A wrapped item */ public function placeAround($item) diff --git a/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation.php b/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation.php index 619ed7cd..be17c0e7 100644 --- a/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation.php +++ b/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation.php @@ -37,7 +37,7 @@ class ZurbFoundation extends Framework implements FrameworkInterface 9 => 'nine', 10 => 'ten', 11 => 'eleven', - 12 => 'twelve' + 12 => 'twelve', ); /** @@ -123,7 +123,6 @@ public function getGroupClasses() /** * Add label classes * - * * @return string|null An array of attributes with the label class */ public function getLabelClasses() @@ -140,6 +139,11 @@ public function getUneditableClasses() return null; } + public function getPlainTextClasses() + { + return null; + } + public function getFormClasses($type) { return null; @@ -177,6 +181,19 @@ public function createDisabledField(Field $field) return Input::create('text', $field->getName(), $field->getValue(), $field->getAttributes()); } + /** + * Render a plain text field + * Which fallback to a disabled field + * + * @param Field $field + * + * @return Element + */ + public function createPlainTextField(Field $field) + { + return $this->createDisabledField($field); + } + //////////////////////////////////////////////////////////////////// //////////////////////////// WRAP BLOCKS /////////////////////////// //////////////////////////////////////////////////////////////////// @@ -186,7 +203,6 @@ public function createDisabledField(Field $field) * For Zurb we return the item and handle the wrapping in prependAppend * as wrapping is dependent on whether we're prepending or appending. * - * * @return string A wrapped item */ public function placeAround($item) diff --git a/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation4.php b/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation4.php index 5d6e4124..23fb264f 100644 --- a/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation4.php +++ b/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation4.php @@ -134,7 +134,6 @@ public function getGroupClasses() /** * Add label classes * - * * @return string|null An array of attributes with the label class */ public function getLabelClasses() @@ -151,6 +150,11 @@ public function getUneditableClasses() return null; } + public function getPlainTextClasses() + { + return null; + } + public function getFormClasses($type) { return null; @@ -188,6 +192,19 @@ public function createDisabledField(Field $field) return Input::create('text', $field->getName(), $field->getValue(), $field->getAttributes()); } + /** + * Render a plain text field + * Which fallback to a disabled field + * + * @param Field $field + * + * @return Element + */ + public function createPlainTextField(Field $field) + { + return $this->createDisabledField($field); + } + //////////////////////////////////////////////////////////////////// //////////////////////////// WRAP BLOCKS /////////////////////////// //////////////////////////////////////////////////////////////////// @@ -197,7 +214,6 @@ public function createDisabledField(Field $field) * For Zurb we return the item and handle the wrapping in prependAppend * as wrapping is dependent on whether we're prepending or appending. * - * * @return string A wrapped item */ public function placeAround($item) diff --git a/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation5.php b/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation5.php new file mode 100644 index 00000000..7cdf3d54 --- /dev/null +++ b/vendor/anahkiasen/former/src/Former/Framework/ZurbFoundation5.php @@ -0,0 +1,295 @@ +app = $app; + $this->setFrameworkDefaults(); + } + + //////////////////////////////////////////////////////////////////// + /////////////////////////// FILTER ARRAYS ////////////////////////// + //////////////////////////////////////////////////////////////////// + + public function filterButtonClasses($classes) + { + // Filter classes + $classes = array_intersect($classes, $this->buttons); + $classes[] = 'button'; + + return $classes; + } + + public function filterFieldClasses($classes) + { + return null; + } + + //////////////////////////////////////////////////////////////////// + ///////////////////// EXPOSE FRAMEWORK SPECIFICS /////////////////// + //////////////////////////////////////////////////////////////////// + + protected function setFieldWidths($labelWidths) + { + $labelWidthClass = $fieldWidthClass = $fieldOffsetClass = ''; + + $viewports = $this->getFrameworkOption('viewports'); + + foreach ($labelWidths as $viewport => $columns) { + if ($viewport) { + $labelWidthClass .= $viewports[$viewport].'-'.$columns.' '; + $fieldWidthClass .= $viewports[$viewport].'-'.(12 - $columns).' '; + $fieldOffsetClass .= $viewports[$viewport].'-offset-'.$columns.' '; + } + } + + $this->labelWidth = $labelWidthClass.'columns'; + $this->fieldWidth = $fieldWidthClass.'columns'; + $this->fieldOffset = $fieldOffsetClass.'columns'; + } + + //////////////////////////////////////////////////////////////////// + ///////////////////////////// ADD CLASSES ////////////////////////// + //////////////////////////////////////////////////////////////////// + + public function getFieldClasses(Field $field, $classes = array()) + { + if ($field->isButton()) { + $classes = $this->filterButtonClasses($classes); + } else { + $classes = $this->filterFieldClasses($classes); + } + + return $this->addClassesToField($field, $classes); + } + + public function getGroupClasses() + { + if ($this->app['former.form']->isOfType('horizontal')) { + return 'row'; + } else { + return null; + } + } + + /** + * Add label classes + * + * @return string|null An array of attributes with the label class + */ + public function getLabelClasses() + { + if ($this->app['former.form']->isOfType('horizontal')) { + return $this->getFrameworkOption('wrappedLabelClasses'); + } else { + return null; + } + } + + public function getUneditableClasses() + { + return null; + } + + public function getPlainTextClasses() + { + return null; + } + + public function getFormClasses($type) + { + return null; + } + + public function getActionClasses() + { + return null; + } + + //////////////////////////////////////////////////////////////////// + //////////////////////////// RENDER BLOCKS ///////////////////////// + //////////////////////////////////////////////////////////////////// + + public function createHelp($text, $attributes = null) + { + if (is_null($attributes) or empty($attributes)) { + $attributes = $this->getFrameworkOption('error_classes'); + } + + return Element::create('small', $text, $attributes); + } + + /** + * Render a disabled field + * + * @param Field $field + * + * @return Input + */ + public function createDisabledField(Field $field) + { + $field->disabled(); + + return Input::create('text', $field->getName(), $field->getValue(), $field->getAttributes()); + } + + /** + * Render a plain text field + * Which fallback to a disabled field + * + * @param Field $field + * + * @return Element + */ + public function createPlainTextField(Field $field) + { + return $this->createDisabledField($field); + } + + //////////////////////////////////////////////////////////////////// + //////////////////////////// WRAP BLOCKS /////////////////////////// + //////////////////////////////////////////////////////////////////// + + /** + * Wrap an item to be prepended or appended to the current field. + * For Zurb we return the item and handle the wrapping in prependAppend + * as wrapping is dependent on whether we're prepending or appending. + * + * @return string A wrapped item + */ + public function placeAround($item) + { + return $item; + } + + /** + * Wrap a field with prepended and appended items + * + * @param Field $field + * @param array $prepend + * @param array $append + * + * @return string A field concatented with prepended and/or appended items + */ + public function prependAppend($field, $prepend, $append) + { + $return = '
    '; + + foreach ($prepend as $item) { + $return .= '
    '.$item.'
    '; + } + + $return .= '
    '.$field->render().'
    '; + + foreach ($append as $item) { + $return .= '
    '.$item.'
    '; + } + + $return .= '
    '; + + return $return; + } + + /** + * Wraps all label contents with potential additional tags. + * + * @param string $label + * + * @return string A wrapped label + */ + public function wrapLabel($label) + { + if ($this->app['former.form']->isOfType('horizontal')) { + return Element::create('div', $label)->addClass($this->labelWidth); + } else { + return $label; + } + } + + /** + * Wraps all field contents with potential additional tags. + * + * @param Field $field + * + * @return Element A wrapped field + */ + public function wrapField($field) + { + if ($this->app['former.form']->isOfType('horizontal')) { + return Element::create('div', $field)->addClass($this->fieldWidth); + } else { + return $field; + } + } + + /** + * Wrap actions block with potential additional tags + * + * @param Actions $actions + * + * @return string A wrapped actions block + */ + public function wrapActions($actions) + { + return $actions; + } +} diff --git a/vendor/anahkiasen/former/src/Former/Interfaces/FrameworkInterface.php b/vendor/anahkiasen/former/src/Former/Interfaces/FrameworkInterface.php index 1615279c..d54f0bda 100644 --- a/vendor/anahkiasen/former/src/Former/Interfaces/FrameworkInterface.php +++ b/vendor/anahkiasen/former/src/Former/Interfaces/FrameworkInterface.php @@ -46,7 +46,6 @@ public function getGroupClasses(); /** * Add label classes * - * * @return array An array of attributes with the label class */ public function getLabelClasses(); @@ -54,15 +53,21 @@ public function getLabelClasses(); /** * Add uneditable field classes * - * * @return array An array of attributes with the uneditable class */ public function getUneditableClasses(); + /** + * Add plain text field classes + * + * @return array An array of attributes with the plain text class + */ + public function getPlainTextClasses(); + /** * Add form class * - * @param string $type The type of form to add + * @param string $type The type of form to add * * @return array */ @@ -71,7 +76,6 @@ public function getFormClasses($type); /** * Add actions block class * - * * @return array */ public function getActionClasses(); @@ -95,10 +99,19 @@ public function createHelp($text, $attributes = array()); */ public function createDisabledField(Field $field); + /** + * Render a plain text field + * + * @param Field $field + * + * @return string + */ + public function createPlainTextField(Field $field); + /** * Render an icon * - * @param array $attributes Its attributes + * @param array $attributes Its attributes * * @return string */ diff --git a/vendor/anahkiasen/former/src/Former/LiveValidation.php b/vendor/anahkiasen/former/src/Former/LiveValidation.php index aa4203bf..79b22544 100644 --- a/vendor/anahkiasen/former/src/Former/LiveValidation.php +++ b/vendor/anahkiasen/former/src/Former/LiveValidation.php @@ -216,6 +216,7 @@ public function between($between) /** * Set accepted mime types + * * @param string[] $mimes */ public function mimes($mimes) diff --git a/vendor/anahkiasen/former/src/Former/MethodDispatcher.php b/vendor/anahkiasen/former/src/Former/MethodDispatcher.php index 501ebe45..a26738dd 100644 --- a/vendor/anahkiasen/former/src/Former/MethodDispatcher.php +++ b/vendor/anahkiasen/former/src/Former/MethodDispatcher.php @@ -77,9 +77,7 @@ public function toMacros($method, $parameters) $callback = $this->app['former']->getMacro($method); if ($callback instanceof Closure) { return call_user_func_array($callback, $parameters); - } - - // Cancel if the macro is invalid + } // Cancel if the macro is invalid elseif (!is_string($callback)) { return false; } @@ -214,10 +212,15 @@ public function toFields($method, $parameters) protected function getClassFromMethod($method) { // If the field's name directly match a class, call it - $class = Str::singular(Str::title($method)); + $class = Str::singular(Str::title($method)); + $studly_class = Str::singular(Str::studly($method)); foreach ($this->repositories as $repository) { - if (class_exists($repository.$class)) { - return $repository.$class; + if (class_exists($repository.$studly_class)) { + return $repository.$studly_class; + } else { + if (class_exists($repository.$class)) { + return $repository.$class; + } } } diff --git a/vendor/anahkiasen/former/src/Former/Traits/Checkable.php b/vendor/anahkiasen/former/src/Former/Traits/Checkable.php index 81be10b4..efd7a5e0 100644 --- a/vendor/anahkiasen/former/src/Former/Traits/Checkable.php +++ b/vendor/anahkiasen/former/src/Former/Traits/Checkable.php @@ -135,7 +135,8 @@ public function render() return $this->createCheckable(array( 'name' => $this->name, 'label' => $this->text, - 'value' => $this->value + 'value' => $this->value, + 'attributes' => $this->attributes, )); } @@ -256,7 +257,7 @@ public function check($checked = true) //////////////////////////////////////////////////////////////////// /** - * Creates a serie of checkable items + * Creates a series of checkable items * * @param array $_items Items to create */ @@ -323,7 +324,7 @@ protected function items($_items) * Renders a checkable * * @param string|array $item A checkable item - * @param integer $fallbackValue A fallback value if none is set + * @param integer $fallbackValue A fallback value if none is set * * @return string */ @@ -346,6 +347,10 @@ protected function createCheckable($item, $fallbackValue = 1) // If inline items, add class $isInline = $this->inline ? ' '.$this->app['former.framework']->getInlineLabelClass($this) : null; + // In Bootsrap 3, don't append the the checkable type (radio/checkbox) as a class if + // rendering inline. + $class = $this->app['former']->framework() == 'TwitterBootstrap3' ? trim($isInline) : $this->checkable.$isInline; + // Merge custom attributes with global attributes $attributes = array_merge($this->attributes, $attributes); if (!isset($attributes['id'])) { @@ -367,10 +372,22 @@ protected function createCheckable($item, $fallbackValue = 1) // If no label to wrap, return plain checkable if (!$label) { - return (is_object($field)) ? $field->render() : $field; + $element = (is_object($field)) ? $field->render() : $field; + } else { + $element = Element::create('label', $field.$label)->for($attributes['id'])->class($class)->render(); + } + + // If BS3, if checkables are stacked, wrap them in a div with the checkable type + if (!$isInline && $this->app['former']->framework() == 'TwitterBootstrap3') { + $wrapper = Element::create('div', $element)->class($this->checkable); + if ($this->getAttribute('disabled')) { + $wrapper->addClass('disabled'); + } + $element = $wrapper->render(); } - return Element::create('label', $field.$label)->for($attributes['id'])->class($this->checkable.$isInline); + // Return the field + return $element; } //////////////////////////////////////////////////////////////////// @@ -454,7 +471,7 @@ protected function isChecked($item = null, $value = null) // Search using the bare name, not the individual item name $post = $this->app['former']->getPost($this->name); - $static = $this->app['former']->getValue($this->name); + $static = $this->app['former']->getValue($this->bind ?: $this->name); if (isset($post[$groupIndex])) { $post = $post[$groupIndex]; @@ -464,7 +481,7 @@ protected function isChecked($item = null, $value = null) } } else { $post = $this->app['former']->getPost($name); - $static = $this->app['former']->getValue($name); + $static = $this->app['former']->getValue($this->bind ?: $name); } if (!is_null($post) and $post !== $this->app['former']->getOption('unchecked_value')) { diff --git a/vendor/anahkiasen/former/src/Former/Traits/Field.php b/vendor/anahkiasen/former/src/Former/Traits/Field.php index ecd7cd47..9f700063 100644 --- a/vendor/anahkiasen/former/src/Former/Traits/Field.php +++ b/vendor/anahkiasen/former/src/Former/Traits/Field.php @@ -58,6 +58,13 @@ abstract class Field extends FormerObject implements FieldInterface */ protected $isSelfClosing = true; + /** + * The field's bind destination + * + * @var string + */ + protected $bind; + /** * Get the current framework instance * @@ -113,6 +120,7 @@ public function __construct(Container $app, $type, $name, $label, $value, $attri /** * Redirect calls to the group if necessary + * * @param string $method */ public function __call($method, $parameters) @@ -235,7 +243,7 @@ public function getRules() /** * Apply a Live Validation rule by chaining * - * @param string $rule The rule + * @param string $rule The rule */ public function rule($rule) { @@ -327,6 +335,20 @@ public function getLabel() return $this->label; } + /** + * Change the field's bind destination + * + * @param $destination + */ + public function bind($destination) { + $this->bind = $destination; + if ($this->type != 'password') { + $this->value = $this->repopulate(); + } + + return $this; + } + //////////////////////////////////////////////////////////////////// //////////////////////////////// HELPERS /////////////////////////// //////////////////////////////////////////////////////////////////// @@ -339,7 +361,7 @@ private function repopulate($fallback = null) // Get values from POST, populated, and manually set value $post = $this->app['former']->getPost($this->name); $populator = $this->form ? $this->form->getPopulator() : $this->app['former.populator']; - $populate = $populator->get($this->name); + $populate = $populator->get($this->bind ?: $this->name); // Assign a priority to each if (!is_null($post)) { diff --git a/vendor/anahkiasen/former/src/Former/Traits/FormerObject.php b/vendor/anahkiasen/former/src/Former/Traits/FormerObject.php index ecb5ddf0..d4f51465 100644 --- a/vendor/anahkiasen/former/src/Former/Traits/FormerObject.php +++ b/vendor/anahkiasen/former/src/Former/Traits/FormerObject.php @@ -147,7 +147,6 @@ public function setType($type) /** * Check if an object is of a certain type * - * * @return boolean */ public function isOfType() diff --git a/vendor/anahkiasen/former/src/Former/Traits/Framework.php b/vendor/anahkiasen/former/src/Former/Traits/Framework.php index b8a9121d..af9a4db9 100644 --- a/vendor/anahkiasen/former/src/Former/Traits/Framework.php +++ b/vendor/anahkiasen/former/src/Former/Traits/Framework.php @@ -147,7 +147,6 @@ public function errorState() return 'error'; } - /** * Returns corresponding inline class of a field * @@ -189,7 +188,7 @@ protected function setIconDefaults() /** * Render an icon * - * @param array $attributes Its general attributes + * @param array $attributes Its general attributes * * @return string */ @@ -248,7 +247,7 @@ protected function prependWith($classes, $with) /** * Create a label for a field * - * @param Field $field + * @param Field $field * @param Element $label The field label if non provided * * @return string A label diff --git a/vendor/anahkiasen/former/src/Laravel/File.php b/vendor/anahkiasen/former/src/Laravel/File.php index 3c469f10..dce59d3f 100644 --- a/vendor/anahkiasen/former/src/Laravel/File.php +++ b/vendor/anahkiasen/former/src/Laravel/File.php @@ -94,7 +94,7 @@ class File 'xht' => 'application/xhtml+xml', 'xhtml' => 'application/xhtml+xml', 'xl' => 'application/excel', - 'xls' => array('application/excel', 'application/vnd.ms-excel', 'application/msexcel'), + 'xls' => array('application/vnd.ms-excel', 'application/excel', 'application/msexcel'), 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xml' => 'text/xml', 'xsl' => 'text/xml', diff --git a/vendor/anahkiasen/former/src/config/TwitterBootstrap3.php b/vendor/anahkiasen/former/src/config/TwitterBootstrap3.php index 65811b7e..b4aed72f 100644 --- a/vendor/anahkiasen/former/src/config/TwitterBootstrap3.php +++ b/vendor/anahkiasen/former/src/config/TwitterBootstrap3.php @@ -4,21 +4,19 @@ //////////////////////////////////////////////////////////////////// // Map Former-supported viewports to Bootstrap 3 equivalents - 'viewports' => array( + 'viewports' => array( 'large' => 'lg', 'medium' => 'md', 'small' => 'sm', 'mini' => 'xs', ), - // Width of labels for horizontal forms expressed as viewport => grid columns 'labelWidths' => array( 'large' => 2, 'small' => 4, ), - // HTML markup and classes used by Bootstrap 3 for icons - 'icon' => array( + 'icon' => array( 'tag' => 'span', 'set' => 'glyphicon', 'prefix' => 'glyphicon', diff --git a/vendor/anahkiasen/former/src/config/ZurbFoundation.php b/vendor/anahkiasen/former/src/config/ZurbFoundation.php index 58e89f5b..793fe369 100644 --- a/vendor/anahkiasen/former/src/config/ZurbFoundation.php +++ b/vendor/anahkiasen/former/src/config/ZurbFoundation.php @@ -4,31 +4,27 @@ //////////////////////////////////////////////////////////////////// // Map Former-supported viewports to Foundation 3 equivalents - 'viewports' => array( + 'viewports' => array( 'large' => '', 'medium' => null, 'small' => 'mobile-', 'mini' => null, ), - // Width of labels for horizontal forms expressed as viewport => grid columns - 'labelWidths' => array( + 'labelWidths' => array( 'large' => 2, 'small' => 4, ), - // Classes to be applied to wrapped labels in horizontal forms - 'wrappedLabelClasses' => array('right','inline'), - + 'wrappedLabelClasses' => array('right', 'inline'), // HTML markup and classes used by Foundation 3 for icons - 'icon' => array( - 'tag' => 'i', - 'set' => null, + 'icon' => array( + 'tag' => 'i', + 'set' => null, 'prefix' => 'fi', ), - - // CSS for inline validation errors - // should work for Zurb 2 and 3 - 'error_classes' => array('class' => 'alert-box alert error') + // CSS for inline validation errors + // should work for Zurb 2 and 3 + 'error_classes' => array('class' => 'alert-box alert error'), ); diff --git a/vendor/anahkiasen/former/src/config/ZurbFoundation4.php b/vendor/anahkiasen/former/src/config/ZurbFoundation4.php index 8ebfd10e..80e95a4f 100644 --- a/vendor/anahkiasen/former/src/config/ZurbFoundation4.php +++ b/vendor/anahkiasen/former/src/config/ZurbFoundation4.php @@ -6,29 +6,25 @@ // Map Former-supported viewports to Foundation 4 equivalents // Foundation 4 also has an experimental "medium" breakpoint // explained at http://foundation.zurb.com/docs/components/grid.html - 'viewports' => array( + 'viewports' => array( 'large' => 'large', 'medium' => null, 'small' => 'small', 'mini' => null, ), - // Width of labels for horizontal forms expressed as viewport => grid columns - 'labelWidths' => array( + 'labelWidths' => array( 'small' => 3, ), - // Classes to be applied to wrapped labels in horizontal forms - 'wrappedLabelClasses' => array('right','inline'), - + 'wrappedLabelClasses' => array('right', 'inline'), // HTML markup and classes used by Foundation 4 for icons - 'icon' => array( + 'icon' => array( 'tag' => 'i', 'set' => 'general', 'prefix' => 'foundicon', ), - - // CSS for inline validation errors - 'error_classes' => array('class' => 'alert-box radius warning') + // CSS for inline validation errors + 'error_classes' => array('class' => 'alert-box radius warning'), ); diff --git a/vendor/anahkiasen/former/src/config/ZurbFoundation5.php b/vendor/anahkiasen/former/src/config/ZurbFoundation5.php new file mode 100644 index 00000000..829fc6b8 --- /dev/null +++ b/vendor/anahkiasen/former/src/config/ZurbFoundation5.php @@ -0,0 +1,28 @@ + array( + 'large' => 'large', + 'medium' => null, + 'small' => 'small', + 'mini' => null, + ), + // Width of labels for horizontal forms expressed as viewport => grid columns + 'labelWidths' => array( + 'small' => 3, + ), + // Classes to be applied to wrapped labels in horizontal forms + 'wrappedLabelClasses' => array('right', 'inline'), + // HTML markup and classes used by Foundation 5 for icons + 'icon' => array( + 'tag' => 'i', + 'set' => null, + 'prefix' => 'fi', + ), + // CSS for inline validation errors + 'error_classes' => array('class' => 'error'), + +); diff --git a/vendor/anahkiasen/former/src/config/config.php b/vendor/anahkiasen/former/src/config/config.php index 1bb8d4a4..b716829e 100644 --- a/vendor/anahkiasen/former/src/config/config.php +++ b/vendor/anahkiasen/former/src/config/config.php @@ -1,63 +1,66 @@ true, + // Whether labels should be automatically computed from name + 'automatic_label' => true, - // The default form type - 'default_form_type' => 'horizontal', + // The default form type + 'default_form_type' => 'horizontal', - // The framework to be used by Former - 'framework' => 'TwitterBootstrap', + // The framework to be used by Former + 'framework' => 'TwitterBootstrap', - // Validation - //////////////////////////////////////////////////////////////////// + // Validation + //////////////////////////////////////////////////////////////////// - // Whether Former should fetch errors from Session - 'fetch_errors' => true, + // Whether Former should fetch errors from Session + 'fetch_errors' => true, - // Whether Former should try to apply Validator rules as attributes - 'live_validation' => true, + // Whether Former should try to apply Validator rules as attributes + 'live_validation' => true, - // Whether Former should automatically fetch error messages and - // display them next to the matching fields - 'error_messages' => true, + // Whether Former should automatically fetch error messages and + // display them next to the matching fields + 'error_messages' => true, - // Checkables - //////////////////////////////////////////////////////////////////// + // Checkables + //////////////////////////////////////////////////////////////////// - // Whether checkboxes should always be present in the POST data, - // no matter if you checked them or not - 'push_checkboxes' => false, + // Whether checkboxes should always be present in the POST data, + // no matter if you checked them or not + 'push_checkboxes' => false, - // The value a checkbox will have in the POST array if unchecked - 'unchecked_value' => 0, + // The value a checkbox will have in the POST array if unchecked + 'unchecked_value' => 0, - // Required fields - //////////////////////////////////////////////////////////////////// + // Required fields + //////////////////////////////////////////////////////////////////// - // The class to be added to required fields - 'required_class' => 'required', + // The class to be added to required fields + 'required_class' => 'required', - // A facultative text to append to the labels of required fields - 'required_text' => '*', + // A facultative text to append to the labels of required fields + 'required_text' => '*', - // Translations - //////////////////////////////////////////////////////////////////// + // Translations + //////////////////////////////////////////////////////////////////// - // Where Former should look for translations - 'translate_from' => 'validation.attributes', + // Where Former should look for translations + 'translate_from' => 'validation.attributes', - // Whether text that comes out of the translated - // should be capitalized (ex: email => Email) automatically - 'capitalize_translations' => true, + // Whether text that comes out of the translated + // should be capitalized (ex: email => Email) automatically + 'capitalize_translations' => true, - // An array of attributes to automatically translate - 'translatable' => array( - 'help', 'inlineHelp', 'blockHelp', - 'placeholder', 'data_placeholder', - 'label' - ), + // An array of attributes to automatically translate + 'translatable' => array( + 'help', + 'inlineHelp', + 'blockHelp', + 'placeholder', + 'data_placeholder', + 'label', + ), ); diff --git a/vendor/anahkiasen/former/tests/Fields/CheckboxTest.php b/vendor/anahkiasen/former/tests/Fields/CheckboxTest.php index edc4e368..ef10636e 100644 --- a/vendor/anahkiasen/former/tests/Fields/CheckboxTest.php +++ b/vendor/anahkiasen/former/tests/Fields/CheckboxTest.php @@ -22,29 +22,53 @@ class CheckboxTest extends FormerTests * * @return string */ - private function matchCheckbox($name = 'foo', $label = null, $value = 1, $inline = false, $checked = false) - { + private function matchCheckbox( + $name = 'foo', + $label = null, + $value = 1, + $inline = false, + $checked = false, + $disabled = false + ) { $checkAttr = array( - 'id' => $name, - 'type' => 'checkbox', - 'name' => $name, - 'checked' => 'checked', - 'value' => $value, + 'disabled' => 'true', + 'id' => $name, + 'type' => 'checkbox', + 'name' => $name, + 'checked' => 'checked', + 'value' => $value, ); $labelAttr = array( 'for' => $name, 'class' => 'checkbox', ); if ($inline) { - $labelAttr['class'] .= $this->former->framework() === 'TwitterBootstrap3' ? ' checkbox-inline' : ' inline'; + if ($this->former->framework() === 'TwitterBootstrap3') { + $labelAttr['class'] = 'checkbox-inline'; + } else { + $labelAttr['class'] .= ' inline'; + } } if (!$checked) { unset($checkAttr['checked']); } + if (!$disabled) { + unset($checkAttr['disabled']); + } $radio = 'attributes($checkAttr).'>'; - return $label ? 'attributes($labelAttr).'>'.$radio.$label.'' : $radio; + if (!$inline && $this->former->framework() === 'TwitterBootstrap3') { + unset($labelAttr['class']); + } + + $control = $label ? 'attributes($labelAttr).'>'.$radio.$label.'' : $radio; + + if (!$inline && $this->former->framework() === 'TwitterBootstrap3') { + $control = '
    '.$control.'
    '; + } + + return $control; } /** @@ -144,6 +168,20 @@ public function testCanCreateStackedCheckboxes() $this->assertEquals($matcher, $checkboxes2); } + public function testCanCreateStackedCheckboxesTwitterBootstrap3() + { + + $this->former->framework('TwitterBootstrap3'); + + $checkboxes1 = $this->former->stacked_checkboxes('foo')->checkboxes('foo', 'bar')->__toString(); + $this->resetLabels(); + $checkboxes2 = $this->former->checkboxes('foo')->stacked()->checkboxes('foo', 'bar')->__toString(); + $matcher = $this->formGroup($this->matchCheckbox('foo_0', 'Foo', 1).$this->matchCheckbox('foo_1', 'Bar', 1)); + + $this->assertEquals($matcher, $checkboxes1); + $this->assertEquals($matcher, $checkboxes2); + } + public function testCanCreateMultipleCheckboxesViaAnArray() { $this->resetLabels(); @@ -208,9 +246,9 @@ public function testCanCheckOneInSeveralCheckboxes() public function testCanCheckMultipleCheckboxesAtOnce() { $checkboxes = $this->former->checkboxes('foo')->checkboxes('foo', 'bar')->check(array( - 'foo_0' => false, - 'foo_1' => true - ))->__toString(); + 'foo_0' => false, + 'foo_1' => true, + ))->__toString(); $matcher = $this->controlGroup($this->matchCheckbox('foo_0', 'Foo').$this->matchCheckedCheckbox('foo_1', 'Bar', 1)); $this->assertEquals($matcher, $checkboxes); @@ -521,4 +559,54 @@ public function testCanPushCheckboxesWithoutLabels() $this->assertInternalType('string', $html); } + + public function testDisabled() + { + $checkbox = $this->former->checkbox('foo')->disabled()->__toString(); + $matcher = $this->controlGroup($this->matchCheckbox('foo', null, 1, false, false, true)); + $this->assertEquals($matcher, $checkbox); + } + + public function testDisabledStackedBS3() + { + $this->former->framework('TwitterBootstrap3'); + $checkbox = $this->former->checkbox('foo')->disabled()->__toString(); + $matcher = $this->formGroup($this->matchCheckbox('foo', null, 1, false, false, true)); + $this->assertEquals($matcher, $checkbox); + } + + public function testToStringMagicMethodShouldOnlyReturnString() + { + $this->former->group(); + $output = $this->former->checkbox('foo')->text('bar').''; + $this->former->closeGroup(); + } + + public function testCanBeManualyDefinied() + { + $checkbox = $this->former->checkbox('foo', null, 'foo', ['value' => 'bar'])->__toString(); + $matcher = $this->controlGroup(''); + + $this->assertEquals($matcher, $checkbox); + } + + public function testCanBeManualyDefiniedAndRepopulated() + { + $this->former->populate(array('foo' => 'bar')); + $checkbox = $this->former->checkbox('foo', null, 'foo', ['value' => 'bar'])->__toString(); + $matcher = $this->controlGroup(''); + + $this->assertEquals($matcher, $checkbox); + } + + public function testShouldNotBeCheckedIfHisValueIsManualyChanged() + { + $this->former->populate(array('foo' => 'foo')); + $checkbox = $this->former->checkbox('foo', null, 'foo', ['value' => 'bar'])->__toString(); + $matcher = $this->controlGroup(''); + + $this->assertEquals($matcher, $checkbox); + } + + } diff --git a/vendor/anahkiasen/former/tests/Fields/InputTest.php b/vendor/anahkiasen/former/tests/Fields/InputTest.php index c28cd809..95ae4b16 100644 --- a/vendor/anahkiasen/former/tests/Fields/InputTest.php +++ b/vendor/anahkiasen/former/tests/Fields/InputTest.php @@ -255,9 +255,9 @@ public function testCanCreateDatalist() public function testCanCreateDatalistCustomList() { $datalist = $this->former->text('foo')->list('bar')->useDatalist(array( - 'foo' => 'bar', - 'kel' => 'tar' - ))->__toString(); + 'foo' => 'bar', + 'kel' => 'tar', + ))->__toString(); $matcher = '
    '. ''. diff --git a/vendor/anahkiasen/former/tests/Fields/PlainTextTest.php b/vendor/anahkiasen/former/tests/Fields/PlainTextTest.php new file mode 100644 index 00000000..2943008c --- /dev/null +++ b/vendor/anahkiasen/former/tests/Fields/PlainTextTest.php @@ -0,0 +1,124 @@ + 'label', + 'attributes' => array('for' => 'foo'), + ); + } + + /** + * Matches a plain label without 'for' attribute + * + * @return array + */ + public function matchPlainLabelWithBS3() + { + return array( + 'tag' => 'label', + ); + } + + /** + * Matches an plain text fallback input + * Which is a disabled input + * + * @return array + */ + public function matchPlainTextFallbackInput() + { + return array( + 'tag' => 'input', + 'attributes' => array( + 'disabled' => 'true', + 'type' => 'text', + 'name' => 'foo', + 'value' => 'bar', + 'id' => 'foo', + ), + ); + } + + /** + * Matches an plain text input as a p tag + * + * @return array + */ + public function matchPlainTextInput() + { + return array( + 'tag' => 'div', + 'content' => 'bar', + 'attributes' => array( + 'class' => 'form-control-static', + ), + ); + } + + //////////////////////////////////////////////////////////////////// + ////////////////////////////// ASSERTIONS ////////////////////////// + //////////////////////////////////////////////////////////////////// + + /** + * Matches a Form Static Group + * + * @param string $input + * @param string $label + * + * @return boolean + */ + protected function formStaticGroup( + $input = '
    bar
    ', + $label = '' + ) { + return $this->formGroup($input, $label); + } + + //////////////////////////////////////////////////////////////////// + //////////////////////////////// TESTS ///////////////////////////// + //////////////////////////////////////////////////////////////////// + + public function testCanCreatePlainTextFallbackInputFields() + { + $this->former->framework('Nude'); + $nude = $this->former->plaintext('foo')->value('bar')->__toString(); + + $this->assertHTML($this->matchPlainLabel(), $nude); + $this->assertHTML($this->matchPlainTextFallbackInput(), $nude); + + $this->resetLabels(); + $this->former->framework('ZurbFoundation'); + $zurb = $this->former->plaintext('foo')->value('bar')->__toString(); + + $this->assertHTML($this->matchPlainLabel(), $zurb); + $this->assertHTML($this->matchPlainTextFallbackInput(), $zurb); + } + + public function testCanCreatePlainTextFieldsWithBS3() + { + $this->former->framework('TwitterBootstrap3'); + $input = $this->former->plaintext('foo')->value('bar')->__toString(); + + $this->assertHTML($this->matchPlainLabelWithBS3(), $input); + $this->assertHTML($this->matchPlainTextInput(), $input); + + $matcher = $this->formStaticGroup(); + $this->assertEquals($matcher, $input); + } +} diff --git a/vendor/anahkiasen/former/tests/Fields/RadioTest.php b/vendor/anahkiasen/former/tests/Fields/RadioTest.php index 68051398..8b058764 100644 --- a/vendor/anahkiasen/former/tests/Fields/RadioTest.php +++ b/vendor/anahkiasen/former/tests/Fields/RadioTest.php @@ -21,29 +21,53 @@ class RadioTest extends FormerTests * * @return string */ - private function matchRadio($name = 'foo', $label = null, $value = 1, $inline = false, $checked = false) - { + private function matchRadio( + $name = 'foo', + $label = null, + $value = 1, + $inline = false, + $checked = false, + $disabled = false + ) { $radioAttr = array( - 'id' => $name, - 'type' => 'radio', - 'name' => preg_replace('/[0-9]/', null, $name), - 'checked' => 'checked', - 'value' => $value, + 'disabled' => 'true', + 'id' => $name, + 'type' => 'radio', + 'name' => preg_replace('/[0-9]/', null, $name), + 'checked' => 'checked', + 'value' => $value, ); $labelAttr = array( 'for' => $name, 'class' => 'radio', ); if ($inline) { - $labelAttr['class'] .= $this->former->framework() === 'TwitterBootstrap3' ? ' radio-inline' : ' inline'; + if ($this->former->framework() === 'TwitterBootstrap3') { + $labelAttr['class'] = 'radio-inline'; + } else { + $labelAttr['class'] .= ' inline'; + } } if (!$checked) { unset($radioAttr['checked']); } + if (!$disabled) { + unset($radioAttr['disabled']); + } $radio = 'attributes($radioAttr).'>'; - return $label ? 'attributes($labelAttr).'>'.$radio.$label.'' : $radio; + if (!$inline && $this->former->framework() === 'TwitterBootstrap3') { + unset($labelAttr['class']); + } + + $control = $label ? 'attributes($labelAttr).'>'.$radio.$label.'' : $radio; + + if (!$inline && $this->former->framework() === 'TwitterBootstrap3') { + $control = '
    '.$control.'
    '; + } + + return $control; } /** @@ -135,6 +159,21 @@ public function testStacked() $this->assertEquals($matcher, $radios2); } + public function testStackedTwitterBootstrap3() + { + + $this->former->framework('TwitterBootstrap3'); + + $radios1 = $this->former->stacked_radios('foo')->radios('foo', 'bar')->__toString(); + $this->resetLabels(); + $radios2 = $this->former->radios('foo')->stacked()->radios('foo', 'bar')->__toString(); + + $matcher = $this->formGroup($this->matchRadio('foo', 'Foo', 0).$this->matchRadio('foo2', 'Bar', 1)); + + $this->assertEquals($matcher, $radios1); + $this->assertEquals($matcher, $radios2); + } + public function testMultipleArray() { $radios = $this->former->radios('foo')->radios(array('Foo' => 'foo', 'Bar' => 'bar'))->__toString(); @@ -222,9 +261,9 @@ public function testCheckMultiple() public function testCheckMultipleCustom() { $radios = $this->former->radios('foo')->radios($this->radioCheckables)->check(array( - 'foo' => true, - 'bar' => false - ))->__toString(); + 'foo' => true, + 'bar' => false, + ))->__toString(); $matcher = $this->controlGroup( '