Download the PHP package julio/capyrel without Composer

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

Capyrel

Schema intelligence for Laravel. Describe your project in plain English, or point Capyrel at an existing database — it handles models, migrations, controllers, routes, API specs, tests, and more.

Laravel 11 & 12 · PHP 8.2+ · MySQL · PostgreSQL · SQLite · MongoDB


Two modes

Mode When to use Entry point
New project Starting fresh, no database yet php artisan capyrel:new
Existing database DB already exists, need the boilerplate php artisan model:scaffold

Quick start — new project

Capyrel writes:

Then run:


Quick start — existing database


Project examples

Blog platform

Generated in ~30 seconds:


E-commerce store


SaaS with teams + subscriptions


REST API only


All commands

New project wizard

The wizard:

  1. Detects your installed packages (Livewire, Scout, Sanctum, Spatie, Cashier, Filament)
  2. Parses your description into entities using NLP (Python 3, stdlib only) or PHP heuristics
  3. Matches each entity to an archetype (20+ archetypes: post, product, order, user, invoice…)
  4. Shows proposed fields in an interactive table — add, remove, rename, toggle soft deletes
  5. Loops: "Add another model?" until you're done
  6. Writes models + migrations

Existing database scaffolding

Writes to each model:

Writes to each controller:


Relationship map


API layer

StorePostRequest.php (auto-generated):

Rule inference: varchar(255)max:255 · nullable → removes required · *_id FK → exists:table,id · unique index → Rule::unique() · column email → adds email rule · column *_url → adds url rule


Tests

Generated Pest test:


Factories + Seeders

Column-aware: emailfake()->email() · *_atfake()->dateTime() · booleanfake()->boolean() · decimalfake()->randomFloat(2, 1, 999) · *_id FK → uses related factory


Architecture layer


Real-time + integrations


Contract generation


Safety + ops


Utilities


Flash notifications

Every generated view includes <x-capyrel-flash /> — a zero-dependency toast component registered by Capyrel's service provider. No setup required.

Session flashes work automatically:

Programmatic (from JS):

From AJAX handlers (used internally by generated forms):

Supported types: success · error · warning · info

Features: slide-in animation · color-matched progress bar · close button · dark mode (data-theme, data-bs-theme, .dark)


Health check

Every model:scaffold and capyrel:audit run checks your schema:

Check What it finds
N+1 risk Relationship access without eager loading
Missing index FK columns with no index — full table scan
Orphan FK *_id columns pointing to tables that don't exist
Inverse missing One-sided relationship — A→B defined, B→A not
Naming conflict Generated method name clashes with existing method
Soft-delete drift deleted_at column without SoftDeletes trait
Eager load depth hasManyThrough chains 3+ levels deep
Circular dependency Self-referential eager load that would loop
Cascade risk FK with no ON DELETE rule
Dead relationship Defined but never referenced anywhere
Fillable drift $fillable fields that don't exist in the table
Morph registry morphTo without Relation::morphMap()

Python NLP helper

capyrel:new optionally calls python/capyrel_nlp.py (bundled, stdlib only — no pip installs) for richer entity and field detection:

Falls back to PHP heuristics automatically if Python 3 is not available, or pass --no-python to always use PHP.


Database support

Database Schema reading FK detection Index detection
MySQL / MariaDB
PostgreSQL
SQLite
MongoDB ✓ (document sampling + migration fallback) ✓ (convention)

Configuration

config/capyrel.php controls:


Requirements


License

MIT


All versions of capyrel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^11.0|^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 julio/capyrel contains the following files

Loading the files please wait ...