Skip to content

Conversation

devanshp1
Copy link

@devanshp1 devanshp1 commented Oct 5, 2025

Description:

This PR adds Laravel Pint to the project and sets up automated code style checks.

  • Added pint.json configuration file to define code style rules currently following laravel preset can be customized.
  • Created a GitHub Actions workflow to run Laravel Pint with the --test option on pull requests and push to the branches.
  • Composer autoload was scanning all directories due to the ./.. mentioned in autload changed it to scan the current directory only. due to this installation in a docker instance was causing permission issues.
  • Ran Laravel Pint to fix existing code style issues throughout the codebase.

This can help maintain the code and easier to read for other developers too.

Since you guys don't have anything mentioned for contributing to this repo i've made this PR in resepct to the 2.x branch

- initialize pint.json can be changed to specify other rules too
- setup pint with --test option in workflow
@devanshp1
Copy link
Author

devanshp1 commented Oct 6, 2025

Hi @themodernpk ,

Do you guys have plan to include this repository in the hacktoberfest project?
If you do decide to merge this PR can you add hacktoberfest or hacktoberfest-accepted label to this PR so it can count to that

Really appreciate this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant