PHPackages                             acelords/generators - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. acelords/generators

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

acelords/generators
===================

AceLords Generators

1.1.7(3y ago)1323proprietaryPHPPHP &gt;=7.2

Since Aug 24Pushed 3y agoCompare

[ Source](https://github.com/acelords/generators)[ Packagist](https://packagist.org/packages/acelords/generators)[ RSS](/packages/acelords-generators/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (25)Used By (0)

AceLords Generators
===================

[](#acelords-generators)

An AceLords composer package for use with AceLords projects.

Commands
--------

[](#commands)

```
acelords:make-channel             Create a new AceLords project channel class
acelords:make-command             Create a new AceLords project command
acelords:make-controller          Create a new AceLords project controller class
acelords:make-controller --api    Create a new AceLords project controller class containing only the api methods
acelords:make-controller --repo   Create a new AceLords project controller class based on a model repository
acelords:make-event               Create a new AceLords project event class
acelords:make-facade              Create a new AceLords project facade class
acelords:make-filter              Create a new AceLords project filter class
acelords:make-job --sync          Create a new AceLords project job class
acelords:make-listener --queued   Create a new AceLords project event listener class
acelords:make-mail                Create a new AceLords project email class
acelords:make-middleware          Create a new AceLords project middleware class
acelords:make-model               Create a new AceLords project Eloquent model class
acelords:make-notification        Create a new AceLords project notification class
acelords:make-policy              Create a new AceLords project policy class
acelords:make-project             Craft a new AceLords project under packages
acelords:make-provider            Create a new AceLords project service provider class
acelords:make-repo                Create a new AceLords project event class
acelords:make-request             Create a new AceLords project form request class
acelords:make-resource            Create a new AceLords project resource
acelords:make-rule                Create a new AceLords project validation rule
acelords:make-service             Create a new AceLords project service class for a facade class
acelords:make-widget              Create a new AceLords project widget class
```

### How to run

[](#how-to-run)

```
// create a UserController in users module
php artisan acelords:make-controller UserController users

```

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

[](#installation)

Can be installed via composer

```
composer install acelords/generators
```

Responses methods
-----------------

[](#responses-methods)

It would be a nice idea to add these methods to the base Controller for easier modifications

```
/**
     * return a standardized error message
     *
     * @param string $message
     * @param int $code
     *
     * @return \Illuminate\Http\JsonResponse
     */
    public function respError($message = 'An error occurred', $code = 422)
    {
        return response()->json([
            'message' => $message,
            'alert' => 'error',
        ], $code);
    }

    /**
     * return a standardized success message
     *
     * @param string $message
     * @param int $code
     *
     * @return \Illuminate\Http\JsonResponse
     */
    public function respSuccess($message = 'Action Successful', $code = 200)
    {
        return response()->json([
            'message' => $message,
            'alert' => 'success',
        ], $code);
    }

    /**
     * provide a common function to return messages to the user
     *
     * @param $result
     * @param string $messageOnSuccess
     * @param string $messageOnError
     *
     * @return \Illuminate\Http\JsonResponse
     */
    public function respJuicer($result, $messageOnSuccess = 'Action Successful', $messageOnError = 'An error occurred')
    {
        if($result)
            return $this->respSuccess($messageOnSuccess);

        return $this->respError($messageOnError);
    }
```

Support
-------

[](#support)

If you've found this useful and would like to buy the maintainers a coffee (or a Tesla, we're not picky), feel free to do so.

### Crowdfunding

[](#crowdfunding)

It's also possible to support the project on **Github Sponsors**, [Patreon](https://www.patreon.com/acelords) or by buying products and merchandise at [Marketplace](https://store.acelords.space).

This funding is used for maintaining the project and adding new features into Code Style plus other open-source repositories.

License
-------

[](#license)

Licensed under [DBAD](https://dbad-license.org/)

Credits
-------

[](#credits)

- [AceLords Team](https://acelords.space)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~54 days

Recently: every ~229 days

Total

24

Last Release

1194d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9af2de9860484f10b831cb96b650b5d8ac59a6f826589cbade7ee23828d4aa90?d=identicon)[SyntaxLexx](/maintainers/SyntaxLexx)

---

Top Contributors

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

---

Tags

acelordslexxyungcarteracelords productsacelords generators

### Embed Badge

![Health badge](/badges/acelords-generators/health.svg)

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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