chore: sync content to repo (#10077)

Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-06-15 13:45:18 +02:00
committed by GitHub
co-authored by nilbuild
parent a613f04fd0
commit eeb9fb3a7f
4 changed files with 10 additions and 10 deletions
@@ -1,9 +1,8 @@
# Laravel
# Yii
Laravel is a robust, elegant PHP framework perfect for web application development, providing developers with a lot of features that boost productivity. Laravel leverages the power of PHP for handling complex tasks such as routing, sessions, caching, and authentication, making it much simpler and quicker for PHP developers to build applications. Laravel's MVC architecture promotes clean, DRY code and separates business logic from UI which significantly improves scalability as well as ease of maintenance.
Yii is a high-performance, package-based PHP framework for developing modern applications. It provides a full set of proven, ready-to-use features including caching, logging, a template engine, data abstraction, validation, authentication and authorization, routing, a middleware pipeline, a dependency injection container, database access via query builder and Active Record, migrations, event handling, and console tools. It's especially suitable for developing large-scale applications such as portals, content management systems, e-commerce, REST APIs, etc.
Visit the following resources to learn more:
- [@official@Laravel](https://laravel.com/)
- [@official@Laravel Installation](https://laravel.com/docs/11.x/installation)
- [@official@Laravel Documentation](https://laravel.com/docs)
- [@official@Yii Docs](https://yiisoft.github.io/docs/)
- [@official@Demo Applications](https://yiisoft.github.io/docs/guide/start/demo-apps.html)
@@ -6,6 +6,7 @@ Memory Management is a crucial part of PHP performance optimization. Efficient m
echo memory_get_usage(); // Outputs: 514576
unset($string);
echo memory_get_usage(); // Outputs: 346672
In this example, memory usage decreases after the `$string` variable is unset. This occurs because `unset()` decreases the reference count, and when it reaches zero, the memory associated with the variable is freed and returned to PHP’s internal memory manager.
@@ -15,4 +16,4 @@ Avoiding unnecessary data storage and leveraging built-in PHP functions can help
Visit the following resources to learn more:
- [@official@Memory Management](https://www.php.net/manual/en/features.gc.php)
- [@official@Memory Management](https://www.php.net/manual/en/features.gc.php)
@@ -1,8 +1,8 @@
# Style Tools
Style Tools in PHP are primarily coding standard tools that help maintain a consistent coding style throughout your PHP project. PHP_CodeSniffer is a popular tool in this category. It tokenizes PHP, JavaScript, and CSS files and detects violations of a defined set of coding standards. A brief example of PHP_CodeSniffer usage would be to run it in the command line like this: `phpcs /path/to/code/myfile.php`. Other tools, such as PHP CS Fixer, can automatically correct coding standard violations.
Style Tools in PHP are primarily coding standard tools that help maintain a consistent coding style throughout your PHP project. PHP\_CodeSniffer is a popular tool in this category. It tokenizes PHP, JavaScript, and CSS files and detects violations of a defined set of coding standards. A brief example of PHP\_CodeSniffer usage would be to run it in the command line like this: `phpcs /path/to/code/myfile.php`. Other tools, such as PHP CS Fixer, can automatically correct coding standard violations.
Visit the following resources to learn more:
- [@article@PHP code quality tools](https://www.jetbrains.com/help/phpstorm/php-code-quality-tools.html)
- [@opensource@PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer/)
- [@opensource@PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer/)
- [@article@PHP code quality tools](https://www.jetbrains.com/help/phpstorm/php-code-quality-tools.html)
@@ -15,4 +15,4 @@ In this example, the function 'add' only accepts integers and also returns an in
Visit the following resources to learn more:
- [@official@Type Declarations](https://www.php.net/manual/en/language.types.declarations.php)
- [@official@Type Declarations](https://www.php.net/manual/en/language.types.declarations.php)