PHP Package: friendsoftwig/twigcs

Twigcs is a PHP library that provides SEO-optimized Twig coding standards and best practices for Symfony projects.

Current Version: 6.5.0
Last Updated: 2024-11-27
PHP Requirement: ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
Dependencies:
twig/twig
symfony/symfony
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Twigcs is a PHP library that enforces SEO-optimized coding standards for Twig templates in Symfony projects. It ensures clean, maintainable, and SEO-friendly code by checking for best practices and common mistakes. By integrating Twigcs in your workflow, you can enhance your SEO strategy and improve the overall quality of your Symfony applications.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 6.5.0

Download Download v6.5.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/friendsoftwig/twigcs/6.5.0/loader.php';
require_once 'libs/twig/twig/{lib_version}/loader.php';
require_once 'libs/symfony/symfony/7.3.4/loader.php';

use Friendsoftwig\Twigcs\Twigcs;

$obj = new Twigcs();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.