{"id":21141980,"url":"https://github.com/ag-sanjjeev/php-notes","last_synced_at":"2025-03-14T13:15:57.292Z","repository":{"id":262774231,"uuid":"856791105","full_name":"ag-sanjjeev/PHP-Notes","owner":"ag-sanjjeev","description":"This repository contains PHP topics and their notes to learn from beginner level to advanced level.","archived":false,"fork":false,"pushed_at":"2025-02-17T09:46:43.000Z","size":225,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T10:31:46.492Z","etag":null,"topics":["advanced-topics","core-concepts","database-integration","fundamentals","learn-php","notes","object-oriented-programming","php","php-notes"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ag-sanjjeev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/security-best-practices.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-13T08:00:58.000Z","updated_at":"2025-02-17T09:46:47.000Z","dependencies_parsed_at":"2024-11-14T08:17:33.234Z","dependency_job_id":"7a96edc0-8624-42af-9cd1-7d9c4a11616a","html_url":"https://github.com/ag-sanjjeev/PHP-Notes","commit_stats":null,"previous_names":["ag-sanjjeev/php-notes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ag-sanjjeev%2FPHP-Notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ag-sanjjeev%2FPHP-Notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ag-sanjjeev%2FPHP-Notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ag-sanjjeev%2FPHP-Notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ag-sanjjeev","download_url":"https://codeload.github.com/ag-sanjjeev/PHP-Notes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243581093,"owners_count":20314167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advanced-topics","core-concepts","database-integration","fundamentals","learn-php","notes","object-oriented-programming","php","php-notes"],"created_at":"2024-11-20T07:39:40.050Z","updated_at":"2025-03-14T13:15:56.871Z","avatar_url":"https://github.com/ag-sanjjeev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP NOTES\n\nThis repository contains PHP topics and their notes to learn from beginner level to advanced level.\n\n*Refer the below contents, To kick start the learning of important concepts in PHP for web application development. which gives you __step by step__ approach to the concepts.*\n\\\n\u0026nbsp;\n\n## \u0026#9776; CONTENTS \n\n### Fundamentals\n1. [Introduction:](./introduction.md)\n\t- [What is PHP?](./introduction.md#-what-is-php)\n\t- [History and evolution](./introduction.md#-history-and-evolution)\n\t- [Role in Web Development](./introduction.md#-role-in-web-development)\n\t- [Benefits of Using PHP](./introduction.md#-benefits-of-using-php)\n2. [Basic Syntax:](./docs/basic-syntax.md)\n\t- [Variables](./docs/basic-syntax.md#-variables)\n\t- [Data Types](./docs/basic-syntax.md#-data-types)\n\t- [Strings](./docs/basic-syntax.md#-strings)\n\t- [Operators](./docs/basic-syntax.md#-operators)\n3. [Display Statements:](./docs/display-statements.md)\n\t- [Echo Statement](./docs/display-statements.md#-echo-statement)\n\t- [Print Statement](./docs/display-statements.md#-print-statement)\n\t- [Multi-line Printing](./docs/display-statements.md#-multi-line-printing)\n\t- [Printf Function](./docs/display-statements.md#-printf-function)\n\t- [Sprintf Function](./docs/display-statements.md#-sprintf-function)\n\t- [Print_r Function](./docs/display-statements.md#-print_r-function)\n\t- [Var_dump Function](./docs/display-statements.md#-var_dump-function)\n\t- [Vprintf Function](./docs/display-statements.md#-vprintf-function)\n\t- [Vsprintf Function](./docs/display-statements.md#-vsprintf-function)\n\t- [Comparison Among Statements](./docs/display-statements.md#-comparison-among-statements)\n4. [Comments:](./docs/comments.md)\n\t- [Single Line Comments](./docs/comments.md#-single-line-comments)\n\t- [Multi Line Comments](./docs/comments.md#-multi-line-comments)\n\t- [Doc Comments](./docs/comments.md#-doc-comments)\n\t- [Hash Comments](./docs/comments.md#-hash-comments)\n5. [Control flow:](./docs/control-flow.md)\n\t- [If Else Statements](./docs/control-flow.md#-if-else-statements)\n\t- [Nested If Else Statements](./docs/control-flow.md#-nested-if-else-statements)\n\t- [Switch Statements](./docs/control-flow.md#-switch-statements)\n6. [Functions:](./docs/functions.md)\n\t- [Function Definition](./docs/functions.md#-function-definition)\n\t- [Function Calling](./docs/functions.md#-function-calling)\n\t- [Function Arguments and Parameters](./docs/functions.md#-function-arguments-and-parameters)\n\t- [Function Return Values](./docs/functions.md#-function-return-values)\n\t- [Pass by Value](./docs/functions.md#-pass-by-value)\n\t- [Pass by Reference](./docs/functions.md#-pass-by-reference)\n\t- [Scope of Variables](./docs/functions.md#-scope-of-variables)\n\t- [Variable Length Argument Lists](./docs/functions.md#-variable-length-argument-lists)\n\t- [Anonymous Functions](./docs/functions.md#-anonymous-functions)\n\t- [Recursion](./docs/functions.md#-recursion)\n\t- [Variable Functions](./docs/functions.md#-variable-functions)\n\t- [Type Hinting](./docs/functions.md#-type-hinting)\n\t- [Return Type Declarations](./docs/functions.md#-return-type-declarations)\n\t- [Generators](./docs/functions.md#-generators)\n\t- [Arrow Functions](./docs/functions.md#-arrow-functions)\n\t- [String Functions](./docs/functions.md#-string-functions)\n\t- [Mathematical Functions](./docs/functions.md#-mathematical-functions)\n\t- [Date and Time Functions](./docs/functions.md#-date-and-time-functions)\n\t- [File and Directory Functions](./docs/functions.md#-file-and-directory-functions)\n\t- [Array Functions](./docs/functions.md#-array-functions)\n\t- [Other Common Functions](./docs/functions.md#-other-common-functions)\n7. [Arrays:](./docs/arrays.md)\n\t- [Array Types](./docs/arrays.md#-array-types)\n\t- [Indexed Array](./docs/arrays.md#-indexed-array)\n\t- [Associative Array](./docs/arrays.md#-associative-array)\n\t- [Multi Dimensional Array](./docs/arrays.md#-multi-dimensional-array)\n\t- [Choosing Array](./docs/arrays.md#-choosing-array)\n\t- [Adding Elements in Array](./docs/arrays.md#-adding-elements-in-array)\n\t- [Accessing Array Elements](./docs/arrays.md#-accessing-array-elements)\n\t- [Array Elements Unpack](./docs/arrays.md#-array-elements-unpack)\n\t- [Iterating Array Elements](./docs/arrays.md#-iterating-array-elements)\n\t- [Common Array Functions](./docs/arrays.md#-common-array-functions)\n8. [Enums:](./docs/enums.md)\n\t- [Need of Enum](./docs/enums.md#-need-of-enum)\n\t- [Enum Implementation](./docs/enums.md#-enum-implementation)\n\t- [Backed Enums](./docs/enums.md#-backed-enums)\n\t- [Enum Methods](./docs/enums.md#-enum-methods)\n\t- [Enum Static Methods](./docs/enums.md#-enum-static-methods)\n\t- [Enum Constants](./docs/enums.md#-enum-constants)\n\t- [Enum With Traits](./docs/enums.md#-enum-with-traits)\n\t- [Enum Serialization](./docs/enums.md#-enum-serialization)\n\t- [Enum Usages](./docs/enums.md#-enum-usages)\n\t- [Key Points And Limitations](./docs/enums.md#-key-points-and-limitations)\n9. [Short-Hand Syntax:](./docs/short-hand-syntax.md)\n\t- [Ternary Operator](./docs/short-hand-syntax.md#-ternary-operator)\n\t- [Null Coalescing Operator](./docs/short-hand-syntax.md#-null-coalescing-operator)\n\t- [Null Coalescing Assignment Operator](./docs/short-hand-syntax.md#-null-coalescing-assignment-operator)\n\t- [Short Echo Tag](./docs/short-hand-syntax.md#-short-echo-tag)\n\t- [Spaceship Operator](./docs/short-hand-syntax.md#-spaceship-operator)\n\t- [Short-Hand Control Structures](./docs/short-hand-syntax.md#-short-hand-control-structures)\n10. [Type Hints:](./docs/type-hints.md)\n\t- [Basic Usage](./docs/type-hints.md#-basic-usage)\n\t- [Nullable Types](./docs/type-hints.md#-nullable-types)\n\t- [Union Types](./docs/type-hints.md#-union-types)\n\t- [Key Points](./docs/type-hints.md#-key-points)\n\n### Core PHP Concepts\n1. [Super globals:](./docs/super-globals.md)\n\t- [GET Variable](./docs/super-globals.md#-get-variable)\n\t- [POST Variable](./docs/super-globals.md#-post-variable)\n\t- [REQUEST Variable](./docs/super-globals.md#-request-variable)\n\t- [FILES Variable](./docs/super-globals.md#-files-variable)\n\t- [SESSION Variable](./docs/super-globals.md#-session-variable)\n\t- [COOKIE Variable](./docs/super-globals.md#-cookie-variable)\n\t- [SERVER Variable](./docs/super-globals.md#-server-variable)\n\t- [ENV Variable](./docs/super-globals.md#-env-variable)\n2. [Forms and Data Handling:](./docs/forms-and-data-handling.md)\n\t- [Creating Forms](./docs/forms-and-data-handling.md#-creating-forms)\n\t- [Handling Forms](./docs/forms-and-data-handling.md#-handling-forms)\n\t- [Processing Data](./docs/forms-and-data-handling.md#-processing-data)\n\t- [Input Validation](./docs/forms-and-data-handling.md#-input-validation)\n\t- [Input Sanitization](./docs/forms-and-data-handling.md#-input-sanitization)\n\t- [Filter Variable Flags](./docs/forms-and-data-handling.md#-filter-variable-flags)\n\t- [Prevent Duplicate Form Submission](./docs/forms-and-data-handling.md#-prevent-duplicate-form-submission)\n3. [Date and Time:](./docs/date-and-time.md)\n\t- [Date Functions](./docs/date-and-time.md#-date-functions)\n\t- [Time Functions](./docs/date-and-time.md#-time-functions)\n\t- [DateTime Class](./docs/date-and-time.md#-datetime-class)\n\t- [DateTimeImmutable Class](./docs/date-and-time.md#-datetimeimmutable-class)\n\t- [DateInterval Class](./docs/date-and-time.md#-dateinterval-class)\n\t- [DatePeriod Class](./docs/date-and-time.md#-dateperiod-class)\n\t- [Formatting Dates and Times](./docs/date-and-time.md#-formatting-dates-and-times)\n\t- [Parsing Relative Dates and Times](./docs/date-and-time.md#-parsing-relative-dates-and-times)\n\t- [Date and Time Constants](./docs/date-and-time.md#-date-and-time-constants)\n\t- [Timezones](./docs/date-and-time.md#-timezones)\n\t- [Key Points](./docs/date-and-time.md#-key-points)\n4. [Numbers and Currencies.md](./docs/numbers-and-currencies.md)\n\t- [Number Formats](./docs/numbers-and-currencies.md#-number-formats)\n\t- [Currency Formats](./docs/numbers-and-currencies.md#-currency-formats)\n5. [Headers:](./docs/headers.md)\n\t- [Setting a Header](./docs/headers.md#-setting-a-header)\n\t- [Common Headers](./docs/headers.md#-common-headers)\n\t- [Content Type](./docs/headers.md#-content-type)\n\t- [Redirection](./docs/headers.md#-redirection)\n\t- [Cache Control](./docs/headers.md#-cache-control)\n\t- [Order of Usage](./docs/headers.md#-order-of-usage)\n\t- [Headers with Output Buffers](./docs/headers.md#-headers-with-output-buffers)\n\t- [Security Headers](./docs/headers.md#-security-headers)\n6. [HTTP Status Code:](./docs/http-status-code.md)\n\t- [1xx Information](./docs/http-status-code.md#-1xx-information)\n\t- [2xx Success](./docs/http-status-code.md#-2xx-success)\n\t- [3xx Redirection](./docs/http-status-code.md#-3xx-redirection)\n\t- [4xx Client Error](./docs/http-status-code.md#-4xx-client-error)\n\t- [5xx Server Error](./docs/http-status-code.md#-5xx-server-error)\n\t- [Usage](./docs/http-status-code.md#-usage)\n7. [Sessions:](./docs/sessions.md)\n\t- [Need and Usage](./docs/sessions.md#-need-and-usage)\n\t- [Creating Session](./docs/sessions.md#-creating-session)\n\t- [Storing Data in Session](./docs/sessions.md#-storing-data-in-session)\n\t- [Retrieving Data from Session](./docs/sessions.md#-retrieving-data-from-session)\n\t- [Removing Session Data](./docs/sessions.md#-removing-session-data)\n\t- [Destroying Session](./docs/sessions.md#-destroying-session)\n\t- [Pros](./docs/sessions.md#-pros)\n\t- [Cons](./docs/sessions.md#-cons)\n\t- [Functions Related To Session](./docs/sessions.md#-functions-related-to-session)\n\t- [Constants Related To Session](./docs/sessions.md#-constants-related-to-session)\n\t- [Configuration Flags Related To Session](./docs/sessions.md#-configuration-flags-related-to-session)\n\t- [Different Session Handling Techniques](./docs/sessions.md#-different-session-handling-techniques)\n\t- [Secure Session Handling](./docs/sessions.md#-secure-session-handling)\n\t- [Strong Session Name](./docs/sessions.md#-strong-session-name)\n\t- [Session Handlers](./docs/sessions.md#-session-handlers)\n\t- [Example For Custom Session Handlers](./docs/sessions.md#-example-for-custom-session-handlers)\n\t- [Protecting Against Session Fixation](./docs/sessions.md#-protecting-against-session-fixation)\n8. [Cookies:](./docs/cookies.md)\n\t- [Need and Usage](./docs/cookies.md#-need-and-usage)\n\t- [Creating a cookie](./docs/cookies.md#-creating-a-cookie)\n\t- [Modifying a cookie](./docs/cookies.md#-modifying-a-cookie)\n\t- [Deleting a cookie](./docs/cookies.md#-deleting-a-cookie)\n\t- [Pros](./docs/cookies.md#-pros)\n\t- [Cons](./docs/cookies.md#-cons)\n9. [File Handling:](./docs/file-handling.md)\n\t- [Handling Directory](./docs/file-handling.md#-handling-directory)\n\t- [Handling File](./docs/file-handling.md#-handling-file)\n\t- [Uploading a file](./docs/file-handling.md#-uploading-a-file)\n\t- [Downloading a file](./docs/file-handling.md#-downloading-a-file)\n\t- [File Handling Flags](./docs/file-handling.md#-file-handling-flags)\n\t- [Common File Handling Functions](./docs/file-handling.md#-common-file-handling-functions)\n\t- [Security Considerations](./docs/file-handling.md#-security-considerations)\n10. [Include and Require Statements:](./docs/include-and-require-statements.md)\n\t- [Include Statement](./docs/include-and-require-statements.md#-include-statement)\n\t- [Require Statement](./docs/include-and-require-statements.md#-require-statement)\n\t- [Differences Between Statements](./docs/include-and-require-statements.md#-differences-between-statements)\n11. [Error Handling and Debugging:](./docs/error-handling-and-debugging.md)\n\t- [Identifying Errors](./docs/error-handling-and-debugging.md#-identifying-errors)\n\t- [Debugging Techniques](./docs/error-handling-and-debugging.md#-debugging-techniques)\n\t- [Error Levels](./docs/error-handling-and-debugging.md#-error-levels)\n\t- [Log Levels](./docs/error-handling-and-debugging.md#-log-levels)\n\t- [Logging to a File](./docs/error-handling-and-debugging.md#-logging-to-a-file)\n\t- [Logging to a Database](./docs/error-handling-and-debugging.md#-logging-to-a-database)\n\t- [Error Logging Formats](./docs/error-handling-and-debugging.md#-error-logging-formats)\n\t- [Key Points](./docs/error-handling-and-debugging.md#-key-points)\n\t- [Log Rotation](./docs/error-handling-and-debugging.md#-log-rotation)\n\n### Object-Oriented Programming in PHP\n1. [Classes and Objects:](./docs/classes-and-objects.md)\n\t- [Defining Classes](./docs/classes-and-objects.md#-defining-classes)\n\t- [Properties and Methods](./docs/classes-and-objects.md#-properties-and-methods)\n\t- [Creating Objects](./docs/classes-and-objects.md#-creating-objects)\n\t- [Object Destruction](./docs/classes-and-objects.md#-object-destruction)\n\t- [Key Points](./docs/classes-and-objects.md#-key-points)\n2. [Inheritance:](./docs/inheritance.md)\n\t- [Extending Classes](./docs/inheritance.md#-extending-classes)\n\t- [Overriding Methods](./docs/inheritance.md#-overriding-methods)\n\t- [Key Points](./docs/inheritance.md#-key-points)\n3. [Polymorphism:](./docs/polymorphism.md)\n\t- [Method Overloading](./docs/polymorphism.md#-method-overloading)\n\t- [Method Overriding](./docs/polymorphism.md#-method-overriding)\n4. [Encapsulation:](./docs/encapsulation.md)\n\t- [Access Modifiers](./docs/encapsulation.md#-access-modifiers)\n\t\t- [Public](./docs/encapsulation.md#-public)\n\t\t- [Protected](./docs/encapsulation.md#-protected)\n\t\t- [Private](./docs/encapsulation.md#-private)\n5. [Abstraction:](./docs/abstraction.md)\n\t- [Abstract Classes](./docs/abstraction.md#-abstract-classes)\n\t- [Interfaces](./docs/abstraction.md#-interfaces)\n\t- [Traits](./docs/abstraction.md#-traits)\n\t- [Key Points](./docs/abstraction.md#-key-points)\n\t- [Real World Usages](./docs/abstraction.md#-real-world-usages)\n6. [Reflection Class:](./docs/reflection-class.md)\n\t- [Basic Usage](./docs/reflection-class.md#-basic-usage)\n\t- [Key Features](./docs/reflection-class.md#-key-features)\n\t- [Cautionary Note](./docs/reflection-class.md#-cautionary-note)\n7. [Dependency Injection:](./docs/dependency-injection.md)\n\t- [Need for Dependency Injection](./docs/dependency-injection.md#-need-for-dependency-injection)\n\t- [Constructor Injection](./docs/dependency-injection.md#-constructor-injection)\n\t- [Setter Injection](./docs/dependency-injection.md#-setter-injection)\n\t- [Method Injection](./docs/dependency-injection.md#-method-injection)\n8. [Namespace:](./docs/namespace.md)\n\t- [Use of Namespace](./docs/namespace.md#-use-of-namespace)\n\t- [Global Namespace](./docs/namespace.md#-global-namespace)\n\t- [Declaration of Namespace](./docs/namespace.md#-declaration-of-namespace)\n\t- [Implementation of Namespace](./docs/namespace.md#-implementation-of-namespace)\n\t- [Namespace Alias](./docs/namespace.md#-namespace-alias)\n\t- [Key Points](./docs/namespace.md#-key-points)\n9. [Autoload in PHP:](./docs/autoload-in-php.md)\n\t- [Built-in Autoloader](./docs/autoload-in-php.md#-built-in-autoloader)\n\t- [How it works](./docs/autoload-in-php.md#-how-it-works)\n10. [Composer:](./docs/composer.md)\n\t- [Dependency Management](./docs/composer.md#-dependency-management)\n\t- [Autoloading](./docs/composer.md#-autoloading)\n\t- [Handling Packages](./docs/composer.md#-handling-packages)\n\t- [Basic Usage](./docs/composer.md#-basic-usage)\n\t- [Composer Commands and Flags](./docs/composer.md#-composer-commands-and-flags)\n\n### Database Integration\n1. [Database Abstraction Layers:](./docs/database-abstraction-layers.md)\n\t- [PDO](./docs/database-abstraction-layers.md#-pdo)\n\t- [Prepared Statements](./docs/database-abstraction-layers.md#-prepared-statements)\n\t- [Positional and Parameterized Queries](./docs/database-abstraction-layers.md#-positional-and-parameterized-queries)\n2. [PHP-MySQL Integration:](./docs/php-mysql-integration.md)\n\t- [MySQL Overview](./docs/php-mysql-integration.md#-mysql-overview)\n\t- [Connecting to a MySQL Database](./docs/php-mysql-integration.md#-connecting-to-a-mysql-database)\n\t- [Executing SQL Queries](./docs/php-mysql-integration.md#-executing-sql-queries)\n\t- [Updating and Deleting Data](./docs/php-mysql-integration.md#-updating-and-deleting-data)\n\n### Web Development with PHP\n1. [Remember Logged In User:](./docs/remember-logged-in-user.md)\n\t- [Best Practice](./docs/remember-logged-in-user.md#-best-practice)\n\t- [Session Management](./docs/remember-logged-in-user.md#-session-management)\n\t- [Generate Unique ID](./docs/remember-logged-in-user.md#-generate-unique-id)\n\t- [Regenerate Unique ID](./docs/remember-logged-in-user.md#-regenerate-unique-id)\n\t- [Set Unique ID](./docs/remember-logged-in-user.md#-set-unique-id)\n\t- [Check for Unique ID](./docs/remember-logged-in-user.md#-check-for-unique-id)\n\t- [Expiry Remember Token](./docs/remember-logged-in-user.md#-expiry-remember-token)\n\t- [Remove Remember Token](./docs/remember-logged-in-user.md#-remove-remember-token)\n2. [Configuring Apache Server:](./docs/configuring-apache-server.md)\n\t- [Configuration Files](./docs/configuring-apache-server.md#-configuration-files)\n\t- [Basic Configuration](./docs/configuring-apache-server.md#-basic-configuration)\n\t- [Configuring Virtual Hosts](./docs/configuring-apache-server.md#-configuring-virtual-hosts)\n\t- [HTACCESS Configuration](./docs/configuring-apache-server.md#-htaccess-configuration)\n\t- [Additional Configuration Options](./docs/configuring-apache-server.md#-additional-configuration-options)\n\t- [Key points to remember](./docs/configuring-apache-server.md#-key-points-to-remember)\n3. [Web Frameworks:](./docs/web-frameworks.md)\n\t- [Need of Framework in PHP](./docs/web-frameworks.md#-need-of-framework-in-php)\n\t- [Popular Frameworks](./docs/web-frameworks.md#-popular-frameworks)\n4. [MVC Architecture:](./docs/mvc-architecture.md)\n\t- [Understanding MVC Architecture](./docs/mvc-architecture.md#-understanding-mvc-architecture)\n\t- [Building MVC](./docs/mvc-architecture.md#-building-mvc)\n\t- [How it works](./docs/mvc-architecture.md#-how-it-works)\n\t- [Advantages of MVC](./docs/mvc-architecture.md#-advantages-of-mvc)\n5. [Security Best Practices:](./docs/security-best-practices.md)\n\t- [Common Web Attacks](./docs/security-best-practices.md#-common-web-attacks)\n\t- [Protecting Applications](./docs/security-best-practices.md#-protecting-applications)\n\n### Advanced Topics\n1. [Regular Expressions:](./docs/regular-expressions.md)\n\t- [Pattern Matching](./docs/regular-expressions.md#-pattern-matching)\n\t- [Find and Replacing Text](./docs/regular-expressions.md#-find-and-replacing-text)\n\t- [Extracting Text](./docs/regular-expressions.md#-extracting-text)\n\t- [Validate Text](./docs/regular-expressions.md#-validate-text)\n\t- [Common Patterns](./docs/regular-expressions.md#-common-patterns)\n2. [Cryptographic Functionalities:](./docs/cryptographic-functionalities.md)\n\t- [Random Unique ID Generation](./docs/cryptographic-functionalities.md#-random-unique-id-generation)\n\t- [Hashing and Salting](./docs/cryptographic-functionalities.md#-hashing-and-salting)\n\t- [HMAC](./docs/cryptographic-functionalities.md#-hmac)\n\t- [Encryption and Decryption](./docs/cryptographic-functionalities.md#-encryption-and-decryption)\n3. [XML and JSON:](./docs/xml-and-json.md)\n\t- [Parsing XML](./docs/xml-and-json.md#-parsing-xml)\n\t- [Parsing JSON](./docs/xml-and-json.md#-parsing-json)\n\t- [Generating XML](./docs/xml-and-json.md#-generating-xml)\n\t- [Generating JSON](./docs/xml-and-json.md#-generating-json)\n\t- [Key Points](./docs/xml-and-json.md#-key-points)\n4. [RESTful API:](./docs/restful-api.md)\n\t- [API](./docs/restful-api.md#-api)\n\t- [RESTful](./docs/restful-api.md#-restful)\n\t- [Key Principles of REST](./docs/restful-api.md#-key-principles-of-rest)\n\t- [Requests and Methods](./docs/restful-api.md#-requests-and-methods)\n\t- [Advantages and Disadvantages](./docs/restful-api.md#-advantages-and-disadvantages)\n\t- [Implementation Standards](./docs/restful-api.md#-implementation-standards)\n5. [CLI with PHP:](./docs/cli-with-php.md)\n\t- [Executing PHP Script in Command Line](./docs/cli-with-php.md#-executing-php-script-in-command-line)\n\t- [Accepting Command Line Arguments](./docs/cli-with-php.md#-accepting-command-line-arguments)\n\t- [Common PHP CLI Options](./docs/cli-with-php.md#-common-php-cli-options)\n6. [Performance optimization:](./docs/performance-optimization.md)\n\t- [Caching Techniques](./docs/performance-optimization.md#-caching-techniques)\n\t- [Code Optimization](./docs/performance-optimization.md#-code-optimization)\n7. [Design Patterns:](./docs/design-patterns.md)\n\t- [Common Patterns](./docs/design-patterns.md#-common-patterns)\n\t- [Singleton Design Pattern](./docs/design-patterns.md#-singleton-design-pattern)\n\t- [Factory Design Pattern](./docs/design-patterns.md#-factory-design-pattern)\n\t- [Abstract Factory Design Pattern](./docs/design-patterns.md#-abstract-factory-design-pattern)\n\t- [Adapter Design Pattern](./docs/design-patterns.md#-adapter-design-pattern)\n\t- [Decorator Design Pattern](./docs/design-patterns.md#-decorator-design-pattern)\n\t- [Facade Design Pattern](./docs/design-patterns.md#-facade-design-pattern)\n\t- [Strategy Design Pattern](./docs/design-patterns.md#-strategy-design-pattern)\n\t- [Command Design Pattern](./docs/design-patterns.md#-command-design-pattern)\n\t- [Comparison among patterns](./docs/design-patterns.md#-comparison-among-patterns)\n\nBy following this road map and consistently practicing, you can develop a strong foundation in PHP and build impressive web applications. For better understanding and double check with Official [PHP manual](https://www.php.net/manual/en/index.php), Before proceed in real-time implementations.\n\n## \u0026#9873; Contribution\nContributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request. Make sure to follow the existing coding style and provide clear documentation for your changes.\n\n## \u0026#9873; License\nThis reference licensed under the [MIT license](LICENSE). Feel free to use, modify, and distribute it as per the terms of the license.\n\n## \u0026#9873; Contact\nIf you have any questions or need further assistance, please feel free to reach me by referring [My Github Profile](https://github.com/ag-sanjjeev/)\n\n\nThanks for reviewing this reference notes!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fag-sanjjeev%2Fphp-notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fag-sanjjeev%2Fphp-notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fag-sanjjeev%2Fphp-notes/lists"}