PHP & Twig Code Clean-up

Job ID: 40558333

Budget: ₹1,500 – ₹12,500 INR

Hi Experts,
smm panel script

I have a live web application built on custom PHP and Twig. Over time, this script has been modified 2 or 3 times by different developers. Because of these multiple past modifications, the internal codebase has become extremely messy and unstable.

We recently did a manual check and found critical layout and logic issues that will cause heavy runtime errors, bugs, and crashes in the future if left unfixed.

I need a highly disciplined expert to do a complete, deep manual cleanup of the entire script (including core files, the "app" directory, index.php, signup.php, etc.).

Here is exactly what you need to fix:
1. Truncated & Half-Written Code: Many files have incomplete functions, cut-off code lines, and broken logic loops that need to be completely rewritten or completed.
2. Duplicate & Dead Code: Due to previous edits, there is a lot of junk and duplicate code cluttering the script. You must remove all unnecessary blocks.
3. Severe Security Gaps: The script contains dangerous vulnerabilities like 'shell_exec' flaws, SQL Injection risks in database inputs, and unhashed plain-text passwords. You must secure the database, properly hash all passwords, and make the backend hacker-proof.

CRITICAL CONDITION: This is a live production system with active users. You cannot break any existing workflow or payment gateway integrations. Half-written or rushed work will not be accepted under any circumstances. I need 100% complete, clean, stable, and secure code.

Please bid only if you can manually audit every single folder and line. Type "MANUAL CLEANUP" at the start of your proposal so I know you read this.