facade-documenter icon indicating copy to clipboard operation
facade-documenter copied to clipboard

Laravel's Facade docblock generator.

Facade Documenter

# Configure composer
composer config repositories.facade-documenter vcs [email protected]:laravel/facade-documenter.git

# Install the package
composer require --dev laravel/facade-documenter:dev-main

# Update the docblocks:
php -f vendor/bin/facade.php -- \
    Illuminate\\Support\\Facades\\App \
    Illuminate\\Support\\Facades\\Artisan \
    Illuminate\\Support\\Facades\\Auth \
    ...

# Lint the docblocks:
php -f vendor/bin/facade.php -- --lint \
    Illuminate\\Support\\Facades\\App \
    Illuminate\\Support\\Facades\\Artisan \
    Illuminate\\Support\\Facades\\Auth \
    ...