JaiveerChavda
JaiveerChavda

jaiveer chavda

@JaiveerChavda

php and laravel artisan
17 Posts 998 Views
  • No matching results...
  • Searching...

/ 255

Poll Options

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.👇

127

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.

125

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
image

1

147

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 ?

image

5

279

Thanks @brimmar for nice reply, for now i've removed it.
but keep this tip for future reference.

48

?

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?

I don't know 😕 may be @MrPunyapal can answer it

625