PHPSandbox CLI is built using Laravel Zero and this makes it very easy for anyone coming from a Laravel background to get to contributing straight away.
- The
app
directory contains the application logic and it is where all classes are expected to be placed app/Services
directory is where Service classes are placed. Ideally complex tasks are not expected to be completely run in the console classes. Service classes are created so the console classes primary handle input and outputapp/Traits
directory is where all traits are placedapp/Contracts
directory is where interfaces are placedapp/Commands
is where all console classes are placedapp/Exceptions
is where all exception classes are placedapp/Http
contains the Client class- The
config
directory contains all configuration files and more can be added only if required