5.2 user Carbon
發表於 : 2016-12-25 16:04:40
http://stackoverflow.com/questions/3599 ... ation-wide
http://laravel5-book.kejyun.com/package ... arbon.html
config/app.php
add 2 month
http://laravel5-book.kejyun.com/package ... arbon.html
config/app.php
代碼: 選擇全部
//provider
'Carbon' => Carbon\Carbon::class,
代碼: 選擇全部
use Carbon;
Carbon::now()->addMonths(2);