I randomly got the idea the other day to write a "Version Incrementer" in PHP for all my PHP projects.

I keep all my projects in my /Projects folder, and have to update each project file's docblock after every revision. Instead of tediously going through each file and changing the build, date, and version, I just wrote this simple script that will list all your projects, sort them by "@package," and then by "@version". I'm hoping to add other functions to this as well, instead of just updating the @version parameter. I'm hoping to make it a project-wide pear-style docblock updater/configurator.

For conflicting versions, it gives you the option to update all project files specific to that "@package" with one of versions listed.

You can also choose to ignore certain directories in your projects folder, for projects that don't use Pear-style docblocks, are written in a different language, or just simply don't need to be managed.

Demo Here - Download Source

Help on everything from the syntax of things, my crappy coding style (I threw this together in a couple hours! Razz ), and everything else related to the project would be much appreciated. I hope you guys like it! Smile
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement