This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
Here are the steps to create an artisan command that will generate custom classes and interfaces that follow a pre-determined template. For Laravel projects I write utility classes and interfaces to abstract away the logic; these files go into subdirectories within app/Utilities/ (of course it can be anything). Let’s say you want to write FooUtility for something. My usual workflow is this:…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.