Download the PHP package panicdevs/modulite without Composer

On this page you can find all versions of the php package panicdevs/modulite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package modulite

Modulite

Automatic Filament Panel Provider discovery for modular Laravel applications with intelligent caching and performance optimization.

Modulite automatically discovers and registers Filament panels and components across your modular application structure, eliminating the need for manual registration while providing production-ready performance optimizations.

Features

Installation

Install via Composer:

Publish the configuration file:

Quick Start

  1. Install the package (configuration publishes automatically)
  2. Register the plugin in your Filament panel providers
  3. Structure your modules following the expected patterns
  4. Run optimization for production: php artisan modulite:cache

Panel Registration

Add the ModulitePlugin to each panel where you want component discovery:

That's it! Modulite will automatically discover and register components for this panel.

How It Works

Discovery Process

Modulite works on two levels:

  1. Panel Providers: Automatically discovered and registered by the service provider
  2. Components: Discovered by the plugin for specific panels
    • Resources: Filament resource classes for CRUD operations
    • Pages: Custom Filament pages
    • Widgets: Dashboard widgets and components

Module Structure

For a module named User, Modulite expects this structure:

Registration Flow

  1. Bootstrap: Service provider registers core services during Laravel boot
  2. Panel Discovery: Panel providers are automatically discovered and registered
  3. Plugin Registration: ModulitePlugin is registered with specific panels for component discovery
  4. Component Discovery: When panel loads, plugin discovers components (resources, pages, widgets)
  5. Cache Check: Fast path checks cache file first (per panel)
  6. Scan & Cache: On cache miss, scans filesystem and caches results
  7. Component Registration: Discovered components auto-register to the specific panel

Configuration

Cache Settings

Configure caching behavior for optimal performance:

Key Settings:

Discovery Locations

Define where to scan for components:

Placeholders:

Validation Rules

Control how strict discovery validation should be:

When to Use:

Module Integration

Choose your module management approach:

Performance Optimization

Configure for production performance:

Environment Variables

Set these in your .env for easy configuration:

Production Setup

Optimization Commands

Deployment Workflow

  1. Build Assets: Run your normal build process
  2. Cache Application: php artisan optimize
  3. Cache Modulite: php artisan modulite:cache
  4. Deploy: Your cached discoveries are ready

Cache Management

The cache system works like Laravel's bootstrap cache:

Troubleshooting

Check Discovery Status

This shows:

Common Issues

No panels discovered:

Performance issues:

Components not showing:

Debug Mode

Enable detailed logging in development:

Cache Issues

Clear all caches if you encounter stale data:

Performance

Benchmarks

Production Optimizations

Modulite automatically optimizes for production:

Advanced Usage

Custom Base Classes

You can use custom base classes for components:

Manual Component Registration

For edge cases, disable auto-discovery and register manually:

Multiple Panel Support

Modulite automatically handles multiple panels per module. Each panel needs the plugin registered for component discovery:

Components are discovered based on directory structure:

Requirements

Support


Made with ❤️ by PanicDevs


All versions of modulite with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
filament/filament Version ^4.0 || ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package panicdevs/modulite contains the following files

Loading the files please wait ...