JaiveerChavda
JaiveerChavda

jaiveer chavda

@JaiveerChavda

php and laravel artisan

β€’ β€’ 15 Posts β€’ 499 Views

  • No matching results...
  • Searching...

/ 255

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.πŸ‘‡

β€’ β€’

114

β€’

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.

β€’ β€’

114

β€’

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 β€’ β€’

143

β€’

I am glad that you found it helpfull

β€’ β€’

119

β€’

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 β€’ β€’

276

β€’

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

β€’ β€’

45

β€’
?

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

β€’ β€’

622

β€’