Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/68publishers/package-installer
🛄 Configurable repository downloader & installer for Nette Framework
https://github.com/68publishers/package-installer
command-line-tool nette symfony
Last synced: 27 days ago
JSON representation
🛄 Configurable repository downloader & installer for Nette Framework
- Host: GitHub
- URL: https://github.com/68publishers/package-installer
- Owner: 68publishers
- License: mit
- Created: 2019-07-07T23:33:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-12T00:30:17.000Z (almost 5 years ago)
- Last Synced: 2024-11-21T18:33:05.783Z (about 2 months ago)
- Topics: command-line-tool, nette, symfony
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Remote Access
Configurable repository downloader & installer for Nette Framework
## Installation
The best way to install 68publishers/package-installer is using Composer:
```bash
composer require 68publishers/package-installer
```then you can register extension into DIC:
```yaml
extensions:
package_installer: SixtyEightPublishers\PackageInstaller\DI\PackageInstallerExtension
```## Configuration
```yaml
package_installer:
paths:
cwd: %appDir%/../ # default
repository: temp/packages/ # default, relatively from cwd
dist: www/packages/ # default, relatively from cwdpackages:
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\SetPermissionsmy_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
```bash
vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run
```and
```bash
vendor/bin/tester ./tests
```