Skip to content

Conversation

@macbookandrew
Copy link
Contributor

This is entirely the work of @lepikhinb as posted in https://forum.archte.ch/laravel/t/factory-autocompletion

He gave permission here for me to submit this PR.

Add autocompletion to your Laravel factories.

I've created a simple stub that adds some extra docblocks to newly created factories. Publish it to the stubs directory, and the next time you generate a factory, it will contain them.

E8qrMm5X0AI72JV

@GrahamCampbell GrahamCampbell changed the title Factory autocompletion [8.x] Factory autocompletion Sep 2, 2021
@taylorotwell
Copy link
Member

These stubs are customizable so you can publish them add whatever you want to your default stubs.

@macbookandrew
Copy link
Contributor Author

I know, but thought it might be helpful to the community in general.

Thanks anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants