https://github.com/owenvoke/laravel-zero-docker
A Laravel Zero command to generate a Dockerfile using Box
https://github.com/owenvoke/laravel-zero-docker
docker laravel laravel-zero php
Last synced: 3 months ago
JSON representation
A Laravel Zero command to generate a Dockerfile using Box
- Host: GitHub
- URL: https://github.com/owenvoke/laravel-zero-docker
- Owner: owenvoke
- License: mit
- Created: 2020-11-17T08:54:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T13:07:48.000Z (about 1 year ago)
- Last Synced: 2025-03-28T02:38:17.835Z (3 months ago)
- Topics: docker, laravel, laravel-zero, php
- Language: PHP
- Homepage: https://packagist.org/packages/owenvoke/laravel-zero-docker
- Size: 28.3 KB
- Stars: 28
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel Zero Docker
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-github-actions]][link-github-actions]
[![Static Analysis][ico-static-analysis]][link-static-analysis]
[![Total Downloads][ico-downloads]][link-downloads]
[![Buy us a tree][ico-treeware-gifting]][link-treeware-gifting]A Laravel Zero command to generate a Dockerfile using Box
## Install
Via Composer
```bash
$ composer require --dev owenvoke/laravel-zero-docker
```Then register `OwenVoke\LaravelZeroDocker\DockerServiceProvider` in your `config/app.php` file:
```php
'providers' => [
\OwenVoke\LaravelZeroDocker\DockerServiceProvider::class,
]
```## Usage
Once you have built your Phar using `app:build`, you can run `app:docker` and the `Dockerfile` will be generated in the `builds/` directory.
```bash
php application app:docker
```## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Testing
```bash
$ composer test
```## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Owen Voke][link-author]
- [All Contributors][link-contributors]## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Treeware
You're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.
It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
You can buy trees [here][link-treeware-gifting].
Read more about Treeware at [treeware.earth][link-treeware].
[ico-version]: https://img.shields.io/packagist/v/owenvoke/laravel-zero-docker.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-github-actions]: https://img.shields.io/github/actions/workflow/status/owenvoke/laravel-zero-docker/tests.yml?branch=main&style=flat-square&label=Tests
[ico-static-analysis]: https://img.shields.io/github/actions/workflow/status/owenvoke/laravel-zero-docker/static.yml?branch=main&style=flat-square&label=Static%20Analysis
[ico-downloads]: https://img.shields.io/packagist/dt/owenvoke/laravel-zero-docker.svg?style=flat-square
[ico-treeware-gifting]: https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen?style=flat-square[link-packagist]: https://packagist.org/packages/owenvoke/laravel-zero-docker
[link-github-actions]: https://github.com/owenvoke/laravel-zero-docker/actions
[link-static-analysis]: https://github.com/owenvoke/laravel-zero-docker/actions/workflows/static.yml
[link-downloads]: https://packagist.org/packages/owenvoke/laravel-zero-docker
[link-treeware]: https://treeware.earth
[link-treeware-gifting]: https://ecologi.com/owenvoke?gift-trees
[link-author]: https://github.com/owenvoke
[link-contributors]: ../../contributors