歡迎加入我的 LINE ID: easter1021
在網路上參考幾份文件,最終選擇使用 Sergey Metlov 的範例,以下內容是我實作時遇到的問題以及詳解。
此篇文章執行的作業系統為
Windows 7
學習時間 10 分鐘
歡迎加入我的 LINE ID: easter1021
在網路上參考幾份文件,最終選擇使用 Sergey Metlov 的範例,以下內容是我實作時遇到的問題以及詳解。
此篇文章執行的作業系統為
Windows 7
學習時間 10 分鐘
// 建立 instance | |
$token = ''; | |
$MailChimp = new \Drewm\MailChimp($token); | |
// 取得電子報資源 | |
$tmp = $MailChimp->call('campaigns/list', $params['args']); | |
// $tmp['data'] 是電子報列表 | |
$campaigns = $tmp['data']; |
<?php | |
// Hi, I am Charles<mufasa.hsu@gmail.com> | |
// let's go... | |
namespace App; | |
use Exception; | |
class DemoClass |
### 城市搜尋器 | |
link: https://github.com/rinvex/country | |
version: `5.1.*|5.2.*|5.3.*` |
<?php | |
namespace VendorName\Space; | |
use Illuminate\Support\ServiceProvider; | |
class TasksServiceProvider extends ServiceProvider | |
{ | |
public function boot() | |
{ |
歡迎加入Laravel大本營,本文提供入門者快速有效(沒癈話)的環境設定。
已經會裝環境的人可以跳過本文。
再強調一下,如果可以 最完整的中文說明文件還是在官網 https://laravel.tw/docs/5.2
開發環境如下:
<script type="text/javascript"> | |
$(function () { | |
$("#user_success").on('submit', function(){ | |
var message = ""; | |
var emptyValue = false; | |
var name = $('[name="name"]', $(this)).val(); | |
var area = $('select[name="area"] option:selected', $(this)).val(); | |
var time = $('select[name="time"] option:selected', $(this)).val(); | |
var email = $('[name="email"]', $(this)).val(); | |
var phone = $('[name="phone"]', $(this)).val(); |
<?php | |
/** | |
* table info: | |
* CREATE TABLE examples | |
* ( | |
* `id` integer PRIMARY KEY, | |
* `enable` TINYINT(1) default 1, | |
* ); | |
* | |
*/ |
<?php | |
/** | |
* Alias 用戶關注的資料表 | |
*/ | |
class TargetUser extends User | |
{ | |
static $table_name = "users"; | |
} |
// will be error. | |
$ sudo gem install rmagick -v '2.13.1' | |
// If you want to compile or install your own RMagick, you should install the following libraries in your system: | |
$ sudo apt-get install libbz2-dev libxt-dev libxext-dev | |
// Then remove the following file if exists: | |
$ sudo rm /opt/bitnami/common/lib/libbz2.a | |
// And finally you can install RMagick |