Before you can start using phpkg to manage your application's dependencies, you'll need to do some initial setup.
init command can help you do this quickly and easily.
To initialize your application for use with
phpkg, simply run the following command in your project's root directory:
This command will create the following files and directories:
phpkg.config.jsonfile, which contains the configuration settings for your application.
phpkg.config-lock.jsonfile, which is used to keep track of the packages that have been added to your application.
If you prefer to use a different directory name for storing added packages, you can specify it when you run the init command. For example:
phpkg init --packages-directory=vendor
Once your application has been initialized, you can start customizing your
phpkg.config.json file to suit your needs.
For more information on how to do this, see the customization documents.