Monthly Archives: February 2015

Blade Template Doesn’t Work in Laravel 5

No, that’s not true the Blade Template is still working in Laravel 5, but its tag directive has been changed. For some of you who don’t read the Laravel development change log may not know about this. The documentation said that “For better security by default, Laravel 5.0 escapes all output from both the {{ […]

How to Add Form Class in Laravel 5

Many of you will question about the error like HandleExceptions->fatalExceptionFromError( array(‘type’ => ‘1’, ‘message’ => ‘Class ‘Form’ not found’ or FatalErrorException in 193a332e9290704ad006bafdbd047286 line 2: Class ‘Form’ not found. Hmm, you must be just upgrading your Laravel 4 to Laravel 5 weren’t you? Laravel 5 doesn’t include the Form class like the previous version. It […]

How to Change public To public_html On Laravel 5 Ubuntu

Laravel 5 has different level from previous version. It becomes simpler and it has different file structure. That was making me confused at the first time when I was trying to migrate from previous version. The odd is bootstrap/paths.php doesn’t exist anymore. Now, how do I set the public folder of my project to desired […]

Count Number of Files and Folders in a Directory Using Terminal

I Googled so much and can’t find any simpler method to count files or folders in a directory in Linux. I am using Ubuntu 14.04. If it’s only files and folders, it would be simple. Count Files and Folders $ ls -l | wc -l The wc -l command is read “WordCount lines”. It means […]