Skip to content

staark-dev/php-blog

Repository files navigation

PHP Blog

Clean PHP Open Source without framework

Demo & Preview

Main Page Main Page

Language Used

  • PHP (82.6%)
  • HTML (16.8%)
  • Shell (0.6%)
  • CSS
  • Bootstrap Framework
  • Javascript

Future

  • Fasted Route System
  • Template System
  • Language System
  • Theme System

Install

Coming soon

Template Engine Usage

Extends / Blocks

{% (extends|include) layout %}

{% yield block_name %}

{% block name %} {% endblock; %}

PHP Tags

{% php code %}

{% foreach($item as $key): %} debug {% endforeach; %}

{% if($item): %} debug {% endif; %}

{% if($item): %} debug {% else/elseif: %} {% endif; %}

{% var_dump($func) %}

{{ $func }} # echo func

{{{ $func }}} # stripes echos

URL/Lang Support

{{ url_to('url') }}

{{ lang('lang_item') }}

{{ site_url() }}

{{ THEMES_PATH }}

{{ page_title }}

{{ url_from('url', [array]) }}

Parts Includes

{% parts part_name %}

License

  • MIT