PHPackages                             elmogy/larafast - 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. elmogy/larafast

ActiveLibrary[Framework](/categories/framework)

elmogy/larafast
===============

Laravel : Develop Faster And Cleaner!

v1.4(1y ago)343MITPHPPHP ^7.4|^8.0

Since Apr 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/karim-Elmogy/larafast)[ Packagist](https://packagist.org/packages/elmogy/larafast)[ RSS](/packages/elmogy-larafast/feed)WikiDiscussions main Synced 1mo ago

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

Getting Started
---------------

[](#getting-started)

To get started, require the package:

```
composer require elmogy/larafast
```

### Install the package

[](#install-the-package)

After including larafast, you have to install it by running the following command:

```
php artisan larafast:install
```

After installing the package you will find a directory called `unit_template` inside `core/Base`, that's the directory that has the default views that will be included in every unit you generate (after running this command `php artisan larafast:unit UnitName --module=ModuleName` keep reading to learn more about this command).

Please take a look at the blade files inside `core/Base/views` and `core/Base/unit_template` you will notice that `$global` variable is shared across all the views.

Module
------

[](#module)

To create a new module, run the following:

`php artisan larafast:module ModuleName`

Here is an example:

```
php artisan larafast:module Todo
```

Unit
----

[](#unit)

To create a new unit, there are 2 commands we have to run:

### Initialization

[](#initialization)

`php artisan larafast:unit UnitName --module=ModuleName --init`

To initialize the unit with basic stuff (model, API controller and Web Controller) and after running the command you can configure the unit, here is an example:

```
php artisan larafast:unit Task --module=Todo --init
```

then navigate to `core/Todo/data/Task.json` and update it like in the following:

```
{
  "attributes": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": "text",
      "definition": "nullable"
    },
    "priority": {
      "type": "enum:low,medium,high",
      "definition": "nullable|default:medium"
    },
    "is_done": {
      "type": "boolean",
      "definition": "default:false"
    }
  },
  "relations": {

  }
}
```

Please note the following:

`attributes`: contains the unit attributes (you can think of attributes as the columns of the table in the database).

`type`: the type of the attribute, please check all available types [here](https://laravel.com/docs/8.x/migrations#available-column-types)

`definition`: it holds the column modifiers &amp; indexes in the database, please check all available modifiers &amp; indexes from [here](https://laravel.com/docs/8.x/migrations#column-modifiers) and [here](https://laravel.com/docs/8.x/migrations#available-index-types)

You may have noticed that the values in `type` and `definition` are designed the same way as we do in the validation rules.

### Publishing

[](#publishing)

`php artisan larafast:unit UnitName --module=ModuleName`

To create all the related stuff (migration, request, resource, factory, unit test ...etc) based on the previous command:

```
php artisan larafast:unit Task --module=Todo
```

### Notes

[](#notes)

- when overriding a unit (for example Task unit) by running the command in `Publishing` section again, all related migration files will be deleted for this unit (for example create table migration file and adding new column/s migration file).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance71

Regular maintenance activity

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.2% 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 ~3 days

Total

5

Last Release

397d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50c6353e8c5920c7eebb2e8974a22ac7e0a9eb762c2dfe0b263a6513004af337?d=identicon)[karim\_elmogy](/maintainers/karim_elmogy)

---

Top Contributors

[![karim-Elmogy](https://avatars.githubusercontent.com/u/55699823?v=4)](https://github.com/karim-Elmogy "karim-Elmogy (20 commits)")[![Rahma521](https://avatars.githubusercontent.com/u/62406856?v=4)](https://github.com/Rahma521 "Rahma521 (1 commits)")

---

Tags

laravelfastmodulemodulesclean codelarafastfaster

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/elmogy-larafast/health.svg)

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

###  Alternatives

[nwidart/laravel-modules

Laravel Module management

6.1k14.6M274](/packages/nwidart-laravel-modules)[internachi/modular

Modularize your Laravel apps

1.1k662.4k8](/packages/internachi-modular)[pingpong/modules

Laravel Modules

592188.7k13](/packages/pingpong-modules)[mhmiton/laravel-modules-livewire

Using Laravel Livewire in Laravel Modules package with automatically registered livewire components for every modules.

236409.6k9](/packages/mhmiton-laravel-modules-livewire)[artem-schander/l5-modular

Modular pattern generator for Laravel

223235.5k](/packages/artem-schander-l5-modular)

PHPackages © 2026

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