Skip to content

Usage Flow

When using plug-in instructions, you need to enable the development mode first, then enter the plug-in directory, and directly use the instructions in the plug-in directory.

1. Enable development mode

php artisan fresns

2. Introduce the project path (auto-identify, just enter)

export /path/to/project/vendor/bin

3. Go to the plugin directory

  • Create a plugin called DemoPlugin
fresns new DemoPlugin
  • Go to the plugin DemoPlugin directory
fresns enter DemoPlugin
  • Back to the fresns root directory
fresns back

4. Execute development

Execute development, management, and control commands in the plugin directory

Released under the Apache-2.0 License