Skip to content

PHPExcel rotate column chart labels

I´m testing the 33chartcreate-column.php example from PHPExcel library example.The code is: <?php /** Error reporting */ error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('…

Manually register a user in Laravel

Is it possible to manually register a user (with artisan?) rather than via the auth registration page? I only need a handful of user accounts and wondered if there’s a way to create these without having to set up the registration controllers and views. Answer I think you want to do this once-off, so the…

Custom defined routes not resolving in Laravel

I have a Laravel 5.2 instance utilizing all the typical out-of-the-box routes for dashboard, cases, home, login/logout, and users (which is working well). I now need to create a wizard with steps (step1, step2, step3, etc.), and I need access to the session. I assigned them to the group middleware. However, w…

Set max_execution_time for specific controller in symfony2

Using ini_set(), I can expand the maximum execution time of a script. In Symfony2, I can add ini_set to web/app.php and web/app_dev.php to apply the increased execution time to all controllers. But in this case, I only want to expand the maximum execution time for one specific controller action in Symfony2. I…

LARAVEL how to change $fillable in Model from trait?

I have in model: use seoTrait; protected $fillable = [ ‘name’, ‘title’, ‘description’ ]; I created trait “seoTrait” which need “seoMeta” in $fillable. Now I add : protected $fillable = [ ‘…