Download the PHP
package neilmasters/semanticreleases without Composer
On this page you can find all versions of the php package
neilmasters/semanticreleases. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor neilmasters Package semanticreleases Short Description Utility to manage semantic release versions License
MIT
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.
The SemanticReleases contains utilities to help maintain semantic release versions.
Versioning()
Encapsulates functionality around bumping version numbers. Versioning::gerIncreasedVersion() Will accept a current
version and increase it depending on it being a major, minor or fix change.
Example usage:
You can view the unit tests to see every possible combination you can throw at the getIncreasedVersion() method.
Bad version values
To facilitate conversion from one format to another getIncreasedVersion() will do a lot of work to try and
convert the passed version to a semantic format.
In the event that a version passed does not follow major.minor.fix or is just completely wrong, the
getIncreasedVersion() method will fix it at best or at worst just give you back a 1.0.0 version.
Examples of non standard input:
To summarise, you will get a correct major.minor.fix version number, regardless what you throw at it. Now, if that is
the value you wanted is a different matter.
Empty version
In the event of an empty version we convert it to 0 so the returned version will be 1.0.0. Useful if you are
initialising versions.
All versions of semanticreleases with dependencies
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 neilmasters/semanticreleases contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.