SMTS_Base
a php framework
Installation
-
Download the framework from github, you can find the most recent version on the releases tab.
-
Unzip
Smts_Base-version.zip
and place theframework
folder into your web-root, for exampleC:/xampp/htdocs/
. -
Optionally, change the
framework
folder to your project name. -
Edit the following lines in your
base/config.php
file:DefaultTitle
,BaseUrl
,DataBaseName
,DataBaseUser
,DataBasePassword
.For more information on what you should change them to, see the wiki.
-
Run the database setup at
/dev/setup
, this will create the database and add some default users.
Usage
For detailed guides, and information about all classes and funtionality see the wiki.
Directory Structure
framework/ Framework code
framework/base Supporting code
framework/base/core Core framework code
framework/base/helpers Helper classes
framework/base/i18n Translation files
framework/base/validators Validator classes
framework/assets Images, js- and css-files
framework/controllers Controller files
framework/models Model files
framework/views View files
framework/modules Module files