Download the PHP package grosv/stubby without Composer

On this page you can find all versions of the php package grosv/stubby. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package stubby

Stubby for Laravel

Recipes for the things Artisans Make

I'm allergic to repetition. I notice myself doing things over and over all day long and it actually causes me physical pain. So from time to time, I take a day to improve how I get things done. The workflow I created with this package has saved me countless hours of mindless typing and clicking.

Instead of creating, for instance, a controller, a blade template, and a feature test in 3 steps, I run a single command: php artisan new controller MyController. It creates the three files I need and opens them in PHPStorm for me. As an added bonus, it opens the routes/web.php file in PHPStorm so I can add my new route easily.

Stubby is a package that contains my customized stubs and recipes for creating new stuff fast. It's by no means a complete solution for every developer. It covers the stuff I create the most and does it in a way that works well for me. This very easy to customize package operates mostly by running multiple existing commands in sequence to do things in a fraction of the time it would normally take.

Installation

If you love my recipes and customized stubs, then you can skip to the "How To Use" section. Otherwise, you'll need this:

Customization

The way to customize this is to fork it. Then you can add a repository to your composer.json file to load your own fork into your project like so:

Once you've done that, clone your forked repo and make it great for you. The customizations available to you are recipes (in src/StubbyCommand.php) and the stubs (in stubs/).

How To Use

Assuming you haven't made any modifications to my recipes or stubs, start with publishing the stubs. Some of these overwrite stubs provided by Laravel and other popular packages. Some are my own creations. This command will forcefully overwrite any files that already exist in the stubs/ folder of your Laravel app (where stubs are placed when you run php artisan stub:publish) with the contents of the stubs/folder of this package.

If you're like me, you want your files opened for you immediately upon creation. To that end, set a value in .env to correspond to the command your IDE uses to open a file. This is for my PHPStorm setup:

If you want to be super quick about it, just run php artisan new ide {file_open_command} (so php artisan new ide pstorm for PHPStorm or php artisan new ide sublime for Sublime Text) and I'll just append it to your .env file for you.

Then you can create stuff by running the recipes like this:

Powering Up

I'm pro-alias. I created this alias to make my development time a true delight.

Which means, for instance, that I can type new model Order and I get database/migrations/xxxx_xx_xx_xxxxxx_create_orders_table.php, database/factories/OrderFactory.php, and app/Order.php in a split second, all three automatically opened in my IDE.


All versions of stubby with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
illuminate/support Version >7.0
titasgailius/terminal Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package grosv/stubby contains the following files

Loading the files please wait ....