Skip to content

onurmio/GuGu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GuGu Framework

You can use this framework for easy start to mvc.

The GuGu file structure must be like this

Application
│
├── system
│    ├── controllers
│    │   └── exampleController.php
│    │   └── others...
│    │    
│    ├── core
│    │    ├── config.php
│    │    ├── controller.php
│    │    ├── core.php
│    │    ├── model.php
│    │    └── view.php
│    │     
│    ├── models
│    │   ├── exampleModel.php
│    │   └── others...
│    │    
│    ├── modules
│    │   ├── system
│    │   └── others...
│    │    
│    └── views
│        ├── layout.html
│        └── others...
│       
├── index.php
│
└──config.json

Config.json

config.json file example.

{
  "URL": "http://localhost",
  "DATABASE": {
    "HOST": "localhost",
    "NAME": "database",
    "CHARSET": "utf8",
    "USER": "root",
    "PASSWORD": "root"
  },
  "MAIL": {
    "HOST": "example.com",
    "PORT": 465,
    "SECURITY_PROTOCOL":"ssl",
    "LANG_CODE": "tr",
    "CHARSET": "utf-8",
    "ADDRESS": "[email protected]",
    "PASSWORD": "pass"
    },
  "DEFAULTS":{
    "CLASS":"main",
    "ACTION":"show",
    "LAYOUT":"layout.html"
  }
}

About

GuGu Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published