shawnsandy/laravel-install-kit

A simple starter package for creating composer packages, based on php-league skelton


README

Latest Version on Packagist Software License Build Status Total Downloads StyleCI SensioLabsInsight

A simple Laravel PHP toolkit that contains and installs most of the Laravel packages that I regularly need to get ky laravel projects up and running. It replace the need for stater kits like laravel-hackaton-starter https://github.com/unicodeveloper/laravel-hackathon-starter, not that these are bad I just prefer to roll my own on top of fresh install of laravel laravel new blog or composer create-project --prefer-dist laravel/laravel blog, just keeps me sane ;-).

Packages

 "require": {
   "php": ">=5.5.9",
       "barryvdh/laravel-debugbar": "^2.2",
       "laravelcollective/html": "^5.2",
       "doctrine/dbal": "^2.5",
       "barryvdh/laravel-ide-helper": "^2.1",
       "maatwebsite/excel": "^2.1",
       "spatie/laravel-analytics": "^1.3",
       "spatie/laravel-medialibrary": "^3.17",
       "spatie/laravel-permission": "^1.3",
       "spatie/laravel-authorize": "^1.1",
       "spatie/geocoder": "^2.1",
       "mpociot/laravel-test-factory-helper": "^0.2.0",
       "laravel/socialite": "^2.0",
       "spatie/googlesearch": "^2.0",
       "styde/html": "~1.1",
       "laracasts/utilities": "^2.1",
       "jeroen-g/laravel-packager": "^1.5",
       "laracasts/flash": "^2.0",
       "laracasts/generators": "^1.1",
       "cviebrock/eloquent-sluggable": "^3.1",
       "rap2hpoutre/laravel-log-viewer": "^0.6.0",
       "vinkla/hashids": "^2.2",
       "spatie/activitylog": "^2.4",
       "mews/purifier": "^2.0",
       "mcamara/laravel-localization": "^1.1",
       "barryvdh/laravel-elfinder": "^0.3.7",
       "greggilbert/recaptcha": "^2.1",
       "sven/artisan-view": "^1.0",
       "fedeisas/laravel-mail-css-inliner": "^1.4",
       "davejamesmiller/laravel-breadcrumbs": "^3.0",
       "sofa/revisionable": "^5.2",
       "graham-campbell/exceptions": "^8.4",
       "filp/whoops": "^2.1",
       "ipunkt/laravel-analytics": "^1.1",
       "anahkiasen/former": "^4.0",
       "proengsoft/laravel-jsvalidation": "^1.3",
       "evercode1/view-maker": "^3.4",
       "drawmyattention/laravel-make-resource": "~1.0",
       "anahkiasen/underscore-php": "^2.0","jeroen-g/laravel-packager": "^1.5",
       "arrilot/laravel-widgets": "^3.4"

  },

Dev packages install on your own


    "laracasts/generators": "^1.1"

Install

Via Composer

    $ composer require shawnsandy/laravel-install-kit

Providers config/app.php -- providers

$providers => [

    /*
    * Vendor Service Providers
    */
    Laravel\Socialite\SocialiteServiceProvider::class,
    Barryvdh\Debugbar\ServiceProvider::class,
    Collective\Html\HtmlServiceProvider::class,
    Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
    Maatwebsite\Excel\ExcelServiceProvider::class,
    Spatie\LaravelAnalytics\LaravelAnalyticsServiceProvider::class,
    Spatie\Authorize\AuthorizeServiceProvider::class,
    Spatie\Permission\PermissionServiceProvider::class,
    Spatie\MediaLibrary\MediaLibraryServiceProvider::class,
    Spatie\Geocoder\GeocoderServiceProvider::class,
    Spatie\Activitylog\ActivitylogServiceProvider::class,
    Mpociot\LaravelTestFactoryHelper\TestFactoryHelperServiceProvider::class,
    Styde\Html\HtmlServiceProvider::class,
    Cviebrock\EloquentSluggable\SluggableServiceProvider::class,
    Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class,
    Vinkla\Hashids\HashidsServiceProvider::class,
    Mews\Purifier\PurifierServiceProvider::class,
    Mcamara\LaravelLocalization\LaravelLocalizationServiceProvider::class,
    Barryvdh\Elfinder\ElfinderServiceProvider::class,
    Greggilbert\Recaptcha\RecaptchaServiceProvider::class,
    Sven\ArtisanView\ArtisanViewServiceProvider::class,
    Vinkla\Hashids\HashidsServiceProvider::class,
    Fedeisas\LaravelMailCssInliner\LaravelMailCssInlinerServiceProvider::class,
    DaveJamesMiller\Breadcrumbs\ServiceProvider::class,
    Kris\LaravelFormBuilder\FormBuilderServiceProvider::class,
    JeroenG\Packager\PackagerServiceProvider::class,
    Sofa\Revisionable\Laravel\ServiceProvider::class,
    GrahamCampbell\Exceptions\ExceptionsServiceProvider::class,
    Ipunkt\LaravelAnalytics\AnalyticsServiceProvider::class,
    Sven\EnvProviders\EnvServiceProvider::class,
    Prettus\Repository\Providers\RepositoryServiceProvider::class,
    InfyOm\Generator\InfyOmGeneratorServiceProvider::class,
    InfyOm\CoreTemplates\CoreTemplatesServiceProvider::class,
    Former\FormerServiceProvider::class,
    Proengsoft\JsValidation\JsValidationServiceProvider::class,
    Evercode1\ViewMaker\ViewMakerServiceProvider::class,
    Arrilot\Widgets\ServiceProvider::class,
    Nwidart\Modules\LaravelModulesServiceProvider::class,

    ]

