Skip to content

Magento2 - Laravel Pint support

License

Notifications You must be signed in to change notification settings

ananth-iyer/magento2-pint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Magento2 - Laravel Pint support

I have recently saw this very interesting project and thought to it will help with Magento 2 developers.

  • It provide pint binary file to execute directly from Magento 2 root directory or move this file to central location to run from anywhere.
  • No need to install with composer.
  • It will not update the packages you have already.
  • It supports PHP 8.0.*

Get Started

  • You have to create a new file pint.json at Magento 2 root and copy the content from repository to that file.
  • Download the pint.phar file from Laravel Pint Github.

Commands to run:

  • php pint.phar --version or -V - to check the pint version
  • php pint.phar --test app/code - to test the code in app/code directory
  • php pint.phar app/code - it applies the fixes to the files.

Useful Links


Credits - Laravel Team

About

Magento2 - Laravel Pint support

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published