PHPackages                             tarsoft/laravel-auto - 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. tarsoft/laravel-auto

ActiveLibrary[Framework](/categories/framework)

tarsoft/laravel-auto
====================

A package to auto-generate CRUD for Laravel models

02PHP

Since Nov 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tarsofttech/laravel-auto)[ Packagist](https://packagist.org/packages/tarsoft/laravel-auto)[ RSS](/packages/tarsoft-laravel-auto/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Auto by TARSOFT
=======================

[](#laravel-auto-by-tarsoft)

[![Laravel Auto Logo](icon/Laravel_Auto.png)](icon/Laravel_Auto.png)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8baca8931c2b71cd76e3e9019637937e2e375c94d23fb77940ac1e67cf19ffed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746172736f66742f6c61726176656c2d6175746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tarsoft/laravel-auto)[![Total Downloads](https://camo.githubusercontent.com/905e576e46d056bdf3eb552d01b6b3e89a5d0574c1f069cd3f4f8e01ec345b63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746172736f66742f6c61726176656c2d6175746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tarsoft/laravel-auto)[![GitHub](https://camo.githubusercontent.com/5dd507104c7939d40c26c04f84a0eca2a5a11628cc0b7f6ae9ff1ec52650190a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f746172736f66742f6c61726176656c2d6175746f3f7374796c653d666c61742d737175617265)](LICENSE.md)

Description
-----------

[](#description)

**Laravel Auto** is a package designed to automate CRUD (Create, Read, Update, Delete) generation for Laravel applications, making it quick and efficient to scaffold models, controllers, views, and routes with a single command. It supports both web and API generation, allowing developers to focus on application logic rather than repetitive setup.

Motivation
----------

[](#motivation)

The process of building CRUD operations is crucial for most applications but can be time-consuming and repetitive. **Laravel Auto** solves this by automating CRUD generation, ensuring consistency across projects and aligning with Laravel's best practices. This package is developed to help developers:

- **Increase Productivity**: Automatically generate essential parts of Laravel applications, saving time and effort on boilerplate code.
- **Maintain Consistency**: Standardize patterns across projects, reducing errors and improving maintainability.
- **Adopt API-First Design**: Easily set up API routes and controllers, supporting modern development practices.
- **Empower All Developers**: With a simple command, this package is accessible to beginners while being flexible enough for experienced developers.

Features
--------

[](#features)

- Generates a **Model** with fillable attributes
- Generates a **Controller** with CRUD methods for web or API setup
- Creates **Views** (index, show, create, edit) for web routes
- Appends routes to `web.php` or `api.php` based on setup type

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

[](#installation)

To install the Laravel Auto package, follow these steps:

1. Install the package using Composer:

    ```
    composer require tarsoft/laravel-auto
    ```
2. Publish the stubs (optional):

    ```
    php artisan vendor:publish --tag=tarsoft-stubs
    ```

Usage
-----

[](#usage)

### Generating Web CRUD

[](#generating-web-crud)

To generate a CRUD structure for a model (e.g., `Blog`) with web controllers and views, run:

```
php artisan auto:crud Blog
```

This will create:

- `Blog` model (in `app/Models/`)
- `BlogController` (in `app/Http/Controllers/`)
- Views (`index`, `show`, `create`, `edit`) under `resources/views/blogs/`
- Web routes in `routes/web.php`

### Generating API CRUD

[](#generating-api-crud)

For API-only routes and controllers, use the `--api` flag:

```
php artisan auto:crud Blog --api
```

This will create:

- `Blog` model (in `app/Models/`)
- `BlogController` (in `app/Http/Controllers/API/`)
- API routes in `routes/api.php`

License
-------

[](#license)

Laravel Auto is open-source software licensed under the [MIT license](LICENSE.md).

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ada31dcac6cdf94cfa812bfa821b9cc4387314fa34a13bc79da9f172808a1379?d=identicon)[tarsoft](/maintainers/tarsoft)

---

Top Contributors

[![samtarmizi](https://avatars.githubusercontent.com/u/48077864?v=4)](https://github.com/samtarmizi "samtarmizi (3 commits)")

### Embed Badge

![Health badge](/badges/tarsoft-laravel-auto/health.svg)

```
[![Health](https://phpackages.com/badges/tarsoft-laravel-auto/health.svg)](https://phpackages.com/packages/tarsoft-laravel-auto)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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