mohamedhk2/laravel-prod-tools

v1.0.2 2021-11-25 13:03 UTC

This package is auto-updated.

Last update: 2021-11-25 13:05:13 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

Packages

  1. anhskohbo/no-captcha
  2. cviebrock/eloquent-sluggable
  3. intervention/image
  4. jorenvanhocht/laravel-share
  5. laravel/ui
  6. mcamara/laravel-localization
  7. morningtrain/laravel-https
  8. redcenter/laravel-non-www-redirect
  9. spatie/laravel-medialibrary
  10. spatie/laravel-translatable

Install

The recommended way to install this is through composer:

composer require "mohamedhk2/laravel-prod-tools"
  • Laravel Force SSL
    Update the following in your .env:
    USE_SSL=true
    REDIRECT_TO_HTTPS=true
  • Laravel non-WWW Redirect
    Add the middleware class to your Kernel.php in App\Http:
    protected $middlewareGroups = [
        'web' => [
            ...
            \LaravelNonWwwRedirect\LaravelNonWwwRedirectMiddleware::class,
            ...
        ],
    ];

License

The Laravel Prod Tools is open-sourced software licensed under the MIT license