All posts in Laravel

Create laravel project

composer create-project laravel/laravel app_deskvn bash createsubdomain.sh create desk.vn /var/www/app_deskvn/public chown -R www-data:www-data app_deskvn   Hoặc dùng craftable composer global require “brackets/craftable-installer” craftable new my_project Nếu báo lỗi craftable: command not found tức là chưa đặt path, chạy: export PATH=~/.composer/vendor/bin:$PATH