Download the PHP package edwines/updater-bundle without Composer

On this page you can find all versions of the php package edwines/updater-bundle. 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 updater-bundle

Updater Bundle

Total Downloads Latest Stable Version Latest Unstable Version

This bundle allow updating the repository in production; using git service hooks provided by some git hosting system (like GitHub). Currently these providers are supported:

But you can build your custom provider.

Requirements

The production server needs to have git installed and configured to connect with the provider. Also the repository of the Symfony project need to has write permissions to the web user (usually named www-data).

Installation

Step 1: Download EdwinesUpdaterBundle

Add the following dependency in your composer.json

Now tell composer to download the bundle by running the command:

Step 2: Enable de bundle

Enable the bundle in the kernel:

Step 3: Configure the bundle

By default you don't need to set the configuration. But if you want to change the default values, just follow the next instructions:

The bundle set the directory of the repository to %kernel.root_dir%/../ to edit it just set the repo_path:

By default the provider is GitHub, if you want to use Bitbucket:

Step 4: Add routes

If you want to have all the routes (the route for update the system, and another one to see the git status)

Or if only want the route to update the project:

Step 5: Add POST service to your provider

Now, you need to add a new service hook in your provider (see the GitHub help). Your hook url will be http://my-domain.com/my-updater-prefix/hook/ or if you configure to only use the hook url: http://my-domain.com/my-hook-prefix/

How it works

When the bundle receives the payload of the provider, it compare if the modified branch is the same of the current project.. then automatically run the command git pull origin {current_branch}, and finally erase the cache.

You can see the git status of your project and the last commits in the url http://my-domain.com/my-updater-prefix/


All versions of updater-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.2
symfony/framework-bundle Version 2.*
ornicar/php-git-repo Version dev-master
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 edwines/updater-bundle contains the following files

Loading the files please wait ....