Download the PHP package bojaghi/version-sync without Composer

On this page you can find all versions of the php package bojaghi/version-sync. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package version-sync

Version Sync

워드프레스 플러그인 또는 테마에 명시된 버전 정보를 기반으로 다른 파일에 기록된 버전 정보를 동기화합니다.

설치하기

`

설정하기

composer.json 파일에서 'extra' 항목에서 설정합니다. 만약 설정되어 있지 않더라도 않더라도 기본값인 설정에 따라 동작합니다.

아래는 설정의 기본값 예시입니다.

각 항목의 의미는 아래와 같습니다.

예를 들어 이렇게 설정할 수 있습니다.

가령 테마의 경우, 메인 파일이 CSS 입니다. 그러므로 PHP 상수는 메인 파일에서 정의되지 않습니다. 위와 같이 추가로 파일 경로를 입력해야 합니다. 루트 디렉토리의 상대 경로로 입력 가능합니다

사용하기

스크립트는 vendor/bin/version-sync에 있습니다. 그러므로 composer.json에서 다음처럼 입력하면 편리합니다.

그리고 composer run vsync 처럼 명령을 내릴 수 있습니다. 이 스크립트는 커맨드라인 전용입니다. 웹 환경에서는 실행되지 않습니다.

실행하면 플러그인 혹은 테마의 메인 파일의 버전 정보를 찾아 동기화합니다.

일러두기

JSON 파일의 경우 PHP json_encode, json_decode 함수를 사용해 편집합니다. 의미에 변화는 없으나 파일의 형태가 기존의 작성된 형태와 약간 달라질 수 있습니다.

PHP 상수 선언은 정규식을 통해 파악합니다. 그러므로 버전 상수 선언 시 복잡한 표현식을 사용하면 검출하지 못합니다. 아래 정도로 단순하게 사용하기 바랍니다.

버전 문자열 변경 후 공백이나 따옴표 같은 문자는 약간 달라질 수 있습니다.


All versions of version-sync with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bojaghi/version-sync contains the following files

Loading the files please wait ...