A package to generate modules for a Laravel project.

Related tags

laravel-modular
Overview

Laravel Modular

A package to generate modules for a Laravel project.

Requirements

  1. PHP 7.4 or greater
  2. Laravel version 8

Installation

Install using composer:

composer require dptsi/laravel-modular

Usage

  1. (Optional) To change application namespace, run:

    php artisan app:name Custom\Namespace

    Note: All namespace inside app directory (app/) will change into custom namespace.

    Note: in Mac OS or Linux use double backslash. Custom\\Namespace.

  2. To create a new module, run:

    php artisan module:make ModuleName

    By default this will create a new module using mvc skeleton and sqlsrv database configuration.

    Note: the module name must be in StudlyCase

  3. If you want to create a new module with a specific skeleton you can use --skeleton or -S option. Supported skeleton onion and mvc.

    php artisan module:make ModuleName --skeleton onion
    php artisan module:make ModuleName -S onion
  4. If you want to create a new modul using specific database you can use --database or -D option. Supported database sqlsrv, mysql and pgsql.

    php artisan module:make ModuleName --database mysql
    php artisan module:make ModuleName --D pgsql
Issues
Releases(v3.0.1)
  • v3.0.1(Jun 8, 2021)

    Notes

    Patches

    1. When creating a new module (php artisan module:make ModuleName), don't have to write ModuleName in StudlyCase
    2. Hide provider command (php artisan module:provide-*)
    Source code(tar.gz)
    Source code(zip)
  • v3.0.0(May 20, 2021)

    Notes

    Breaking Changes

    1. \Dptsi\Modular\Base\BaseModule::defaultModuleAction method is removed. Add your module's default route to each module's RouteServiceProvider::boot() instead.

    Patches

    1. app:name command now will also change modules config (config/modules.php) (issue #2)
    2. Modules service providers are now booted properly (issue #4)
    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(May 7, 2021)

    Notes

    Change Log

    1. Changed facade class name: Dptsi\Modular\Facade\ModuleManager to Dptsi\Modular\Facade\Module

    2. Changed class name Dptsi\Modular\Base\Module to Dptsi\Modular\Base\BaseModule

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(May 1, 2021)

Owner
DPTSI
Direktorat Pengembangan Teknologi dan Sistem Informasi, Institut Teknologi Sepuluh Nopember
DPTSI
Please see the Diglactic fork.

Update: 18 October 2020 There is now an official fork of Laravel Breadcrumbs: https://github.com/diglactic/laravel-breadcrumbs Blog post: https://news

Dave James Miller 2.4k Jun 17, 2021
Generate and autoload custom Helpers, Builder Scope, Service class, Trait

laravel-make-extender Generate and autoload custom helpers, It can generate multilevel helpers in the context of the directory. Generate Service class

Limewell 22 Jun 10, 2021
Laravel package to generate and to validate a UUID according to the RFC 4122 standard. Only support for version 1, 3, 4 and 5 UUID are built-in.

Laravel Uuid Laravel package to generate and to validate a universally unique identifier (UUID) according to the RFC 4122 standard. Support for versio

Christoph Kempen 1.7k Jun 16, 2021
SEO Tools for Laravel

SEOTools - SEO Tools for Laravel and Lumen SEOTools is a package for Laravel 5.8+ and Lumen that provides helpers for some common SEO techniques. Curr

Artesãos 2.2k Jun 11, 2021
Inertia.js Events for Laravel Dusk

Inertia.js Events for Laravel Dusk Requirements PHP 7.4+ Vue Laravel 8.0 and higher Support We proudly support the community by developing Laravel pac

Protone Media 9 Jun 14, 2021
A web installer for Laravel

Laravel Web Installer | A Web Installer Package About Requirements Installation Routes Usage Contributing Help Screenshots License About Do you want y

Rachid Laasri 1.7k Jun 13, 2021
Awes.io // boilerplate based on Vue, Nuxt, TailwindCSS plus Laravel as a backend. 🤟

Platform for Interactive Business Applications 10x faster to create than the traditional way • 3x increase application experiences • 60% decrease in d

Awes.io 640 Jun 15, 2021
jQuery DataTables API for Laravel 4|5|6|7|8

jQuery DataTables API for Laravel 4|5|6|7|8 This package is created to handle server-side works of DataTables jQuery Plugin via AJAX option by using E

Arjay Angeles 3.9k Jun 14, 2021
Laravel Ban simplify blocking and banning Eloquent models.

Laravel Ban Introduction Laravel Ban simplify management of Eloquent model's ban. Make any model bannable in a minutes! Use case is not limited to Use

cybercog 614 Jun 4, 2021
Simple user messaging package for Laravel

Laravel Messenger This package will allow you to add a full user messaging system into your Laravel application. Leave some feedback How are you using

Chris Gmyr 2k Jun 14, 2021
Laravel Stats Tracker

Laravel Stats Tracker Tracker gathers a lot of information from your requests to identify and store: Sessions Page Views (hits on routes) Users (logge

Antonio Carlos Ribeiro 2.6k Jun 13, 2021
A sample application with a multistep form built with Livewire.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

David Grzyb 5 Jun 2, 2021
Laravel Backend for Learnbot app

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Mobile & Backend developer 4 May 18, 2021
Easy creation of slugs for your Eloquent models in Laravel

Eloquent-Sluggable Easy creation of slugs for your Eloquent models in Laravel. NOTE: These instructions are for the latest version of Laravel. If you

Colin Viebrock 3.2k Jun 14, 2021