Download the PHP package azzazkhan/modular-laravel without Composer

On this page you can find all versions of the php package azzazkhan/modular-laravel. 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 modular-laravel

Modular Laravel

This package is intended for adding modularization capability in your Laravel 11 applications. This package is inspired by the Modular Laravel series on Laracasts and provides helpful artisan commands for scaffolding modules and its components.

Please note this package is created for personal use only and not intended to be used by public.

If you like this package and want to introduce custom modifications, please feel free to fork it and add relevant changes.

To install this package run the following command in your Laravel application.

While installing this package composer will ask to allow wikimedia/composer-merge-plugin plugin. It should be allowed as it is needed for properly registering the components for each module. In addition to allowing the plugin, you also need to define the merge plugin's configuration in extra property of your composer.json file.

Next, you need to swap out the default routing definition in bootstrap/app.php with the following one. The specified RouteService will register your app's default web, api and health routes. It also exposes some methods for properly registering web and api routes for each of your application's modules. The event configuration is used to auto-discover Laravel 11's typed event listeners within all of your application modules.

Finally, update your phpunit.xml file and add the testsuite, source/include and source/exclude entries so PHPUnit scan your module directories while discovering tests.

Note that all module:* commands provided this package serves same purpose as their make:* counterparts, thought some modifications are made for easier scaffolding.

  1. All commands supporting --test option will only generate an accompanying Pest test.
  2. The controller, seeder, factory and observer commands will always append relevant Controller/Seeder/Factory/Observer/Request suffix to the class name if not provided while executing the command.
  3. The controller generation command does not support resource related actions.
  4. Event listeners are needed to be manually registered in module's service provider as Laravel doesn't support typed event listeners discovery outside app directory.

All versions of modular-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
archtechx/enums Version ^1.0
laravel/framework Version ^11.0
livewire/livewire Version ^3.0
wikimedia/composer-merge-plugin Version ^2.1
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 azzazkhan/modular-laravel contains the following files

Loading the files please wait ....