psh
PSH - PHP shell helper
File Explorer
Download Latest Version (.zip)- build.yml
- ci.yml
- unit.yml
- github_deploy_key.enc
- build.sh
- ci.sh
- clear.sh
- composer-update.sh
- unit.sh
- .gitkeep
- Dockerfile
- php-config.ini
- Dockerfile
- php-config.ini
- Dockerfile
- php-config.ini
- Dockerfile
- php-config.ini
- config.xsd
- version.php
- convert-yaml-to-xml
- Application.php
- ApplicationConfigLogger.php
- ApplicationFactory.php
- ApplicationOptions.php
- ClimateLogger.php
- ExitSignal.php
- InvalidParameter.php
- ParameterParser.php
- RuntimeParameters.php
- Config.php
- ConfigBuilder.php
- ConfigEnvironment.php
- ConfigFactory.php
- ConfigFileFinder.php
- ConfigFileLoader.php
- ConfigFileLoaderFileSystemHandlers.php
- ConfigLogger.php
- ConfigMerger.php
- DotenvFile.php
- EnvironmentResolver.php
- InvalidReferencedPath.php
- NoConfigFileFound.php
- ProcessValueProvider.php
- RequiredValue.php
- ScriptsPath.php
- SimpleValueProvider.php
- Template.php
- TemplateWriteNotSuccessful.php
- ValueProvider.php
- XmlConfigFileLoader.php
- YamlConfigFileLoader.php
- DescriptionReader.php
- Script.php
- ScriptFinder.php
- ScriptNotFound.php
- ScriptPathNotValid.php
- DeferredProcess.php
- ExecutionError.php
- Logger.php
- LogMessage.php
- MissingRequiredParameter.php
- ProcessEnvironment.php
- ProcessExecutor.php
- TemplateEngine.php
- TemplateNotValid.php
- BashScriptParser.php
- CommandBuilder.php
- PshScriptParser.php
- ScriptLoader.php
- ScriptNotSupportedByParser.php
- ScriptParser.php
- BashCommand.php
- Command.php
- DeferredProcessCommand.php
- ParsableCommand.php
- ProcessCommand.php
- SynchronusProcessCommand.php
- TemplateCommand.php
- WaitCommand.php
- PshErrorMessage.php
- .hidden.sh
- env.sh
- env2.sh
- bash.sh
- deferred.sh
- env2.sh
- glob.sh
- .psh.xml
- .psh.xml.override
- error.sh
- simple.sh
- very-long-script-name-to-test-padding-works-as-expected.sh
- test.tpl
- .env
- .psh.xml
- glib
- .gitkeep
- .psh.xml
- simple.sh
- test.tpl
- .psh.xml
- simple.sh
- test.tpl
- .psh.xml
- test.sh
- .psh.xml
- override-app.sh
- glob.sh
- .psh.xml
- .psh.xml
- .psh.xml.override
- ApplicationTest.php
- MinApplicationTest.php
- MockWriter.php
- .gitkeep
- .psh.xml
- .psh.xml.dist
- .psh.xml
- .psh.xml.override
- .psh.xml.dist
- .psh.xml.override
- .psh.xml.dist
- .psh.yaml.override
- ConfigFileFinderTest.php
- bar.psh
- description.sh
- foo.sh
- test.sh
- .hidden.sh
- foo.psh
- test.sh
- test.txt
- testing.sh
- ScriptFinderTest.php
- bash.sh
- bash-non-executable.sh
- bash.sh
- bash_include.sh
- better_bash.sh
- deferred.sh
- deferred_with_deferred_error.sh
- deferred_with_sync_error.sh
- environment.sh
- root-dir.sh
- template.sh
- _test_read.tpl
- ProcessExecutorTest.php
- TemplateTest.php
- test-env.sh
- test.sh
- .psh.xml
- .psh.not-supported
- ApplicationFactoryTest.php
- ClimateLoggerTest.php
- ParameterParserTest.php
- .gitkeep
- .buz
- .fiz
- .gitkeep
- .baz
- .fiz
- _test.txt
- _the_template.tpl
- ConfigFileFinderTest.php
- ConfigMergerTest.php
- XmlConfigFileLoaderTest.php
- YamlConfigFileLoaderTest.php
- description.sh
- description_in_non_comment_line.sh
- no_description.sh
- remove_whitespace.sh
- DescriptionReaderTest.php
- ScriptFinderTest.php
- simple.env
- .cmd1.sh
- .cmd2.sh
- concatenate.sh
- empty.txt
- exception_action.sh
- exception_include.sh
- ignore_error.sh
- include_cmd_scripts.sh
- local_action.sh
- local_include.sh
- simple.sh
- template.sh
- tty.sh
- ProcessEnvironmentTest.php
- PshScriptParserTest.php
- ScriptLoaderTest.php
- TemplateEngineTest.php
- .psh.xml
- BlackholeLogger.php
- bootstrap.php
- composer.json
- composer.lock
- composer.json
- composer.lock
- composer.json
- composer.lock
- .gitignore
- .php_cs
- .psh.xml
- box.json
- composer.json
- composer.lock
- deploy.sh
- infection.json.dist
- LICENSE
- phpunit.xml.dist
- psalm.xml
- psh
- README.md
- run.sh
# Installation Guide
1. Get the code
git clone https://github.com/shopware5/psh
Downloads the entire project code from GitHub to your computer.
cd psh
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker build -f docker/72/Dockerfile -t psh .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 psh
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. PHP (Composer)
EasyPrerequisites
composer require shopware/psh --dev
Type this command into your terminal and run it.
composer global require shopware/psh
Type this command into your terminal and run it.
composer install # assuming you have composer installed globally
Installs the PHP libraries listed in composer.json.
composer bin box install # box is needed to build phar file
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
