PHPackages                             jiordiviera/laravel-task-automator - 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. [Admin Panels](/categories/admin)
4. /
5. jiordiviera/laravel-task-automator

AbandonedArchivedLibrary[Admin Panels](/categories/admin)

jiordiviera/laravel-task-automator
==================================

A Laravel package for automating repetitive tasks

v1.0.1(1y ago)10MITPHPPHP ^8.0

Since Oct 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jiordiviera/laravel-task-automator)[ Packagist](https://packagist.org/packages/jiordiviera/laravel-task-automator)[ RSS](/packages/jiordiviera-laravel-task-automator/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Task Automator 📦✨
=========================

[](#laravel-task-automator-)

 [![Latest Stable Version](https://camo.githubusercontent.com/94ab08d050ec5ebf5213003ca9eb327d6ed0556e0452fb6d0ae7ebd5c690b191/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a696f72646976696572612f6c61726176656c2d7461736b2d6175746f6d61746f723f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jiordiviera/laravel-task-automator) [![Total Downloads](https://camo.githubusercontent.com/e77afe48a19f0015ebc6e548aa4d2ecffa7bcc4f2e4fb19d211b9933a8fa6224/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a696f72646976696572612f6c61726176656c2d7461736b2d6175746f6d61746f723f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jiordiviera/laravel-task-automator) [![Latest Unstable Version](https://camo.githubusercontent.com/f11de89f08c8405ec3b5e7869215975a70babb19cc33efa3828097b3cd0acb16/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a696f72646976696572612f6c61726176656c2d7461736b2d6175746f6d61746f723f696e636c7564655f70726572656c6561736573267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jiordiviera/laravel-task-automator) [![License](https://camo.githubusercontent.com/1c3d99d91ea2437f99fbfeb77d3b83dc468a04671be7a258fb330c3c2805312d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a696f72646976696572612f6c61726176656c2d7461736b2d6175746f6d61746f723f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jiordiviera/laravel-task-automator) [![Tests Status](https://github.com/jiordiviera/laravel-task-automator/actions/workflows/php.yml/badge.svg)](https://github.com/jiordiviera/laravel-task-automator/actions/workflows/php.yml)

Laravel Task Automator is a powerful Laravel package designed to supercharge your workflow by automating repetitive tasks like CRUD generation, authentication setup, seeder creation, API configuration, and more. Save time and focus on what truly matters—building awesome applications. 🚀

✨ Features
----------

[](#-features)

- **CRUD Generation**: Quickly generate CRUD scaffolding with models, controllers, migrations, views, and more.
- **API &amp; Web Ready**: Supports both web-based and API-based controllers.
- **Advanced Options**: Includes seeding, form requests, policies, and testing capabilities.
- **Developer Productivity**: Generate files effortlessly and keep your application organized.

🚀 Installation
--------------

[](#-installation)

First, add Laravel Task Automator to your Laravel project using Composer:

```
composer require jiordiviera/laravel-task-automator
```

Once installed, you can use the `make:crud` command to generate various components for your application.

📜 Usage
-------

[](#-usage)

Laravel Task Automator makes it easy to generate a complete CRUD setup with just a single command:

```
php artisan make:crud {name} {--fields=} {--api} {--force} {--seed} {--policy} {--requests} {--resource} {--test}
```

### Arguments &amp; Options:

[](#arguments--options)

- **`name`** (required): The name of the model. Example: `Post`, `User`.
- **`--fields`**: Fields for the migration in the format: `name:type,name:type,...`. Example: `title:string,content:text`.
- **`--api`**: Generate API-based controller and routes instead of web.
- **`--force`**: Force overwrite existing files if they already exist.
- **`--seed`**: Generate a seeder for the model.
- **`--policy`**: Generate a policy for the model.
- **`--requests`**: Generate form request classes for validation.
- **`--resource`**: Generate an API resource.
- **`--test`**: Generate feature or unit tests.

### Example Command:

[](#example-command)

```
php artisan make:crud Post --fields="title:string,content:text,is_published:boolean" --seed --policy --api
```

This command will generate:

- A **Post** model.
- A **migration** for the `posts` table with the specified fields.
- An **API Controller** (`PostController`) and corresponding **routes**.
- **Views** (if `--api` is not specified).
- A **Seeder** (`PostSeeder`).
- A **Policy** (`PostPolicy`).
- **Form Request** validation classes (`StorePostRequest`, `UpdatePostRequest`).
- An **API Resource** (`PostResource`).
- Feature or unit **tests**.

🛠️ Generated Files
------------------

[](#️-generated-files)

Laravel Task Automator generates a complete set of files, customized to your application. Here’s a quick look at the generated components:

### 1. **Model** 🗂️

[](#1-model-️)

Path: `app/Models/Post.php`

The model is equipped with `fillable` properties based on the fields you specify.

### 2. **Migration** 📅

[](#2-migration-)

Path: `database/migrations/YYYY_MM_DD_HHMMSS_create_posts_table.php`

The migration is automatically set up with all specified fields.

### 3. **Controller** 🖇️

[](#3-controller-️)

Path: `app/Http/Controllers/PostController.php`

Depending on the `--api` flag, either a web or API-based controller is generated with all CRUD methods.

### 4. **Views** (Optional) 👁️

[](#4-views-optional-️)

Paths:

- `resources/views/post/index.blade.php`
- `resources/views/post/create.blade.php`
- `resources/views/post/edit.blade.php`
- `resources/views/post/show.blade.php`

Only generated if the `--api` flag is not set.

### 5. **Routes** 🚦

[](#5-routes-)

You’ll be prompted to add the generated routes to your application. You can add them to either the web or API routes file.

### 6. **Seeder** 🌱

[](#6-seeder-)

Path: `database/seeders/PostSeeder.php`

This seeder uses Faker to populate your database with random but sensible data.

### 7. **Policy** 🔒

[](#7-policy-)

Path: `app/Policies/PostPolicy.php`

Generated to handle authorization for your model’s actions.

### 8. **Form Requests** 📜

[](#8-form-requests-)

Paths:

- `app/Http/Requests/StorePostRequest.php`
- `app/Http/Requests/UpdatePostRequest.php`

Handles validation logic for storing and updating the model.

### 9. **API Resource** 🌐

[](#9-api-resource-)

Path: `app/Http/Resources/PostResource.php`

Generated for transforming your model’s data in API responses.

### 10. **Tests** 🧪

[](#10-tests-)

Paths:

- `tests/Feature/PostTest.php` (or `tests/Unit/PostTest.php` for API)

Automatically generated feature or unit tests, making it easy to validate your generated CRUD.

📝 Advanced Usage
----------------

[](#-advanced-usage)

### Using Stubs

[](#using-stubs)

You can customize your own stubs for more control over the generated code. Laravel Task Automator uses stub files located in `stubs/`. Feel free to modify these to match your project’s style and standards.

To publish the stubs for customization:

```
php artisan vendor:publish --tag=laravel-task-automator-stubs
```

Edit the stubs to suit your needs, and Laravel Task Automator will use your versions for code generation.

⚙️ Configuration
----------------

[](#️-configuration)

Laravel Task Automator is designed to work out-of-the-box, but there are a few things you might want to adjust for a more tailored experience.

### Customizing Routes

[](#customizing-routes)

You can modify the generated route template as per your app’s structure. You’ll find the routes in the stub files under `stubs/routes/`.

### Form Requests

[](#form-requests)

Validation rules are generated automatically based on the provided fields, but you can edit the form request classes to add custom validation rules, messages, or other logic.

🛠️ Contributing
---------------

[](#️-contributing)

Contributions are welcome! If you have ideas, bug fixes, or improvements, please feel free to submit a pull request or open an issue on GitHub.

[GitHub Repository](https://github.com/jiordiviera/laravel-task-automator)

📝 License
---------

[](#-license)

Laravel Task Automator is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

🫶 Acknowledgments
-----------------

[](#-acknowledgments)

Special thanks to the Laravel community for creating an amazing framework that makes building web applications a joyful experience.

---

Feel free to enhance your development journey with Laravel Task Automator! Happy coding! 🎉🚀

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity2

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

2

Last Release

583d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/809a4ada50fc54fe02b1956bc85fbf9e403f3a8de208faf27dc5fd19b84d4035?d=identicon)[jiordiviera](/maintainers/jiordiviera)

---

Top Contributors

[![jiordiviera](https://avatars.githubusercontent.com/u/157500676?v=4)](https://github.com/jiordiviera "jiordiviera (31 commits)")

---

Tags

laravelgeneratorcrudtaskautomator

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/jiordiviera-laravel-task-automator/health.svg)

```
[![Health](https://phpackages.com/badges/jiordiviera-laravel-task-automator/health.svg)](https://phpackages.com/packages/jiordiviera-laravel-task-automator)
```

###  Alternatives

[brackets/admin-generator

Laravel 8 CRUD generator for brackets/craftable

50190.9k](/packages/brackets-admin-generator)

PHPackages © 2026

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