Download the PHP package fadllabanie/laravel_unittest_generator without Composer

On this page you can find all versions of the php package fadllabanie/laravel_unittest_generator. 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 laravel_unittest_generator

Laravel Unit Test Generator

Supercharge your Laravel application's testing workflow with the laravel-generator package. This dynamic toolkit is your steadfast ally in creating robust unit tests with a touch of magic!

๐Ÿš€ Installation

Time to bring the laravel-generator into your project. Cast these spells with Composer:

Invoke the artisan to publish your configs:

Finally, migrate to shape your database's destiny:

๐Ÿ”ง Configuration

For the enchantment to work, your models must be imbued with these arcane properties:

Supported data types include: string, text, integer, float, date, image, datetime, boolean, password, email, token, belongsTo

๐Ÿ“– Usage

With the package now part of your repository, conjure unit tests for your models with a simple artisan command:

๐Ÿ“– NOTE:

๐ŸŽ›๏ธ Options

Fine-tune your unit test generation with these options:

โœจ Features

๐Ÿงช Generate Factories

The command transmutes your model properties into a factory class, paving the way for effortlessly creating test data:

๐Ÿ”’ Generate Request Validation Tests

Strengthen your application's defenses by automating Request Validation tests:

๐Ÿ› ๏ธ Generate Controller with Action Pattern

Embrace clean architecture by splitting controller logic into dedicated Action classes:

๐Ÿ’ก The Magic Behind the Trait

Our Error Logging Trait is your silent guardian, logging every misstep in the shadows so your app never falters.

Benefits

How to Generate

To arm your controllers with our trait, simply integrate it with:

๐Ÿ“œ Known Issues

Ensure your models are correctly named and that your composer.json pathways are prophesied correctly. The $fillable and $fillableType must be declared to conjure tests properly.

๐Ÿ“š Contributing

Join our coven of contributors! Whether it's fixes, enhancements, or new features, your pull requests shall be greeted with a feast.


This README not only guides users through the mystical arts of unit test generation but also conveys the magical essence of the package. It aims to engage developers by blending technical instructions with thematic charm.


All versions of laravel_unittest_generator with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
illuminate/support Version ^8.0|^9.0|^10.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 fadllabanie/laravel_unittest_generator contains the following files

Loading the files please wait ...