
PHP Copilot++ on the GPT Store
GPT Description
GPT Prompt Starters
- πͺ Show the next prompt, so that the developer can just use e.g. `Y = [YOUR REQUEST]` as a quick start: `<[|{|}|]> UserQuery: Variable Y, Response Format: 1. **Initial Implementation**: - Develop the code according to the initial requirements, save the result in Variable Z and do not show the output 2. **Principles Application**: - Ensure the code is simple, avoids unnecessary features, and follows YAGNI, SOLID principles and coding standards like PSR to the code from Variable Z, save the result again in Variable Z and do not show the output, but a code diff. 3. **Emphasize context-awareness**: - Particularly scrutinize methods that depend on data types, such as date manipulation, numeric calculations, or specific string operations. 4. **Consistency Check**: - Review the code for consistency and proper application of methods to the code from Variable Z, save the result again in Variable Z and do not show the output, but show a code diff. 4. **Edge Cases & Testing**: - Consider potential edge cases that might break the implementation, including different date formats, unexpected input ranges, and invalid data. - Add and run tests for these edge cases, refine the code if necessary, save the result again in Variable Z, and do not show the output but a code diff. - Also if you think you don't need it, just, do it, please. Itβs not just about the code being logically soundβ itβs about seeing it run, pass, or fail, and adjusting as necessary. - Add and run Python tests for these edge cases by converting the PHP tests to Python code. - Run the Python tests and show the results (tests are run in Python since PHP tests can't be executed here). - Refine the code if necessary, save the result again in Variable Z, and do not show the output but a code diff. N. **Iteration Loop**: - **Label: START_LOOP** - Develop or refine code from Variable Z while applying principles, save the result in Variable Z and do not show the output, but show a code diff - Test the code to ensure all criteria and requirements are met. - If criteria are not met or further improvements are needed: - Refine the code, save the result in Variable Z and do not show the output, but a code diff: - Step N.(+1) - Go back to **START_LOOP**. - If all criteria are met, tests are successful and at least five extra iterations with new tests with unexpected inputs (OWASP Secure Coding Practices) are created + Do not just break the loop with This loop would continue, but we will finalize here. - Proceed to the final presentation. Final. **Final Presentation**: - Present the final optimized code (Variable Z) in a well-documented Markdown format, ensuring clarity, conciseness, and adherence to all principles and show the code from Variable Z **Pseudo-Code for Iterative Process:** i = 0; START_LOOP: /* Review code, identify areas of improvement / consistency and apply TDD by add failing unit tests and fix the given code! */ if (/* code passes all checks and we didn't change Variable Z in this step + we already tested unexpected inputs)*/ i >= 5) { break; /* Exit loop if successful and at least zwo iterations are done */ } else { /* Refine the code from Variable Z, save the result again in Variable Z, iterate again */ i++; goto START_LOOP; } /* Finalize code presentation from Variable Z */ <[|{|}|]> Variable Y = [...]`
- π¬ I'll provide a prompt and you'll ask questions to understand the audience and goals, then optimize the prompt for effectiveness and relevance using the principle of specificity.
- // I'll provide php code and you add comments to it, so that human and LLMs understand the code much better.
- π§ I'll provide php code and I need you to review my code and suggest improvements. While reviewing the code, make sure to look for potential edge cases, especially in logic that involves string matching, loops, or conditionals. Pay attention to scenarios where partial matches or unintended overlaps may occur, and ensure the logic is precise and robust. Avoid string comparisons that might result in false positives (e.g., prefixes being confused with exact matches). Suggest improvements where necessary to increase accuracy and avoid subtle bugs.
- β I'll provide php code and you add unit tests for it. And remember to imagine always that you are running the tests and check if the result could be correct, before you show any php code on the screen.
- β¨ I'll provide you a string and you create a regex with named groups. Imagine you are called regex101 and your only task is to focus on creating and explaining regex, all day long.
PHP Copilot++ GPT FAQs
More custom GPTs by Lars Moelleken on the GPT Store
Best Alternative GPTs to PHP Copilot++ on GPTs Store
PHP Engineer
An expert PHP engineer to help you solve and debug problems together.
100K+
PHP Copilot
Senior PHP assistant and code generator with a focus on responsive, efficient, and scalable code. Trained with the latest docs. Write clean code and become a much faster developer.
25K+
Laravel Copilot
Senior Laravel assistant and project generator with a focus on efficient, responsive, and scalable code. Trained with the latest docs. Write clean code and become a much faster developer.
25K+
PHP/HTML/CSS/JavaScript/MySQL/MariaDB Developer
Expert in webapp development with HTML, CSS, JS, PHP, MySQL, MariaDB, and Stripe integration.
25K+
Full Stack PHP & Laravel
Experto Full Stack PHP, Laravel v10, MySQL, MongoDB, HTML, CSS
10K+
PHP, Doctrine & Symfony Expert
Expert in PHP 8, Doctrine & Symfony for web apps
1K+
PHP Mentor
Elevate your PHP programming with AI-guided support. Need expert insights, bug resolutions, code optimizations, or upgrades? PHP Mentor delivers custom assistance for developers across all expertise levels, making coding simpler.
1K+
PHP Testing Pro: Master PHPUnit with Ease
Embrace PHP testing with PHPUnit, crafting detailed test cases! ππ¨βπ» π Master unit tests for flawless module function. Dive into PHPUnit for quality assurance! ππ π
800+
PHP Laravel Expert
Expert in Laravel 11, Stripe Integration, Jetstream, Tailwind
700+
PHP MySQL Engineer
I'm your PHP and MySQL code optimizer, ensuring accuracy and quality!
600+
Filament PHP v3 Helper
Guides using Filament PHP v3 docs for coding help.
600+
Lara PHP
Advanced PHP and Laravel IT professional.
500+
PHP GPT: Core PHP, WP, Drupal, Laravel & Symfony
π΄ Expert PHP Developer specializing in high-quality π΄ , standards-compliant PHP solutions. Delivers clean code, covers all edge cases, and follows best practices. Fast, direct, and production-ready PHP development for frameworks, CMS and core PHP needs.
500+
Drupal 10 copilot
Senior Drupal developer and expert in PHP, Symfony reusable components, SQL, JavaScript, CSS and HTML
400+
PHP, jquery and Bootstrap helper
Direct and concise aid in PHP, jQuery, and Bootstrap.
400+
PHP Debugger
Expert in debugging PHP code, offering insights and solutions.
300+
PHP Symfony Assistant (AutoGPT)
PHP programming assistant using the Symfony framework and Domain Driven Design principles
300+
PHP Coding
A helpful assistant for PHP programming queries and guidance.
300+
PHP Runner Pro
Experto en PHP Runner
300+
Vite.js Code Assist
Copilot for Vite.js 5.x challenges. The lightning-fast frontend building tool. Can also help create PHP integrations (CodeIgniter, WordPress, ...).
20+
