Download targeted Informix Client SDK
Extract the installer:
$ tar -xvf filename.tar
Install the Client SDK:
#!/usr/bin/env bash | |
if [ $# -eq 0 ] | |
then | |
echo "Please supply the date. eg. 2019-01-01" | |
exit 1; | |
fi | |
SINCE=$1 | |
UNTIL=$2 |
composer update | |
# can improvise this. If there's new packages, do add and commit. | |
git add . | |
git commit -m "Update dependencies" |
rm bootstrap/cache/*.php | |
composer dumpautoload -o | |
php artisan reload:cache |
vendor/bin/php-cs-fixer fix | |
# can improvise this to check if there's changes on files, do add. else ignore. | |
git add . | |
git commit -m "Apply PHP CS Fixer" |
#!/bin/bash | |
composer install | |
if [ ! -f .env ]; then | |
cp .env.example .env | |
php artisan key:generate | |
else | |
echo ".env file already created." | |
fi |
<?php | |
namespace App\Models; | |
use App\Contracts\Datatable as DatatableContract; | |
use App\Traits\HasDatatable; | |
use App\Traits\HasMediaExtended; | |
use App\Traits\SelectOptionTrait; | |
use App\Traits\WithDetailsTrait; | |
use Illuminate\Database\Eloquent\Model; |
<?php | |
collect( | |
glob(base_path('/routes/web/*.php')) | |
)->each(function ($path) { | |
require $path; | |
}); |
<?php | |
namespace App\Console\Commands\Reload; | |
use Illuminate\Console\Command; | |
class ReloadCacheCommand extends Command | |
{ | |
/** | |
* The name and signature of the console command. |
Download targeted Informix Client SDK
Extract the installer:
$ tar -xvf filename.tar
Install the Client SDK: