Category Archives: Development
Laravel Datatable with json data
Prepare the view with table and javascript Laravel Controller
Installing Laravel in OSX
Installing Laravel in OSX is not difficult, just follow the steps below Install Homebrew For the latest install command, visit http://brew.sh Install PHP with Homebrew Find PHP 7 Install PHP 7.3 Install mcrypt Install MySQL Install Composer Visit https://getcomposer.org Click … Continue reading
Backup script with rotation
Found a nice backup script that with daily, weekly monthly rotationhttps://github.com/ccztux/glsysbackup I use this script to backup my work files and kids photos that stored in Synology NAS, below is the configuration that I use. Always have a few copies … Continue reading
Laravel session storage in redis
Redis provide a better performance compare to file storage for your session driver, the following show how it can be done. Setting up redis configuration, edit config/database.php,in redis section add session option and adjust database number accordingly. Edit config/session.php to use redis and connect to … Continue reading
Laravel using Flysystem accessing AWS S3 storage
With the package Flysystem, we could easily access files stored in AWS S3 Config edit the config file in /config/filesystems.php, change the AWS key pair accordingly Installing Amazon S3 Driver Before using the S3 storage, package has to be installed … Continue reading