Download the PHP package jameslevi/atmos without Composer

On this page you can find all versions of the php package jameslevi/atmos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package atmos

Atmos

Is a simple library for creating command line scripts in PHP.

Features

  1. Create good looking PHP command line scripts.
  2. Built-in commands to make web development much easier.
  3. Easy integration with any PHP frameworks.

Installation

  1. You can install via composer.

  2. Copy the atmos file from vendor/jameslevi/atmos to root directory.
  3. Create a new folder named commands in your root directory.

Getting Started

  1. Generate a new command file.

  2. Open the generated PHP command file and write your code inside the main method.

  3. Test the command.

Call Specific Methods

  1. Add new protected method in your command file. For this example let's say "generate".

  2. Call this method using this command.

Arguments

  1. You can use parameters supplied from the command line.

  2. You can call this method using this command.

Alias

You can set an alias for your command by setting a protected variable named "alias" in the command class.

The command below will execute generate method.

Console Messages

  1. Log - Print a simple message.

  2. Success - Print a success message.

  3. Error - Print an error message.

  4. Info - Print an info message.

  5. Warning - Print a warning message.

Call Multiple Commands

Very useful if you want to call multiple commands in just a single command. The order of execution of each command depends on the order of values in array.

Start Built-in PHP Server

You can now start PHP server using atmos commands. This command will start the server at port 8080.

Contribution

For issues, concerns and suggestions, you can email James Crisostomo via [email protected].

License

This package is an open-sourced software licensed under MIT License.


All versions of atmos with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
jameslevi/stencil Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jameslevi/atmos contains the following files

Loading the files please wait ....