PHPackages                             spora-ai/spora-maker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. spora-ai/spora-maker

ActiveLibrary[Framework](/categories/framework)

spora-ai/spora-maker
====================

Scaffolder for the Spora project App — generates Tools, Controllers, and the App.php entry class. Inspired by Symfony's MakerBundle. Install as a require-dev dep.

0.1.0(yesterday)010↑2600%MITPHPPHP ^8.4CI passing

Since Jul 1Pushed todayCompare

[ Source](https://github.com/spora-ai/spora-maker)[ Packagist](https://packagist.org/packages/spora-ai/spora-maker)[ RSS](/packages/spora-ai-spora-maker/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (6)Versions (2)Used By (0)

spora-maker
===========

[](#spora-maker)

Scaffolder for the Spora project App — generates Tools, Controllers, and the `app/App.php` entry class. Inspired by Symfony's [`maker-bundle`](https://github.com/symfony/maker-bundle), scoped to the project-local extension model introduced in Spora v0.5.

Install
-------

[](#install)

```
composer require-dev spora-ai/spora-maker
```

The skeleton already wires this up — `composer.json` lists `spora-ai/spora-maker`in `require-dev`. The path repository in the skeleton points at this repo locally; in production it will resolve from Packagist once published.

Commands
--------

[](#commands)

All commands assume the project root as the working directory (matching `bin/spora`'s convention).

### `make:tool `

[](#maketool-name)

```
php bin/spora make:tool WebSearch

```

Creates `app/Tools/WebSearchTool.php` using the `AbstractTool` + `#[Tool]`attribute pattern from `spora-core`. Refuses to overwrite an existing file.

### `make:controller `

[](#makecontroller-name)

```
php bin/spora make:controller MyApi

```

Creates `app/Http/Controllers/MyApiController.php` with a placeholder `index()` method returning a JSON response, and prints the route-registration snippet to paste into `app/App.php` inside `routes(MiddlewareRouteCollector $r)`.

### `make:app`

[](#makeapp)

```
php bin/spora make:app

```

Recreates `app/App.php` from the latest scaffold template. Useful when the file was deleted and the developer wants a fresh reference.

Conventions
-----------

[](#conventions)

- Project-relative paths (`app/Tools/Foo.php`, never absolute).
- No overwrites — `FileManager::dumpFile()` raises `RuntimeException` if a target exists.
- Templates are inline strings, not external files. Keeps the scaffolder dependency-free (only Symfony Console).

Adding a new `make:*`
---------------------

[](#adding-a-new-make)

1. Create `src/Maker/.php` extending `Symfony\Component\Console\Command\Command`and implementing `Spora\Maker\MakerInterface`.
2. Implement `generate(InputInterface, OutputInterface, Generator): void`. Use `$generator->generateFile('relative/path.php', $contents)` to queue.
3. Append the class FQCN to `MakeCommand::MAKERS`.

That's it — no other wiring required.

License
-------

[](#license)

MIT.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance100

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5be6ae8a46a938dbf3d35611aa2724446742020f0eeefdfa94333aa2d0ee40a2?d=identicon)[fabeat](/maintainers/fabeat)

---

Top Contributors

[![fabeat](https://avatars.githubusercontent.com/u/186884?v=4)](https://github.com/fabeat "fabeat (14 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spora-ai-spora-maker/health.svg)

```
[![Health](https://phpackages.com/badges/spora-ai-spora-maker/health.svg)](https://phpackages.com/packages/spora-ai-spora-maker)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.7k](/packages/laravel-framework)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[shopware/storefront

Storefront for Shopware

684.6M228](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M555](/packages/shopware-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
