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

sh
php artisan fresns

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

sh
export /path/to/project/vendor/bin

3. Go to the plugin directory

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

4. Execute development

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

Released under the Apache-2.0 License