Wednesday, April 22, 2015

Work with Laravel ViewComposer

This video will help you to work correctly with Laravel ViewComposer
Thank laracasts.com for sharing

https://laracasts.com/series/laravel-5-fundamentals/episodes/25


Wednesday, April 1, 2015

Create folder with Laravel Filesystem

Cách tạo một cây thư mục đơn giản với Laravel Filesystem
Sử dụng hàm: File::makeDirectory()

Ví dụ:
Để tạo 1 folder với chmod default
$result = File::makeDirectory('/path/to/directory');

Hoặc để tạo 1 cây thư mục với chmod 0755
$result = File::makeDirectory('/path/to/directory', 0775, true);