Aliases config/app.php -- aliases


$aliases => [

    /*
     * Vendor aliases
     */
    'Debugbar' => Barryvdh\Debugbar\Facade::class,
    'Html' => Collective\Html\HtmlFacade::class,
    'Geocoder' => Spatie\Geocoder\GeocoderFacade::class,
    'LaravelAnalytics' => Spatie\LaravelAnalytics\LaravelAnalyticsFacade::class,
    'Excel' => Maatwebsite\Excel\Facades\Excel::class,
    'Alert' => Styde\Html\Facades\Alert::class,
    'Field' => Styde\Html\Facades\Field::class,
    'Menu' => Styde\Html\Facades\Menu::class,
    'Hashids' => Vinkla\Hashids\Facades\Hashids::class,
    'Purifier' => Mews\Purifier\Facades\Purifier::class,
    'LaravelLocalization'   => Mcamara\LaravelLocalization\Facades\LaravelLocalization::class,
    'Recaptcha' => Greggilbert\Recaptcha\Facades\Recaptcha::class,
    'Hashids' => Vinkla\Hashids\Facades\Hashids::class,
    'Tracker' => PragmaRX\Tracker\Vendor\Laravel\Facade::class,
    'Breadcrumbs' => DaveJamesMiller\Breadcrumbs\Facade::class,
    'FormBuilder' => Kris\LaravelFormBuilder\Facades\FormBuilder::class,
    'Socialite' => Laravel\Socialite\Facades\Socialite::class,
    'Analytics' => Ipunkt\LaravelAnalytics\AnalyticsFacade::class,
    'Former' => 'Former\Facades\Former',
    'JsValidator' => Proengsoft\JsValidation\Facades\JsValidatorFacade::class,
    'Widget'       => Arrilot\Widgets\Facade::class,
    'AsyncWidget'  => Arrilot\Widgets\AsyncFacade::class,
    'Module' => Nwidart\Modules\Facades\Module::class,


    ]

Middleware

    protected $middleware = [
        //...
        \Styde\Html\Alert\Middleware::class,
        //...
    ];

Middleware (Route) app/Http/Kernel.php


protected $routeMiddleware = [
  ...
  'can' => \Spatie\Authorize\Middleware\Authorize::class,

];

Providers

    /**
       * Register any application services.
       *
       * @return void
       */
      public function register()
      {
          /*
           * Custom providers
           */
          if ($this->app->environment() == 'local') {
              $this->app->register('Laracasts\Generators\GeneratorsServiceProvider');
          }
      }

Usage

Packages / Artisan Commands

Laravel Debugbar

    php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"

StydeNet Html https://github.com/StydeNet/html

    php artisan vendor:publish --provider='Styde\Html\HtmlServiceProvider'

Laravel Packages https://github.com/Jeroen-G/laravel-packager

Laravel 5 IDE Helper Generator https://github.com/barryvdh/laravel-ide-helper

    php artisan vendor:publish --provider="Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider" --tag=config

Laravel Analytics https://github.com/spatie/laravel-analytics

    php artisan vendor:publish --provider="Spatie\LaravelAnalytics\LaravelAnalyticsServiceProvider"

Laravel Media Library https://github.com/spatie/laravel-medialibrary

    php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations"

Laravel Authorize https://github.com/spatie/laravel-authorize

    php artisan vendor:publish --provider="Spatie\Authorize\AuthorizeServiceProvider"

Laravel Geocoder https://github.com/spatie/geocoder

    php artisan vendor:publish --provider="Spatie\Authorize\AuthorizeServiceProvider"

Laravel Test Factory Generator https://github.com/mpociot/laravel-test-factory-helper

Laravel Google Search https://github.com/spatie/googlesearch

     php artisan vendor:publish --provider="Spatie\GoogleSearch\GoogleSearchServiceProvider"

Laravel Flash https://github.com/laracasts/flash

Eloquent-Sluggable https://github.com/cviebrock/eloquent-sluggable

Laravel log viewer https://github.com/rap2hpoutre/laravel-log-viewer

Laravel Hashids https://github.com/vinkla/hashids

Laravel Activity Log https://github.com/spatie/activitylog

Laravel Localization https://github.com/spatie/activitylog

Laravel Localization https://github.com/spatie/activitylog

Laravel elFinder https://github.com/barryvdh/laravel-elfinder

Google ReCaptcha https://github.com/greggilbert/recaptcha

Laravel Mail CSS-Inliner https://github.com/fedeisas/laravel-mail-css-inliner

Laravel Bread Crumbs https://github.com/davejamesmiller/laravel-breadcrumbs

Sofa/Revionable https://github.com/jarektkaczyk/revisionable

Laravel Exceptions https://github.com/GrahamCampbell/Laravel-Exceptions

Laravel Analytics https://github.com/ipunkt/laravel-analytics

Laravel EnvProviders https://github.com/svenluijten/env-providers

Former https://github.com/formers/former

Laravel JsValidation https://github.com/proengsoft/laravel-jsvalidation

View Maker https://github.com/evercode1/view-maker

ViewMaker is for use with the Laravel PHP framework (5.2 and up) Artisan command line tool.

ViewMaker adds 10 new artisan commands, providing ready-made templates for CRUD generation, Views and Datagrids, with ajax-powered search, column sorts and pagination. You can create and test a foundation of code with crud and views in under a minute.

Laravel Widgets https://github.com/arrilot/laravel-widgets

Recommend Packages

Laravel Generators http://labs.infyom.com/laravelgenerator/docs/getting-started/installation

Laravel Modules https://github.com/nWidart/laravel-modules

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

    $ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email shawnsandy04@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.