laravel-modular | Allows creating Laravel 5 modules for better project

 by   mnabialek PHP Version: v0.2.6 License: No License

kandi X-RAY | laravel-modular Summary

kandi X-RAY | laravel-modular Summary

laravel-modular is a PHP library. laravel-modular has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

This module makes managing your Laravel 5 application much more easier. No more putting dozens or hundreds of files into single directory. Now you can create for your Laravel 5 application multiple modules and each of them will have its own structure (in the way you decide).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              laravel-modular has a low active ecosystem.
              It has 22 star(s) with 3 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 7 have been closed. On average issues are closed in 39 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of laravel-modular is v0.2.6

            kandi-Quality Quality

              laravel-modular has 0 bugs and 0 code smells.

            kandi-Security Security

              laravel-modular has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              laravel-modular code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              laravel-modular does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              laravel-modular releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              laravel-modular saves you 1669 person hours of effort in developing the same functionality from scratch.
              It has 3703 lines of code, 346 functions and 39 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed laravel-modular and discovered the below as its top functions. This is intended to give you an instant insight into laravel-modular implemented functionality, and help decide if they suit your requirements.
            • Register module services .
            • Add module to configuration file
            • Create migration file .
            • Verify module names .
            • Create module files .
            • Get replacements .
            • Proceed module .
            • Load module routes .
            • File class .
            • Handle module execution .
            Get all kandi verified functions for this library.

            laravel-modular Key Features

            No Key Features are available at this moment for laravel-modular.

            laravel-modular Examples and Code Snippets

            Available commands
            PHPdot img1Lines of Code : 7dot img1no licencesLicense : No License
            copy iconCopy
            php artisan module:make Product Order
            
            php artisan module:make Product Camera Radio
            
            php artisan module:make-migration Product create_products_table
            
            php artisan module:make-migration Product create_camera_table --table=cameras --type=create
            
            php art  
            Getting started
            PHPdot img2Lines of Code : 2dot img2no licencesLicense : No License
            copy iconCopy
            php artisan module:make TestModule
            
            php artisan module:make TestModule2
              
            Customization
            PHPdot img3Lines of Code : 1dot img3no licencesLicense : No License
            copy iconCopy
            \Modular::loadRoutes($this->app['router']);
              

            Community Discussions

            Trending Discussions on laravel-modular

            QUESTION

            Laravel Modular Request to a different Controller
            Asked 2017-Oct-10 at 12:29

            I am using a github project named mnabialek/laravel-modular. The package works fine but I cant pass requests to a different controller in diffrent module. How can I do that.

            TestModule Controller

            ...

            ANSWER

            Answered 2017-Oct-10 at 10:57

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install laravel-modular

            For Laravel 5.3+ run. in console to install this module. in your console to publish default configuration files, sample app files (published in app/Core) and sample stubs files.
            For Laravel 5.3+ run composer require mnabialek/laravel-modular 0.2.* in console to install this module.
            Open config/app.php and: Add Mnabialek\LaravelModular\Providers\ModularServiceProvider::class, in same section (providers) Add 'Modular' => Mnabialek\LaravelModular\Facades\Modular::class, into aliases section
            Run php artisan vendor:publish --provider="Mnabialek\LaravelModular\Providers\ModularServiceProvider" in your console to publish default configuration files, sample app files (published in app/Core) and sample stubs files
            In default seeder database/seeds/DatabaseSeeder at the end of run method add: Modular::seed($this);
            In app/Providers/RouteServiceProvider.php at the end of map function add \Modular::loadRoutes($this->app['router'], 'web'); \Modular::loadRoutes($this->app['router'], 'api');
            In database/factories/ModelFactory.php (this step applies only to Laravel 5.1+) add at the end of file: Modular::loadFactories($factory);
            To get started run:. This command will create your TestModule module structure. Open directory and look at its structure. As you see some files uses app/Core abstract classes (those file where created during installation). First decide, whether you want to use app/Core files or not. If not, you can remove this directory. Go to resources/stubs/modular and look at sample stubs. You can now alter them depending on your needs (you can remove all usages of app/Core files`, create new stubs etc.

            Support

            To install in Laravel 5.3+ use this branch, however to install in Laravel < 5.3 please refer to version 0.1.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link