Clone the repository to your directory, or Download framework on github as ZIP and then extract from archive.


Go to app/config/config.php and edit the file to suitable your choice.

File: config.php

There is default example for config.php in Seme Framework.

$site = "http://".$_SERVER['HTTP_HOST']."/";


Change content of site variabel and then add slash on the last

Default value is "http://".$_SERVER['HTTP_HOST']."/".


If under default XAMPP config PATH_INFO is your best choice. But if in your production server, usually use REQUEST_URI.

This configuration will depend on .htaccess file.

Htaccess configuration

If you using apache web server, the apache configuration is the most important to working with this framework. Default configuration:

RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]