Cool package. I use editorconfig and the PhpStorm built in code style but for teams it would be more useful to have something be installed via composer since not everyone uses PhpStorm. Although I would find Pint more usefult if it automatically ran on file save. Pre-commit hooks and ci/cd pipeline is one thing but running when a file saves would be great.
@@LaravelDaily Github actions are great. However, I was thinking more in lines of git hooks or format a file on save, so the code looks good before it reaches github.
Basically same discussion as with the pronounciation of "GIF". Creator says "Jif" like the peanut butter brand, but most people call it like "gif". The tool will be pronounced with an I as in "eye / I" sooner or later, especially with a beer pint as a logo xD
That's the problem, it's so fragmented that there's no "official" or even "best practice" package. Last time I tried it was this: github.com/OneWayTech/vue2-datatable Since then, I haven't built Vue Datatables, I use Livewire or Filament.
Haven't used it personally. But, from what I've read, you would need Laravel Octane to make speed improvements only as a last resort when you used other improvements.
Maybe the creator has some Dutch or Belgian friends (Spatie?), because how 'pint' is pronounced officially is how a pint (beer) is pronounced in Dutch and Flemish.
It's really awesome. The only downside is that the config file is using json, which unfortunately we couldn't document significant changes for specific code styling. Also, Pint + Insights = 🔥
Why botther so much for something that doens't affect the app ? As much as it works well and is not a cpu/ram waste nothing else matters. The only formater I like is the VSC default one that keep spaces at 2 tabs in rest I consider code formating a waste of dev time.
@@LaravelDaily I work in small team with closed source and proprietary code and some time I make projects for personal clients, all projects are closed source. In case somebody needs to know somthing specific they can ask me whatever the time or day. Formatting is not the same as codding standards. VSC/VS/PhP storms handles formatting for me. Some reasons I don't want to adhere to global programming standards: 1. is my code, I write it as I like, what metter is for it to work 2. if others can't understand it easly the client will come back to me for future changes, this means more work and more income 3. my team will have to ask me or try to understand it so I make them need me 4. I don't follow standrads and norms in general, being social, life, coding. I make my own.
"Pint" such as nuno says it's called is REALLY close to pinto which in portuguese (brazilian, not nuno's mother tongue) is a slang like "dick".... LOL just a little trivia. I usually call it "pAint" with my brazillian colleagues.
Cool package. I use editorconfig and the PhpStorm built in code style but for teams it would be more useful to have something be installed via composer since not everyone uses PhpStorm. Although I would find Pint more usefult if it automatically ran on file save. Pre-commit hooks and ci/cd pipeline is one thing but running when a file saves would be great.
A good idea would be to show how to automate running Pint, for example, when a file is saved or code committed.
Yes, I'm planning videos on Github Actions after the Summer.
@@LaravelDaily Github actions are great. However, I was thinking more in lines of git hooks or format a file on save, so the code looks good before it reaches github.
Also a good topic, adding to my notes.
I use run on save extension from vs code
Out of curiosity, could you show how an extension like that works under the hood? Might be interesting
Oh yess styling convention was much need of a time. Thanks to NUNO
Very helpful... Is this package formats blade files?
Basically same discussion as with the pronounciation of "GIF". Creator says "Jif" like the peanut butter brand, but most people call it like "gif". The tool will be pronounced with an I as in "eye / I" sooner or later, especially with a beer pint as a logo xD
Can you make a video on bootstrap Datatables in Vue JS ?
With which package or tool exactly?
@@LaravelDaily With any package which you recommend .
That's the problem, it's so fragmented that there's no "official" or even "best practice" package. Last time I tried it was this: github.com/OneWayTech/vue2-datatable
Since then, I haven't built Vue Datatables, I use Livewire or Filament.
Thank you for your daily videos. 🤟Can you please shoot a video with explanation of Laravel Octane?
Haven't used it personally. But, from what I've read, you would need Laravel Octane to make speed improvements only as a last resort when you used other improvements.
how do you make it work on windoes? I just get this error after following your video CreateProcess error=193, %1 is not a valid Win32 application
Very nice! Thanks for you content!
Great package, but how to use with no local php install? I mean by the sail command.
Please do you have a roadmap for laravel/php?
github.com/LaravelDaily/Laravel-Roadmap-Learning-Path yes
do you have a video that shows how to make larevel build to export to put online
You mean deploy to live server? I have a few older videos: ruclips.net/user/LaravelDailysearch?query=deploy
@@LaravelDaily yes ... thanks again
That's very good video
This topic has been concerning me for a time, i really need some tool to help me paying attention to Laravel coding standard
Maybe the creator has some Dutch or Belgian friends (Spatie?), because how 'pint' is pronounced officially is how a pint (beer) is pronounced in Dutch and Flemish.
Is there any command that it automatically fixes the styling issues similar to what JavaScript related projects have with Prettier?
phpcbf if your using phpcs
Requires minimum php v8
Yes because lower versions are OFFICIALLY not supported anymore by PHP.
There's also php cs fixer
Mega Pint 🤣
Came here to see this lol
A mega pint
It's really awesome. The only downside is that the config file is using json, which unfortunately we couldn't document significant changes for specific code styling.
Also, Pint + Insights = 🔥
Can you all please mention some useful extension please..
Thanks
does it allow 3 spaces indentation? I like 3 so much, but I am forced to use 2 or 4.. yet 3 is perfect.
its not called pint, but has a logo of a pint of beer
Oh my God...
Gif jif
PHP + Lint = PLINT
Then, PTEST?
what happened with your face, looking very slim
Why botther so much for something that doens't affect the app ? As much as it works well and is not a cpu/ram waste nothing else matters. The only formater I like is the VSC default one that keep spaces at 2 tabs in rest I consider code formating a waste of dev time.
Do you work in a team? Or with an open-source project used by many developers? Then formatting matters A LOT.
“I consider code formatting a waste of dev time” 🤣
@@LaravelDaily I work in small team with closed source and proprietary code and some time I make projects for personal clients, all projects are closed source. In case somebody needs to know somthing specific they can ask me whatever the time or day.
Formatting is not the same as codding standards. VSC/VS/PhP storms handles formatting for me.
Some reasons I don't want to adhere to global programming standards:
1. is my code, I write it as I like, what metter is for it to work
2. if others can't understand it easly the client will come back to me for future changes, this means more work and more income
3. my team will have to ask me or try to understand it so I make them need me
4. I don't follow standrads and norms in general, being social, life, coding. I make my own.
The pint belongs in the Bin ........ it does not solve a real problem or pain points its just an additional nerdy layer
Quality assurance, which is basically a major issue with most programmers.
that's why it's opinionated
"Pint" such as nuno says it's called is REALLY close to pinto which in portuguese (brazilian, not nuno's mother tongue) is a slang like "dick".... LOL just a little trivia. I usually call it "pAint" with my brazillian colleagues.