diff --git a/src/data/roadmaps/php/content/laravel@zsscRQZIq5o0JZir9hlz-.md b/src/data/roadmaps/php/content/laravel@zsscRQZIq5o0JZir9hlz-.md index 599769573..32ac9e543 100644 --- a/src/data/roadmaps/php/content/laravel@zsscRQZIq5o0JZir9hlz-.md +++ b/src/data/roadmaps/php/content/laravel@zsscRQZIq5o0JZir9hlz-.md @@ -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) \ No newline at end of file +- [@official@Yii Docs](https://yiisoft.github.io/docs/) +- [@official@Demo Applications](https://yiisoft.github.io/docs/guide/start/demo-apps.html) \ No newline at end of file diff --git a/src/data/roadmaps/php/content/memory-management@bt7dK2PcOZ72B9HXPyMwL.md b/src/data/roadmaps/php/content/memory-management@bt7dK2PcOZ72B9HXPyMwL.md index 31ed7f4ca..6dcbeb3dc 100644 --- a/src/data/roadmaps/php/content/memory-management@bt7dK2PcOZ72B9HXPyMwL.md +++ b/src/data/roadmaps/php/content/memory-management@bt7dK2PcOZ72B9HXPyMwL.md @@ -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) \ No newline at end of file diff --git a/src/data/roadmaps/php/content/style-tools@6eWgZVLV479oQzl0fu-Od.md b/src/data/roadmaps/php/content/style-tools@6eWgZVLV479oQzl0fu-Od.md index 3eb7ce873..73edc3365 100644 --- a/src/data/roadmaps/php/content/style-tools@6eWgZVLV479oQzl0fu-Od.md +++ b/src/data/roadmaps/php/content/style-tools@6eWgZVLV479oQzl0fu-Od.md @@ -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/) \ No newline at end of file +- [@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) \ No newline at end of file diff --git a/src/data/roadmaps/php/content/type-declarations@sPW-Ti2VyNYzxq6EYkbn7.md b/src/data/roadmaps/php/content/type-declarations@sPW-Ti2VyNYzxq6EYkbn7.md index b2eb9cf9b..447da3162 100644 --- a/src/data/roadmaps/php/content/type-declarations@sPW-Ti2VyNYzxq6EYkbn7.md +++ b/src/data/roadmaps/php/content/type-declarations@sPW-Ti2VyNYzxq6EYkbn7.md @@ -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) \ No newline at end of file