jonahlyn / unmit

Files and instructions necessary to setup a Laravel-based application development in UNM IT Apps environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel-based development starter files

This includes files and instructions necessary to setup a Laravel-based application development in UNM IT Apps environment.

As of 2020-10-28, this is applicable for Laravel 8.x.

Installation

Prerequisite

Install runkit7

$ sudo pecl install channel://pecl.php.net/runkit7-4.0.0a2

Using them in Laravel application project folder

  1. Copy OracleModel.php to ./app folder
  2. Run composer dump-autoload

Usage

When creating models (e.g. ./app/MyModel.php)

namespace App;

use App\OracleModel;

class MyModel extends OracleModel
{
}

./resources/models/MyModel.yaml

connection: oracle
table: szvabcd
timestamps: false
incrementing: false
dataIdentifiers:
	id:
		desc_name: SBGI Code
		col_name: szvabcd_sbgi_code
	dist_code:
		desc_name: District Code
		col_name: szvabcd_dist_code

About

Files and instructions necessary to setup a Laravel-based application development in UNM IT Apps environment.


Languages

Language:JavaScript 38.9%Language:CSS 26.8%Language:PHP 15.6%Language:Blade 13.8%Language:SCSS 3.3%Language:Shell 1.7%