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.
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.
Is a simple library for creating command line scripts in PHP.
Features
Create good looking PHP command line scripts.
Built-in commands to make web development much easier.
Easy integration with any PHP frameworks.
Installation
You can install via composer.
Copy the atmos file from vendor/jameslevi/atmos to root directory.
Create a new folder named commands in your root directory.
Getting Started
Generate a new command file.
Open the generated PHP command file and write your code inside the main method.
Test the command.
Call Specific Methods
Add new protected method in your command file. For this example let's say "generate".
Call this method using this command.
Arguments
You can use parameters supplied from the command line.
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
Log - Print a simple message.
Success - Print a success message.
Error - Print an error message.
Info - Print an info message.
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.
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 ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.