25 ม.ค. 2560

How To Install Laravel 5 Framework on Ubuntu 12.04 LTS

Credit : This article is copied from http://tecadmin.net/

Step 1 – Install LAMP

To start with Laravel, we first need to set up a running LAMP server. If you have already running LAMP stack skip this step else use followings commands to set up lamp on Ubuntu system.

Install PHP 5.6

$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt-get update
$ sudo apt-get install -y php5.6 php5.6-mcrypt php5.6-gd

Install Apache2

Laravel 5.3 - import export csv and excel file into database

Credit : This article is copied from http://itsolutionstuff.com/
Step 1: Install Laravel 5.3 Application
In this step, if you haven't laravel 5.3 application setup then we have to get fresh laravel 5.3 application. So run bellow command and get clean fresh laravel 5.3 application.
composer create-project --prefer-dist laravel/laravel blog
Step 2: Install Package

Laravel 5 - generate PDF from html view file and download using dompdf

Credit : This article is copied from http://itsolutionstuff.com/
Step 1: Installation
In first step we have to download laravel-dompdf plugin for generate pdf file from view blade file. So first run bellow command in your terminal:
composer require barryvdh/laravel-dompdf
Now open config/app.php file and add service provider and aliase.

9 ม.ค. 2560

มุด tor

คัดลอกมาจากเว็บ https://www.unzeen.com/article/3361/  ของคุณ Mr.Khwanchai Kaewyos (LookHin)

เพื่อเก็บบันทึกไว้