Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/satrun77/moo-command
Commands to help you manage local development environment for PHP
https://github.com/satrun77/moo-command
command-line developer-tools docker docker-compose laravel php silverstripe
Last synced: 10 days ago
JSON representation
Commands to help you manage local development environment for PHP
- Host: GitHub
- URL: https://github.com/satrun77/moo-command
- Owner: satrun77
- License: mit
- Created: 2016-09-23T21:03:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-02T09:55:42.000Z (9 months ago)
- Last Synced: 2024-04-09T12:10:59.673Z (7 months ago)
- Topics: command-line, developer-tools, docker, docker-compose, laravel, php, silverstripe
- Language: PHP
- Homepage:
- Size: 2.41 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Moo Development Console
Commands to help you manage local development environment.
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-8892BF.svg?style=flat-square)](https://php.net/)
Installation
--------------------```bash
$ wget https://github.com/satrun77/moo-command/releases/download/v1.0.0-alpha9/moo.phar$ chmod +x moo.phar
$ mv moo.phar /usr/local/bin/moo
```Development
--------------------- Clone the source code.
- Run the installer from the root directory of the source code `./install.sh`> Note: the installer is going to install [pharcc](https://github.com/cbednarski/pharcc/releases/download/v0.2.3/pharcc.phar), if it does not exists.
Usage
--------#### Available commands:
Name | Details
------------ | -------------
commit |Git Commit wrapper to standardise the commit messages.
csfixer |Execute php-cs-fixer on selected paths.
help |Displays help for a command
list |Lists commands
qcode |Check source code using tool such as, Mess Detector, Copy/Paste Detector, PHP Parallel Lint, & Security Advisories.
faq |Display FAQs.
ws:build |Build or rebuild services for a site within the workspace. A wrapper to docker-compose build command.
ws:clean |Execute specific commands to free up unwanted space such as, removing old containers, or dangling images.
ws:composer |Execute PHP composer command inside the composer container.
ws:cp |Copy a file from host machine to a docker container or download from a docker container. A wrapper to docker cp command.
ws:hosts |Update the host file in user machine (/etc/hosts) with the docker IP address and the host names setup for all of the sites in workspace.
ws:ip |Display the docker machine IP address.
ws:ips |Display the IP addresses selected for each of the active docker containers.
ws:log |View output from container or containers. A wrapper for docker-compose logs.
ws:new |Create a new site. Create all of the files needed for the docker containers.
ws:proxy |Build the proxy container if not exists or start the container.
ws:rm |Remove stopped containers for a site within the workspace. A wrapper for docker-compose rm.
ws:sites |Display list of available sites and their statuses.
ws:ssh |SSH into a container for a site within the workspace.
ws:sh |Execute a command inside a container for a site within the workspace.
ws:start |Create and start containers for a site within the workspace. A wrapper to docker-compose up.
ws:stat |Display a live stream of container(s) resource usage statistics.
ws:stop |Stop services for a site within the workspace. A wrapper to docker stop command.
ws:fe |Execute a frontend commands to build or watch assets.License
-------Moo Command is licensed under the [MIT License](LICENSE.md).