This tutorial will show you how to create a online shop with alipay payment function in laravel framwork. Install Laravel and installing other dependencies. Content Laravel E-Commerce with Alipay Dualfun Develope Part I - Creating Database Objects Laravel E-Commerce with…
Custom Pagination in Laravel
Views // paginator.blade.php <?php $presenter = new Illuminate\Pagination\BootstrapPresenter($paginator); $trans = $environment->getTranslator(); if ($paginator->getLastPage() > 1): /* How many pages need to be shown before and after the current page */ $showBeforeAndAfter = 3; /* Current Page */ $currentPage = $paginator->getCurrentPage();…
Laravel Ajax Multiple Image Upload and Preview
This is post talk about ajax multiple image upload and preview with Dropzone.js in Laravel 4, and store file info in database. Dropzone.js comes with nice CSS and Javascript that make it a breeze to work with HTML 5 file…
Reslove Homebrew Error: SHA256 mismatch
Today, I got Error: SHA256 mismatch when update php ==> Upgrading php55 ==> Downloading http://www.php.net/get/php-5.5.11.tar.bz2/from/this/mirror ######################################################################## 100.0% Error: SHA256 mismatch Expected: 60e14c255f2a461a7a26639b84a2fc448cc2f91c8dead0e9fd00cd8ba27a2e96 Actual: be28ddc5b7276c3b39d645d2df09ab44f07ec9103c77c5a9b710be30bfc3c9fc Archive: /Library/Caches/Homebrew/php55-5.5.11 To retry an incomplete download, remove the file above. Download link appears to be…