[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

Best way to version PHP files (already using SVN)

I am currently using SVN to version my PHP files, but that doesn't put any kind of reference in the file.  I am trying to find a piece of software or other practice that will append the version of the file within the project version into each file.  I have seen software using a system such as the code block I provided.  This would go at the top of each file.  Is there a way to create this automatically (automagically would be better) for each file?

Thanks!

/**
* Classname
* @version $Id: file.name.php 391 2009-02-22 11:53:16Z author $
* @package Package Name
* @copyright (C) year - year Company
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Extra Info
**/

Open in new window

0
termlimit
Asked:
termlimit
1 Solution
 
estaticdCommented:
0
 
termlimitAuthor Commented:
That is exactly what I was looking for.  Thanks a lot for the quick reply.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now