PHPackages                             lokyfordev/lokyhelpme - 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. [CLI &amp; Console](/categories/cli)
4. /
5. lokyfordev/lokyhelpme

ActiveLibrary[CLI &amp; Console](/categories/cli)

lokyfordev/lokyhelpme
=====================

Interactive Laravel Artisan assistant for beginners

1.0.0(1w ago)06↑400%MITPHPPHP ^8.1

Since Mar 13Pushed 1w agoCompare

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

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

LokyHelpMe
==========

[](#lokyhelpme)

Interactive Artisan assistant for Laravel beginners.

`lokyhelpme` helps users generate Laravel classes and migrations through guided CLI questions, so they do not need to remember Artisan syntax.

Install
-------

[](#install)

```
composer require lokyfordev/lokyhelpme
```

Run:

```
php artisan lokyhelpme
```

Main Command
------------

[](#main-command)

```
php artisan lokyhelpme
```

Startup output:

```
----------------------------------
LokyHelpMe Laravel Assistant
Interactive Laravel command generator
----------------------------------

```

Menu
----

[](#menu)

1. Model
2. Controller
3. Migration
4. Seeder
5. Factory
6. Policy
7. Middleware
8. Request Validation
9. Event
10. Listener
11. Job
12. Command
13. Resource
14. Pivot Model
15. API Controller

What Gets Generated
-------------------

[](#what-gets-generated)

OptionArtisan commandModel`make:model` (`-m`, `-f`, `-s`, `-c` optional)Controller`make:controller` (`Normal`, `--resource`, `--api`)Migration`make:migration` or `make:model -m` (guided)Seeder`make:seeder`Factory`make:factory --model=Model`Policy`make:policy --model=Model`Middleware`make:middleware`Request Validation`make:request`Event`make:event`Listener`make:listener` (optional `--event`)Job`make:job`Command`make:command`Resource`make:resource`Pivot Model`make:model --pivot`API Controller`make:controller --api`Migration Assistant
-------------------

[](#migration-assistant)

When selecting `Migration`, users get:

1. Create new table
2. Create model with migration
3. Modify existing table

### Column Builder

[](#column-builder)

For all migration flows, LokyHelpMe can ask for columns interactively.

- Type `end` to finish adding columns
- Supported types:
    - `string`, `text`, `integer`, `bigInteger`, `boolean`
    - `decimal`, `float`, `date`, `dateTime`, `timestamp`
    - `enum`, `json`, `uuid`
- Supports options:
    - nullable
    - unique
    - default value
    - string length
    - decimal/float precision + scale

Enum values are entered once using commas or spaces:

```
admin superadmin helper

```

Generated:

```
$table->enum('role', ['admin', 'superadmin', 'helper']);
```

Validation And UX
-----------------

[](#validation-and-ux)

- Empty input is rejected
- Class names are validated against PHP naming conventions
- Table/column names are validated for migration-safe format
- Lowercase/dirty class input is normalized:
    - `seler` -&gt; `Seler`
    - `user_profile` -&gt; `UserProfile`
- Every command is previewed before execution
- User must confirm execution

Database Table Detection
------------------------

[](#database-table-detection)

For `Modify existing table`, LokyHelpMe fetches tables from the active Laravel DB connection and lists them for selection.

If DB connection fails:

```
Database connection failed.
Check your .env configuration.

```

If no tables are found:

```
No tables found in the current database.

```

Logging
-------

[](#logging)

LokyHelpMe logs generation actions to:

```
storage/logs/lokyhelpme.log

```

Examples:

- `User generated model: Post`
- `User modified table: users`
- `User created event: UserRegistered`

Package Structure
-----------------

[](#package-structure)

```
lokyhelpme/
├── src/
│   ├── Console/
│   │   └── LokyHelpMeCommand.php
│   ├── Services/
│   │   ├── ModelGenerator.php
│   │   ├── ControllerGenerator.php
│   │   ├── MigrationGenerator.php
│   │   ├── EventGenerator.php
│   │   ├── ListenerGenerator.php
│   │   ├── JobGenerator.php
│   │   ├── CommandGenerator.php
│   │   ├── ResourceGenerator.php
│   │   ├── PivotModelGenerator.php
│   │   ├── TableInspector.php
│   │   ├── InputValidator.php
│   │   └── CommandPreview.php
│   └── LokyHelpMeServiceProvider.php
└── composer.json

```

Compatibility
-------------

[](#compatibility)

- PHP `^8.1`
- Laravel `10`, `11`, `12` (via Illuminate components)

Auto-discovery
--------------

[](#auto-discovery)

`composer.json` includes:

```
"extra": {
  "laravel": {
    "providers": [
      "LokyHelpMe\\LokyHelpMeServiceProvider"
    ]
  }
}
```

Development
-----------

[](#development)

Run tests:

```
php artisan test
```

Run formatter:

```
vendor/bin/pint
```

License
-------

[](#license)

MIT

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance98

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

10d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/06b305b06d4c3f61c39790d7d26f7217b02f53ac6a38632645a31ac656055546?d=identicon)[lokyfordev](/maintainers/lokyfordev)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/lokyfordev-lokyhelpme/health.svg)

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

###  Alternatives

[dyrynda/laravel-make-user

An Artisan console command to create users in your Laravel application.

10943.2k2](/packages/dyrynda-laravel-make-user)

PHPackages © 2026

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