Script to rename variables, methods and class names of PHP files

Cerrado Publicado hace 5 años Pagado a la entrega
Cerrado Pagado a la entrega

Looking for a programmer to create either a PHP or python script to randomly rename variables, methods and classes names of a given list of PHP files. The objective is to make the PHP code harder to understand, while maintaining its functionality of course; which means special and reserved names such as $this, self or magic methods shouldn't be renamed.

The script should scan the PHP files, compile a list of strings to rename, generate random replacements associated with the list, perform the replacement and save the result in just one combined PHP file. It'll also need to save the random replacements in a csv/text file.

Check: [login to view URL] (only this answer, not other answers within the thread). About half work it's already done.

Config variables of the script:

a) (array) List of paths of PHP files

b) (int) Length of the random replacements

c) (array) List of variables to exclude (any visibility)

d) (array) List of methods to exclude (any visibility)

e) (array) List of classes to exclude

f) (bool) Flag to enable/disable exclusion of public variables

g) (bool) Flag to enable/disable exclusion of public methods

h) (string) Path of the result file

i) (string) Path of the replacements csv/text file

Desired but not mandatory:

j) (string) Exclusion delimiter, for instance: /|* which translates to: /|* $important = 'this will not be renamed'; *|/

.- Other things to note:

a) PHP files don't have namespaces, only classes with private, protected and public variables and methods; statics as well

b) Do not suggest the use existent software

c) Test the code before delivering it, quality is preferred over delivery time

d) Include the term [PHP renaming] within your offer, so it proves you've read and understood the project.

e) No agencies

PHP Python

Nº del proyecto: #18210182

Sobre el proyecto

13 propuestas Proyecto remoto Activo hace 5 años

13 freelancers están ofertando un promedio de $166 por este trabajo

royalwebraisers

[PHP renaming] Hi How are you.. ? As I read out the description. I am ready for the work with you. Need some details for the same task. Thanks Jitu

$246 USD en 4 días
(117 comentarios)
6.4
schoudhary1553

Hello Sir, I am the expert freelancer here. I am on the 6th position through out the world to deliver the quality job. I have deliver here more than 400 + projects with 100% client satisfaction. I have more than 5 Más

$250 USD en 4 días
(54 comentarios)
6.1
DarkKnight2206

Hello! I am a python developer. I looked at your project and it seems interesting. I have all necessary skills required for this project. Ping me to discuss in detail.

$140 USD en 2 días
(25 comentarios)
5.1
DevelopmentFreak

Hi there! Namashkaram! I read the description. Interesting! TOP 10 REASONS Why you should work with me: 1. I Care! 2. I also lift up ideas whenever needed. 3. I have worked with a team of 12 -14 People on a Más

$155 USD en 3 días
(12 comentarios)
4.3
dipta007

Being into coding and development for some time, I've already come across problems/requirements like these. So, a script to perform which is essentially refactoring of PHP source code should be easily and reliably han Más

$100 USD en 3 días
(2 comentarios)
3.4
domaxy111

Dear Employer, We are ready to start your work right now. Me and my team is ready to complete your work with a quality work. I am capable to do this project. we have 6+ year experience in IT Industry. We have alread Más

$220 USD en 3 días
(3 comentarios)
2.8
DavidnBurns

Hello, I'm David, I can provide you perfect work as you looking for . we can discuss more in chat . I will be waiting for your response . I have very great experience about your project , if you want discuss more Más

$155 USD en 3 días
(0 comentarios)
0.0