Download the PHP package marrios/firulincore without Composer
On this page you can find all versions of the php package marrios/firulincore. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package firulincore
Firulin-core v1
From Firulin-core you can create a CLI any way you want, adding new commands easily.
Requeriments
PHP >=7.4
Composer
Get started
Creating new command
Step 1
To create a new command, you can run the command: php firulin cmd: create
ex:
Right after this command is executed, a file called "Hello.php" will be created in CLI/src/Commands. And in it we will create a new function called "world"
We just created a new command called "hello" and a subcommand called "world". It is already running? No! We still need to do some little things
Step 2
Now let's go into the config.php file and add some things
Let's add the command and the subcommand to the "commands" array
And then add the command to the "suggestList" array
Step 3
Now in the boundary.php file, let's add the Hello class
And add a case to the switch with the "hello" command and call your class
Now just run the command: php firulin hello:world. And you will receive:
All versions of firulincore with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package marrios/firulincore contains the following files
Loading the files please wait ....