Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Redminportal Laravel Package

redooor/redminportal

RedminPortal is a Laravel package that provides a ready-made admin portal and CMS foundation, with modules for users, roles, pages, menus, media, and catalog management to help you scaffold back-office features quickly.

View on GitHub
Deep Wiki
Context7

Getting Started

Release v0.58.0 is primarily a Laravel 5.8 compatibility release. Start by confirming your app’s Laravel version and auth setup before upgrading.

Minimal steps:

  1. Confirm you are on Laravel 5.8 if you plan to adopt v0.58.0 immediately.
  2. Review config/auth.php, the package’s User model, and any app-specific User model overrides.
  3. Run the package’s default model/controller flow in a local or staging environment before production.
  4. Clear cached config and routes after upgrading:
    php artisan config:clear
    php artisan route:clear
    php artisan cache:clear
    
  5. Exercise login, logout, guarded routes, and any custom user-provider logic.

Where to look first:

  • The package changelog/README for v0.58.0.
  • config/auth.php for guard/provider configuration.
  • The package’s User model and authentication controller.
  • Any app controllers or models that extend or override package defaults.
  • Existing auth middleware and route groups such as auth:web.

First use case: validate the default authentication path on Laravel 5.8 using the package’s built-in User model and controllers. If that works, extend the same pattern to custom models/controllers.

Implementation Patterns

Use v0.58.0 as a compatibility upgrade, not a rewrite. The release states previous model implementations should continue to work without changes, so keep existing model behavior stable and focus changes on auth guard integration.

Recommended patterns:

  • Keep custom User models extending the package model or using the same package traits/contracts.
  • Be explicit about guards in routes and auth calls:
    Route::middleware('auth:web')->group(function () {
        // protected routes
    });
    
    $user = Auth::guard('web')->user();
    
  • Use the same guard consistently across middleware, controllers, policies, and Blade checks. Avoid mixing Auth::user() with Auth::guard('admin')->user() unless the guard split is intentional.
  • When overriding package controllers, prefer extending the package controller or copying only the methods you need. This keeps future compatibility upgrades smaller.
  • Run the package’s migrations and verify that the default User model still resolves through the configured provider.
  • Add or update feature tests around authentication before upgrading production:
    • login success/failure
    • logout
    • guarded route access
    • redirect behavior for guests
    • custom guard access
  • In CI, test against Laravel 5.8 if that is your target. If you still support older Laravel versions, run a separate matrix and expect guard-related failures.

Integration tips:

  • Publish or review package config before changing auth behavior.
  • Prefer config-driven customization for user model/provider changes over patching vendor code.
  • If your app uses multiple guards, document which guard owns which routes and controllers.
  • Keep controller validation and authorization logic close to the package defaults unless there is a clear app-specific reason to diverge.

Gotchas and Tips

The main upgrade risk is the new guard participation in User authentication. The release explicitly warns that previous Laravel versions may break because of this addition.

Pitfalls:

  • Do not upgrade an app on Laravel < 5.8 without auditing auth behavior first. Pin to the previous known-good package release if needed.
  • Guard mismatches are the most likely failure mode. Check config/auth.php, route middleware, controller auth calls, and policy/gate checks together.
  • A custom User model may still “work” structurally while behaving differently under guard-aware auth. Test login/logout and guarded routes, not just model instantiation.
  • Cached config can hide guard changes. Always clear config after modifying config/auth.php or package auth settings.
  • If you extend package controllers, verify method signatures and middleware behavior after the upgrade.
  • Laravel 5.8 is old. If this package upgrade is part of maintaining a legacy app, isolate the dependency and plan a broader Laravel upgrade rather than assuming long-term support.

Debugging tips:

  • Use php artisan route:list to confirm middleware guards on auth routes.
  • Log Auth::guard()->getName() or the configured guard during login to verify the expected guard is active.
  • Check config/auth.php defaults and provider mappings before changing application code.
  • Reproduce failures in a fresh Laravel 5.8 app using only the package’s default User model/controller setup, then compare with your custom implementation.

Extension points:

  • Custom user providers and guards in config/auth.php.
  • Package config for model/controller overrides, if provided.
  • Package controllers as base classes for app-specific behavior.
  • Middleware and route groups for guard-specific access control.

Bottom line: v0.58.0 is safe to evaluate on Laravel 5.8, and existing model implementations should continue to work. Treat the guard addition as the primary compatibility checkpoint, especially if you support older Laravel versions or multiple auth guards.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core