Repository: configuredco/haulable Branch: main Commit: a8526c260d7b Files: 26 Total size: 17.2 MB Directory structure: gitextract_gek_81al/ ├── .editorconfig ├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── app/ │ ├── Commands/ │ │ ├── .gitkeep │ │ └── Package.php │ ├── Enums/ │ │ └── Platform.php │ └── Providers/ │ └── AppServiceProvider.php ├── bootstrap/ │ └── app.php ├── box.json ├── builds/ │ └── haulable ├── composer.json ├── config/ │ ├── app.php │ ├── commands.php │ ├── filesystems.php │ └── view.php ├── haulable ├── phpunit.xml.dist ├── pint.json ├── resources/ │ └── views/ │ ├── error.blade.php │ ├── intro.blade.php │ └── packaging-successful.blade.php └── tests/ ├── CreatesApplication.php ├── Pest.php └── TestCase.php ================================================ FILE CONTENTS ================================================ ================================================ FILE: .editorconfig ================================================ root = true [*] charset = utf-8 end_of_line = lf insert_final_newline = true indent_style = space indent_size = 4 trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false [*.yml] indent_style = space indent_size = 2 ================================================ FILE: .gitattributes ================================================ * text=auto eol=lf /.github export-ignore .scrutinizer.yml export-ignore BACKERS.md export-ignore CONTRIBUTING.md export-ignore CHANGELOG.md export-ignore ================================================ FILE: .gitignore ================================================ /vendor /.idea /.vscode /.vagrant .phpunit.result.cache macos_intel macos_apple linux_x86_64 linux_aarch64 windows_x64 ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2023 Joe Campo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: README.md ================================================

Total Downloads Latest Stable Version License

![image](https://user-images.githubusercontent.com/3619398/228083152-5758103f-c27b-4d53-a1d5-c3287ee05949.png) Haulable is a CLI tool that packages your existing PHP CLI Phar with [PHP Micro CLI](https://github.com/dixyes/phpmicro) for MacOS (Apple/Intel), Linux, and Windows. This enables your existing PHP CLI app built with something like [Laravel Zero](https://github.com/laravel-zero/laravel-zero) to be truly portable as the end user will no longer need PHP to be installed to run your application. ### Requirements * Haulable currently only runs on MacOS/Linux; however, it will package your CLI for Windows. * Your CLI application must be built using PHP8.0+ ### Installation To install Haulable, you can use `composer` to install globally, or you can use the Phar directly by downloading the latest build. ```bash composer global require configured/haulable ``` ### Usage To use Haulable, once installed, you can simply run `haulable your_cli_app.phar`. Haulable will then ask you for what target system(s) you'd like to package your CLI app for. ![image](https://user-images.githubusercontent.com/3619398/228088979-4d0e06ab-20c3-4a61-a238-9122735db086.png) #### Options Haulable accepts options and arguments to make it easier to use in CI pipelines ##### Platform An option can be one of the following: * All Platforms * MacOS (Intel) * MacOS (Apple) * Linux (x86_64) * Linux (aarch64) * Windows (x64) ```bash haulable your_cli_app.phar --platform="