Skip to content
This repository has been archived by the owner on Aug 24, 2020. It is now read-only.
/ strayTwig Public archive

DEPRECATED - see RocknRoot/strayFw

License

Notifications You must be signed in to change notification settings

RocknRoot/strayTwig

Repository files navigation

Twig rendering for strayFw

Build Status

strayFw is a PHP framework trying to be modern without following fashion, between full-featured frameworks and micro-frameworks.

This repository is a Twig adapter for strayFw.

Code is free, new-BSD license. So... fork us !

Requirements

  • PHP >= 7.0
  • PHP >= 7.1 for development (phpstan)

Get started

$ php composer.phar require rocknroot/stray-twig

Need help ?

You can add an issue on github ! ;)

Contribute

Technical considerations

The framework follows these standards :

Static analysis

$ vendor/bin/phpstan analyse src --level 2

Coding standards

$ curl -L http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -o php-cs-fixer.phar
$ php php-cs-fixer.phar fix src/RocknRoot/StrayFw --rules='{"@PSR2": true,"no_trailing_comma_in_singleline_array":true,"no_singleline_whitespace_before_semicolons":true,"concat_space":{"spacing":"one"},"no_unused_imports":true,"no_whitespace_in_blank_line":true,"ordered_imports":true,"blank_line_after_opening_tag":true,"declare_equal_normalize":{"space":"single"},"function_typehint_space":true,"hash_to_slash_comment":true,"lowercase_cast":true,"method_separation":true,"native_function_casing":true,"no_blank_lines_after_class_opening":true,"no_blank_lines_after_phpdoc":true,"no_leading_import_slash":true,"no_leading_namespace_whitespace":true,"no_mixed_echo_print":{"use":"echo"}}'

About

DEPRECATED - see RocknRoot/strayFw

Resources

License

Stars

Watchers

Forks

Languages