68publishers / package-installer
Configurable repository downloader & installer for Nette Framework
Installs: 3 225
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 2
Requires
- php: ~7.1
- nette/di: ~2.4
- nette/finder: ~2.4
- nette/http: ~2.4
- nette/utils: ~2.4
- psr/log: ~1.0
- symfony/console: ^4.0
- symfony/process: ^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- mockery/mockery: ^1.2
- nette/tester: ^1.7
This package is auto-updated.
Last update: 2024-11-12 11:05:00 UTC
README
Configurable repository downloader & installer for Nette Framework
Installation
The best way to install 68publishers/package-installer is using Composer:
composer require 68publishers/package-installer
then you can register extension into DIC:
extensions: package_installer: SixtyEightPublishers\PackageInstaller\DI\PackageInstallerExtension
Configuration
package_installer: paths: cwd: %appDir%/../ # default repository: temp/packages/ # default, relatively from cwd dist: www/packages/ # default, relatively from cwd packages: my_awesome_theme: url: https://github.com/user/package installers: - SixtyEightPublishers\PackageInstaller\Installer\ClearRepository - SixtyEightPublishers\PackageInstaller\Installer\GitClone - SixtyEightPublishers\PackageInstaller\Installer\ComposerInstall - SixtyEightPublishers\PackageInstaller\Installer\SetPermissions my_foo_package: url: https://github.com/foo/bar branch: dev # download specific branch installers: - SixtyEightPublishers\PackageInstaller\Installer\ClearRepository - SixtyEightPublishers\PackageInstaller\Installer\GitClone - SixtyEightPublishers\PackageInstaller\Installer\SetPermissions
Contributing
Before committing any changes, don't forget to run
vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run
and
vendor/bin/tester ./tests