PHPackages                             jimchen/script - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. jimchen/script

ActiveProject[CLI &amp; Console](/categories/cli)

jimchen/script
==============

Simple to write script in PHP.

v1.0.0(7y ago)16MITPHPPHP &gt;=7.0

Since Oct 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/JimChenWYU/script)[ Packagist](https://packagist.org/packages/jimchen/script)[ RSS](/packages/jimchen-script/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Script
======

[](#script)

Simple to write script in PHP.

Installing
----------

[](#installing)

```
$ composer create-project jimchen/script script --prefer-dist
```

Usage
-----

[](#usage)

#### Create a command file

[](#create-a-command-file)

```
$ cd script/
```

```
$ php artisan make:command HelloCommand  // Create a file named `HelloCommand` in `app/Commands`
```

#### Write your command file

[](#write-your-command-file)

In `app/Commands/HelloCommand.php`

```
