Download the PHP package lumiio/cascadedocs without Composer

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

CascadeDocs

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Automatically generate and maintain comprehensive documentation for your Laravel codebase using AI. CascadeDocs analyzes your code, organizes it into logical modules, and creates multi-tier documentation that stays in sync with your development.

Why CascadeDocs?

Modern codebases grow complex quickly. New team members struggle to understand the system architecture. Documentation becomes outdated the moment it's written. CascadeDocs solves these problems by:

Perfect for AI-Powered Development

When using coding assistants like Claude Code, Cursor, or GitHub Copilot, context is everything. CascadeDocs provides:

Instead of copying random files and hoping for the best, you can give your AI assistant exactly the context it needs to understand where new features should go and how they should be implemented.

Key Features

Quick Start

Installation

Setup

  1. Publish the AI provider configuration:

  2. Add your AI credentials to .env:

  3. Publish CascadeDocs configuration:

Generate Documentation

Run these commands in order for a complete documentation setup:

Important: If you're using queue processing, wait for each command's jobs to complete before running the next command. Monitor your queue with php artisan queue:work or check your queue dashboard.

Your documentation is now available in docs/source_documents/.

Documentation Workflow

Initial Setup

When starting with a new codebase, run these commands in order, waiting for queue jobs to complete between each step:

Why wait between steps?

Keeping Documentation Updated

As your code evolves:

The update command:

Documentation Structure

Command Reference

Class Documentation

Module Documentation

Understanding the Module Workflow

CascadeDocs uses modules to group related files together. The module system has two distinct phases:

  1. Module Assignment - Deciding which files belong to which modules
  2. Documentation Generation - Creating documentation for those modules

Important: The update-all-modules command only updates documentation for existing modules with already-assigned files. It does NOT create new modules or assign unassigned files.

Complete Module Workflow

This command orchestrates the entire process:

  1. Analyzes module structure (skipped if already done)
  2. Assigns unassigned files to modules
  3. Syncs module assignments
  4. Updates all module documentation
  5. Shows final module status

Manual Module Management

For more control over module creation:

Interactive Assignment

For maximum control:

Other Module Commands

Update Documentation

Utility Commands

Configuration

The config/cascadedocs.php file controls:

Module Granularity

The modules.granularity setting controls how the AI organizes files into modules:

You can also set this via environment variable:

Tracking Files

CascadeDocs maintains several files to track state and enable efficient updates:

docs/module-assignment-log.json

Caches the AI's module organization analysis to maintain consistency across runs. This includes which files are assigned to which modules and any unassigned files.

docs/source_documents/modules/metadata/*.json

Individual module metadata including file assignments, summaries, and documentation status.

Documentation Files (YAML Frontmatter)

Each documentation file in docs/source_documents/full/ contains YAML frontmatter with:

This embedded metadata enables CascadeDocs to detect when files have changed since their documentation was last generated.

These files should be committed to your repository to maintain state across team members.

Programmatic Usage

Best Practices

  1. Start with class documentation - This provides the foundation for module organization
  2. Review module assignments - The AI makes intelligent suggestions, but you can manually adjust
  3. Use queues for large codebases - Prevents timeouts and improves performance
  4. Commit tracking files - Ensures consistent documentation across your team
  5. Run updates regularly - Keep documentation in sync with code changes

Troubleshooting

"No modules found"

Run php artisan cascadedocs:generate-class-docs first to create the base documentation.

"No modules have undocumented files" but I have unassigned files

This is a common confusion. The update-all-modules command only updates documentation for files that are already assigned to modules. To handle unassigned files:

  1. Run php artisan cascadedocs:module-status to see unassigned files
  2. Run php artisan cascadedocs:assign-files-to-modules --auto-create to assign them to modules
  3. THEN run php artisan cascadedocs:update-all-modules to generate their documentation

Remember: Module assignment and documentation generation are separate steps!

"AI response contains placeholder text"

The AI model is returning incomplete responses. Try using a different model (e.g., GPT-4 instead of GPT-3.5, or Claude instead of OpenAI).

Rate limit errors

Memory issues

Requirements

Testing

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of cascadedocs with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0
illuminate/console Version ^10.0||^11.0||^12.0
illuminate/filesystem Version ^10.0||^11.0||^12.0
illuminate/support Version ^10.0||^11.0||^12.0
illuminate/queue Version ^10.0||^11.0||^12.0
shawnveltman/laravel-openai Version ^1.0||^2.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 lumiio/cascadedocs contains the following files

Loading the files please wait ...