Download the PHP package padarom/thunderstorm without Composer

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

Thunderstorm

Thunderstorm is a simple package update server for the WoltLab Community Framework written in PHP. It provides full compability with WCFs package system (*).

As I no longer use WCF I cannot put any more resources into this project until there is more interest in it or my schedule clears up. Contributions are much appreciated! Although not currently in development, Thunderstorm can be considered ready for use in production environments.

Roadmap

Server Requirements

This server is based on Laravel Lumen, and as such shares the same requirements.

You will also need to make sure that the php ini directive short_open_tag is set to Off.

Installation

You can manually install this server by downloading the source code and running composer install to install all dependencies. After this you will need to complete the following steps:

  1. Create a sqlite database file (database/database.sqlite)
  2. Copy the example environment file (cp .env.example .env)
  3. Run the database migrations (php artisan migrate)
  4. Make sure your storage and uploads directory are writeable (chmod -R 755 storage/ uploads/)

I also provide a pre-packaged version (about 2MB) of all releases that already contains the dependencies. You still need to make sure the proper permissions are set for your storage and uploads directory (see step 4).

Upgrade Process

To upgrade to a newer version, do the following:

  1. Backup these files/directories:
    • .env
    • database/database.sqlite
    • storage/packages
  2. Replace the application with the newest version (unzip the prepackaged release or download the repository)
  3. Move your backed up files back into the application (overwrite any existing files)
  4. Run php artisan migrate

Setting up the import

The server scans the uploads/ directory (this can be configured in the .env configuration file) for new packages. So if you want to add new packages to the system, drop them in there. The server will automatically analyze its package.xml file and move it to the right directory. This import can be run manually with php artisan import:uploads when in the project root directory.

Alternatively there's two ways to run the import automatically:

Cronjob (recommended)

The server checks for uploads every minute. To enable this, you must add a cronjob by running crontab -e (depending on your OS) and appending the following line (make sure to adjust the path):

On requests (not recommended)

The server runs the import automatically before answering the request. This runs (statistically) during 3 out of every 10 requests. Depending on the number of packages that have to be imported, this could severely slow down your application. During tests it was fast enough that it shouldn't make a noticeable difference, but it's still a good practice to run the import using cronjobs.

If you have no way of running cronjobs and are absolutely sure you want to use this method for imports, then edit your .env configuration file and set the IMPORT_ONREQUESTS variable to true:

(*) Incompatibilities

License

This is open-sourced software licensed under the MIT license.


All versions of thunderstorm with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
laravel/lumen-framework Version 5.2.*
vlucas/phpdotenv Version ~2.2
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 padarom/thunderstorm contains the following files

Loading the files please wait ....