2017 © Pedro Peláez
 

library ym

An awesome package to modularize your laravel app.

image

yubarajshrestha/ym

An awesome package to modularize your laravel app.

  • Friday, December 16, 2016
  • by meyubaraj
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Modularizing Laravel

GitHub stars Latest Stable Version Total Downloads License, (*1)

If you are sick trying to findout the controllers, routes and views from too many project files in laravel then yes, this package is for you., (*2)

This helps you to organize your Laravel Project codes by modularizing all your controllers, views and models. This will be very helpful when your laravel project is very big., (*3)

How to?

Step 1: Install package

Add the package in your composer.json by executing the command., (*4)

composer require yubarajshrestha/ym

Step 2: Add Providers

Add the service provider to config/app.php, (*5)

YubarajShrestha\YM\YMServiceProvider::class, YubarajShrestha\YM\YMModuleProvider::class,, (*6)

Step 3: Add PSR-4 Autoloader

Add following line after "App\": "app/" in composer.json "Modules\": "Modules/", (*7)

Example:
"psr-4": {
    "App\\": "app/",
    "Modules\\": "Modules/"
}

Step 4: Publish Vendor Files

You need to have some files and don't worry it's quite easy. You just want to execute the command now., (*8)

php artisan vendor:publish, (*9)

Step 5: We are there now

Final step is to migrate some files. Execute migration command., (*10)

php artisan migrate, (*11)

Step 6: Awesome

  1. Your laravel project is now ready to go :+1:.
  2. All you have to do is serve your laravel app. and then visit /ym. Eg. http://localhost:8000/ym

The Versions

16/12 2016

dev-master

9999999-dev

An awesome package to modularize your laravel app.

  Sources   Download

MIT

by Yubaraj Shrestha

laravel ym laravel-module

16/12 2016

v1.0.2

1.0.2.0

An awesome package to modularize your laravel app.

  Sources   Download

MIT

by Yubaraj Shrestha

laravel ym laravel-module

16/12 2016

v1.0.1

1.0.1.0

An awesome package to modularize your laravel app.

  Sources   Download

MIT

by Yubaraj Shrestha

laravel ym laravel-module

16/12 2016

v1.0.0

1.0.0.0

An awesome package to modularize your laravel app.

  Sources   Download

MIT

by Yubaraj Shrestha

laravel ym laravel-module