PHPackages                             mdarmancse/autolara - 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. mdarmancse/autolara

ActiveLibrary[Framework](/categories/framework)

mdarmancse/autolara
===================

Auto CRUD generation with Repository Pattern

v3.0.2(1y ago)319MITPHPPHP &gt;=8.0

Since Feb 21Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (4)Used By (0)

AutoLara - Laravel Auto CRUD Generator
======================================

[](#autolara---laravel-auto-crud-generator)

AutoLara is a Laravel package that automatically generates CRUD operations, including models, migrations, controllers, repositories, and routes based on a simple Artisan command.

Features
--------

[](#features)

- 🔹 Generates Model, Migration, Controller, Repository, and Form Requests.
- 🔹 Updates Routes automatically.
- 🔹 Runs migration after generation.
- 🔹 Uses stub templates for customization.

Installation
------------

[](#installation)

Run the following command to install AutoLara:

```
composer require mdarmancse/autolara
```

Usage
-----

[](#usage)

Run the following command to generate CRUD for a model with specified fields:

```
php artisan autolara:crud ModelName field1:type field2:type ...
```

### Example:

[](#example)

```
php artisan autolara:crud Product name:string price:integer is_active:boolean
```

### Expected Output:

[](#expected-output)

```
🔄 Generating CRUD for: Product
✅ Model created: Product
✅ Migration created: products
✅ Repository for Product generated.
✅ Controller created: ProductController
✅ Form request for Product generated.
✅ Routes for Product updated.
⚡ Running Migration...
✅ Migration successful.

```

Stubs Customization
-------------------

[](#stubs-customization)

You can customize the stub templates by copying them to `resources/stubs/`:

```
mkdir -p resources/stubs
cp -r vendor/mdarmancse/autolara/stubs resources/stubs
```

Then modify the stub files inside `resources/stubs/` to fit your project requirements.

Available Field Types
---------------------

[](#available-field-types)

The package supports the following field types:

- `string`
- `integer`
- `boolean`
- `text`
- `date`
- `datetime`
- `float`
- `double`

Troubleshooting
---------------

[](#troubleshooting)

### 1. Stub File Not Found Error

[](#1-stub-file-not-found-error)

If you encounter this error:

```
❌ Error: Stub file not found: vendor/mdarmancse/autolara/stubs/model.stub

```

Try running:

```
php artisan config:clear && php artisan cache:clear
```

If the issue persists, ensure that the stub files exist in the `vendor/mdarmancse/autolara/stubs/` directory.

### 2. Migration File Not Found Error

[](#2-migration-file-not-found-error)

If you see:

```
❌ Error: File does not exist at path database/migrations/xxxx_xx_xx_xxxxxx_create_products_table.php

```

Manually run:

```
php artisan migrate
```

---

🚀 **Happy Coding!**

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance41

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Every ~0 days

Total

3

Last Release

497d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/65160577?v=4)[Md Arman Ullah](/maintainers/mdarmancse)[@mdarmancse](https://github.com/mdarmancse)

---

Top Contributors

[![mdarmancse](https://avatars.githubusercontent.com/u/65160577?v=4)](https://github.com/mdarmancse "mdarmancse (34 commits)")

### Embed Badge

![Health badge](/badges/mdarmancse-autolara/health.svg)

```
[![Health](https://phpackages.com/badges/mdarmancse-autolara/health.svg)](https://phpackages.com/packages/mdarmancse-autolara)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M307](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

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

The official AI SDK for Laravel.

1.0k3.2M201](/packages/laravel-ai)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[illuminate/routing

The Illuminate Routing package.

1419.2M3.0k](/packages/illuminate-routing)[laravel/surveyor

Static analysis tool for Laravel applications.

86121.4k13](/packages/laravel-surveyor)

PHPackages © 2026

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