Hey #laravel dev, today I got to know π about generating API docs π with scribe.
And with a single command I get the beautiful docs generated.
What other options have you tried yet and how was your experience? Letβs discuss below.π
Hey #laravel devs. Have your ever released your personal project with default laravel welcome page and without any seo related things (just want to check how your MVP works on a real web server then testing it on locally).
If yes then what's the moto behind it? Is it learning purpose? And what issue could arise later on π€, when a certain level of traffic is there.
hey #laravel devs,
Did you know running php artisan test executes all your tests and then outputs the results? But there's a cooler way with PestPHP!
π Use -- bail to stop test execution as soon as any test fails! This saves you time by not running the whole test suite when a bug pops up. Game changer, right?
See below, my actual test suite contains 37 tests, but using bail it stopped at 6th test case.
This saved a lot time by not executing further test cases, so i can focus on fixing failing test.
Embrace smarter testing and save precious debugging hours. Happy coding! π»β€οΈ
#laravel #php #pest #testing
hey all, i just started using larastan , for better code analysis, but sometime error like this make me confuse , what to do next.
should i configure php stan to ignore these type of error suggestion or should i configure pint to remove return types, if the function has empty body ?
Thanks @brimmar for nice reply, for now i've removed it.
but keep this tip for future reference.
Anonymously
do i ask question and anybody from pinkary can aswer it would it be possible or not?
i am just exploring pinkary and how it works?