- What is Pentacraft and what does it do in Laravel?
- Pentacraft is a Composer package by alexandresafarpaim described as a library for fast REST API development in Laravel. It bundles reusable components and helpers intended to speed up PHP web app development and keep the codebase organized and consistent. The listing positions it as convention-over-configuration scaffolding for REST APIs, similar in category to API resource and CRUD scaffolding tools. Verify the exact generated artifacts and runtime behavior before adopting.
- How do I install Pentacraft in a Laravel application?
- It is installed with Composer using composer require alexandresafarpaim/pentacraft. Most Laravel packages of this class register a service provider via auto-discovery and may publish config or stub files, so run vendor:publish if the package provides assets. Because the listing does not show exact setup steps, confirm the service provider, publish tags, and any required environment variables against the README or source. Test installation on a fresh branch first.
- Which Laravel versions does Pentacraft support?
- The listing does not publish explicit illuminate/* constraints, and the last release date shown is 2024-05-07. That makes Laravel 10 and possibly 11 plausible, but compatibility with 11.x point releases and Laravel 12.x is unverified. Check the package composer.json for illuminate/support and illuminate/routing constraints, then run a spike on your exact Laravel minor. Treat version support as unproven until Composer resolves cleanly in your app.
- What PHP version is required for Pentacraft?
- The exact PHP floor is not evident from the package listing. Because it is a Laravel package last released in May 2024, PHP 8.1 or 8.2 is a reasonable starting assumption, but you must confirm the composer.json platform requirement. Run composer why-not or inspect the constraints before adding it to a production application. If your platform is older, expect resolution failures.
- Is Pentacraft a code generator or a runtime dependency?
- The assessment flags this as a key question: the package may either generate code you own as one-shot scaffolding or require a runtime dependency at request time. One-shot scaffolding is materially lower risk because generated controllers, routes, requests, and resources remain in your codebase and can be maintained independently. A runtime dependency is harder to abandon and must be vetted for security and maintenance. Inspect the source and generated output to determine which model applies before committing.
- Can I use Pentacraft in production?
- You can, but the project-health signals are weak: 11 stars, a composite score of 0.055, a single maintainer, and no release in over a year. An abandoned scaffolder is survivable if it only generates code you own; an abandoned runtime dependency is not. There is no evidence of a security policy, CVE history, or dependency audit in the listing. Run a bounded spike, review the license, and avoid cross-cutting adoption until you confirm constraints, tests, and maintenance posture.
- Does Pentacraft conflict with Laravel Sanctum, Passport, or API Resources?
- The listing does not state conflicts, but any package that generates controllers, routes, form requests, and resources can overlap with first-party Laravel tooling. Auth scaffolding may collide with Sanctum or Passport middleware, and response shaping may fight Laravel API Resource conventions. Test against your existing authentication stack, route caching strategy, and response envelope before integrating. If your API contract is OpenAPI-first or JSON:API, expect more friction than acceleration.
- Is Pentacraft suitable for an existing Laravel API or only greenfield projects?
- The assessment recommends it as a greenfield or early-stage accelerator, not a refactor tool. There is no meaningful migration path from an existing API, and adopting its conventions mid-project can conflict with established routing, validation, and error formats. If you try it, confine it to one bounded context such as a new internal service or a CRUD-heavy module. Do not use it as a cross-cutting replacement for existing controllers.
- What are alternatives to Pentacraft for building REST APIs in Laravel?
- First-party Laravel API Resources, route model binding, form requests, and resource controllers cover most scaffolding needs without an extra dependency. Laravel Orion is a commonly cited CRUD/API package in the same category, and OpenAPI-first tooling such as L5-Swagger-adjacent packages fits contract-driven workflows. Pentacraft's differentiator is its bundled conventions and Portuguese-language documentation, not unique capability. Compare generated output and maintenance activity before choosing.
- Is Pentacraft actively maintained, tested, and licensed for internal forking?
- The listing does not show test coverage or a CI matrix, and the license is not stated, so verify both before adoption. Project health signals include 11 stars, a single maintainer, Portuguese-language documentation, and no release since 2024-05-07. Bus factor is effectively one, so plan for internal ownership if you adopt it. If the license permits forking, budget time to fork and maintain your own copy.