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

종료 등록 시간: 5년 전 착불
종료 착불

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

프로젝트 ID: #18210182

프로젝트 소개

13 건(제안서) 재택 근무형 프로젝트 서비스 이용 중: 5년 전

이 일자리에 대한 프리랜서 13 명의 평균 입찰가: $166

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 (4일 이내)
(117 리뷰)
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 기타

$250 USD (4일 이내)
(54 리뷰)
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 (2일 이내)
(25 리뷰)
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 기타

$155 USD (3일 이내)
(12 리뷰)
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 기타

$100 USD (3일 이내)
(2 리뷰)
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 기타

$220 USD (3일 이내)
(3 리뷰)
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 기타

$155 USD (3일 이내)
(0 리뷰)
0.0