Welcome to claude-code! This tool helps you clean up your PHP and Laravel code, making it easier to read and maintain. Follow these steps to get started.
To get started, visit the Releases page to download the latest version of claude-code.
- Click on this link: Download the latest releases.
- Look for the latest release version.
- Download the file for your system.
Once you have downloaded the plugin, follow these installation instructions to add it to your development environment.
- Open your terminal or command prompt.
- Add the marketplace:
/plugin marketplace add laravel/claude-code - Install the simplifier plugin:
/plugin install laravel-simplifier@laravel
After you successfully install the plugin, you can begin using it in your Laravel projects.
Once you have installed the laravel-simplifier, you are ready to refine your code.
To use the plugin:
- After completing a coding session, head over to your command terminal.
- Type the following command to review your recent changes:
> Review recent changes using the laravel-simplifier agent
- Applies Laravel Standards: The simplifier makes sure your code follows common Laravel conventions.
- Reduces Complexity: It eliminates unnecessary nesting and complicated structures.
- Improves Readability: The tool renames items for better clarity.
- Focus on Recent Changes: By default, it looks at the changes you've made recently.
- Preserves Functionality: Your original code will still work perfectly after simplification.
Ensure that your system meets the following requirements before installation:
- Operating System: Compatible with Windows, macOS, and Linux.
- PHP Version: Ensure you have PHP 7.4 or higher installed.
- Laravel Version: Works with Laravel 6.x and above.
- Disk Space: At least 50 MB free space available for installation.
- Installation Fails: Make sure you’re using the correct terminal and have the necessary permissions.
- Command Not Recognized: Verify that you are in the right folder where the plugin is installed.
- Plugin Not Working Properly: Ensure you have the latest version. You can check for updates on the Releases page.
- Read the Documentation: Familiarize yourself with the documentation in the repository for more details.
- Ask for Help: If you run into issues, consider opening an issue on the GitHub page, and the community can help you.
We welcome contributions from the community! If you have ideas for new features or improvements, feel free to submit a pull request.
- Fork the repository.
- Create a new branch for your feature.
- Make your changes.
- Test your changes.
- Submit a pull request with a description of your modifications.
Check our GitHub page for additional documentation, updates, and information.
Remember, your feedback helps us improve, so don’t hesitate to reach out. Enjoy coding with claude-code!