Download the PHP package grazulex/laravel-tddraft without Composer

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

Laravel TDDraft

A Laravel package that enables safe Test-Driven Development with isolated draft testing, unique reference tracking, and powerful filtering options for professional TDD workflows.

Latest Version Total Downloads License PHP Version Laravel Version Tests Code Style

๐Ÿ“– Table of Contents

Overview

Laravel TDDraft enables true Test-Driven Development in Laravel applications by providing a separate, isolated testing environment where you can practice the Red-Green-Refactor cycle without affecting your CI pipeline or breaking team builds.

The key innovation is the five-command workflow that separates experimental draft tests from production tests, with powerful filtering and status tracking to manage your TDD process professionally.

๐Ÿ—๏ธ Test Architecture & Isolation

Laravel TDDraft creates a completely separate testing environment that doesn't interfere with your existing test suite:

Key Architectural Benefits:

How Isolation Works:

Standard PHPUnit/Pest Configuration:

TDDraft Tests Run Separately:

This architectural separation ensures that failing TDDraft tests never break your CI builds while you practice the Red-Green-Refactor cycle.

๐ŸŽฏ Why Laravel TDDraft?

TDD is hard to practice in real projects because:

Laravel TDDraft solves these problems with:

โœจ Features

๐Ÿ“ฆ Installation

Install the package via Composer:

๐Ÿ’ก Auto-Discovery
The service provider will be automatically registered thanks to Laravel's package auto-discovery.

Publish configuration:

๐Ÿš€ Quick Start

1. Initialize TDDraft Environment

This sets up the isolated draft testing environment with PHPUnit/Pest configuration.

2. Create Your First Draft Test

Creates a draft test with unique reference tracking:

3. Run Draft Tests with Filtering

4. Manage Tests with Advanced Filtering

5. Promote Mature Tests to CI Suite

๐Ÿ”ง Five-Command TDD Workflow

Laravel TDDraft is built around a structured five-command workflow that enables professional TDD practice:

1. tdd:init - Setup Phase

2. tdd:make - Red Phase (Create Failing Tests)

Options:

Creates draft test with unique tracking reference.

3. tdd:test - Green Phase (Run and Iterate)

Options:

Runs draft tests with automatic status tracking.

4. tdd:list - Review Phase (Manage Tests)

Options:

View and filter all draft tests with their current status.

5. tdd:promote - Graduation Phase (Move to CI)

Options:

Promotes mature tests to main test suite with audit trail preservation.

๐Ÿ” Filter and Group Options

Laravel TDDraft provides powerful filtering capabilities across all commands:

Command-Specific Filters

tdd:list Command Filters

tdd:test Command Filters

Pest Group System

Every draft test is automatically tagged with multiple groups for flexible filtering:

Group Types:

Direct Pest Filtering:

Status-Based Management

Use the status tracking system to filter by test stability:

Reference-Based Operations

Each test gets a unique reference for precise operations:

Advanced Filtering Examples

๐Ÿ“š Documentation

For detailed documentation, examples, and advanced usage, please visit our comprehensive wiki:

๐ŸŒŸ Complete Documentation & Examples Wiki

Quick Links:

๐Ÿ’ก Examples

Basic TDD Workflow

Advanced Usage

For comprehensive examples including:

๐Ÿ‘‰ Visit our Examples Wiki

๐Ÿงช Testing

Laravel TDDraft follows its own philosophy - all tests are organized using the TDD workflow with complete isolation between test environments:

Test Architecture

Running Tests

Test Isolation Benefits

For Package Development:

For Package Users:

Writing Tests for This Package

If you're contributing to Laravel TDDraft itself, follow the same TDD principles:

  1. Write failing tests first
  2. Implement minimal code to make them pass
  3. Refactor while keeping tests green

The package tests itself using the standard Laravel/Pest approach, while providing TDDraft workflow for users.

๐Ÿ”ง Requirements

Optional Dependencies

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

๐Ÿ”’ Security

If you discover a security vulnerability, please review our Security Policy before disclosing it.

๐Ÿ“„ License

Laravel TDDraft is open-sourced software licensed under the MIT license.


Made with โค๏ธ for the Laravel community

Resources

Community Links


All versions of laravel-tddraft with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/support Version ^12.19
nesbot/carbon Version ^3.10
illuminate/contracts Version ^12.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 grazulex/laravel-tddraft contains the following files

Loading the files please wait ....