Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

bayurifkialghifari/GudFramework-psr4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GUD-FRAMEWORK-PHP

  • Composer

composer create-project "gud/framework:dev-master"

  • Installation
  1. Download

git clone https://github.com/BayuRifkiAlghifari/GUD-FRAMEWORK-PHP.git or Download on this repository

  1. Base URL Configuration

Open config.php in app/config/config.php then change according to the name of your project name

<?php
	const base_url 	= 'http://localhost/Your Folder Name/';
?>
  1. Database Configuration

Open database.php in app/config/database.php then change according to your database configuration

<?php
	const db_name = 'YOUR DATABASE NAME';
	const db_host = 'localhost';
	const db_user = 'root';
	const db_pass = 'YOUR DATABASE PASSWORD';
?>
  1. Composer
	composer dump-autoload
	composer install
  1. Finish

Ready to use

  • Features
  1. Routing
  2. Email
  3. File upload
  4. ORM Model
  5. Query Builder
  6. PSR 4 Autoloadings