sjeguedes / phpblog

Minimalist PHP Blog system and MVC structure

Repository from Github https://github.comsjeguedes/phpblogRepository from Github https://github.comsjeguedes/phpblog

phpblog

Minimalist PHP Blog system and MVC structure

Codacy Badge

  • Use "Web/" directory as your document root (routes and assets) to set used domain or subdomain
  • Define PSR-4 Composer autoloader in composer.json and update it (look at file content)
  • Add these components in composer.json with PHP Composer in "Libs/" (look at file content):
    • twig/twig
    • symfony/yaml
    • google/recaptcha
    • phpmailer/phpmailer
    • voku/urlify
    • ezyang/htmlpurifier
  • Add also these components to improve code quality (only for development):
    • squizlabs/php_codesniffer
    • phpmd/phpmd
    • friendsofphp/php-cs-fixer
  • Rename "Core/Config/config-example.yml" into "Core/Config/config.yml" and declare your own parameters
  • Add your own CV resume pdf file in "Web/assets/files/" defined in config.yml
  • Minify CSS and JS files for production

About

Minimalist PHP Blog system and MVC structure


Languages

Language:PHP 41.8%Language:JavaScript 20.7%Language:CSS 20.5%Language:Smarty 17.0%