- A lightweight object-oriented PHP framework!
- Author: Marko Vodanović
- still in development, no stable release :(
mkdir ~/www/example && cd ~/www/example
(create an empty directory & enter it)git clone https://github.com/mvodanovic/WebFW.git webfw
(checkout the framework in the webfw/ directory)cp -R __install/* .
(copy everything from the __install/ directory to the current directory; don't forget the dot)sudo vim /etc/apache/sites_available/example.conf
(setup the web server with the public/ directory as document root)sudo a2ensite example && sudo service apache2 reload
(activate the new web site)- in browser -> example.com -> A hello world page
<VirtualHost *:80>
ServerName mysite.com
DocumentRoot /var/www/mysite/public
<Directory /var/www/mysite/public>
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/mysite.error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/mysite.access.log combined
</VirtualHost>
- Note: This is only an example configuration, please take care to adapt it accordingly to suit your needs!