Download the PHP package teksite/module without Composer

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

Modular laravel Package

About

This package has been developed to enable modularity in Laravel. All its commands are similar to Laravel native commands, with the difference that you need to prepend module: to the commands. Additionally, the name of the created file and the target module should be specified at the beginning of the command, followed by the arguments and options.

By default, teksite/lareon make a directories in the root of the application "Lareon/Modules" and generate small version of laravel directories and files, so you can deal with them as you do with Laravel

example

module:make-controller <ControllerName> <ModuleName> <--option>

Author

Sina Zangiband

Contact

Installation

Laravel package
11.0 ^1.0

Step 1: Install via Composer

Run the following command in your CLI:

wikimedia/composer-merge-plugin

if you face to Do you trust "wikimedia/composer-merge-plugin" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] press y and enter. this package is used to recognize and merge composer.json files of modules.

Step 2: Register the Service Provider

Note: This step is not required for newer versions of Laravel (5.x and above) but in case:.

Laravel 10 and 11

Add the following line to the bootstrap/providers file:

Laravel 5.x and earlier

If you are using Laravel 5.x or earlier, register the service provider in the config/app.php file under the providers array:

Step 3: publish Service Provider (optional)

Optionally, publish the package's configuration file by running:

Step 4: add to Composer.json

By default, modules classes are not loaded automatically. You can autoload your modules by adding below codes:

Step 6: publish Service Provider (optional)

Tip: do not forget: composer dump-autoload .


How to work with the package

make a module

make a model in a module

make a controller in a module

all commands of this package is same as Laravel with their options.

Change module priority

To change priority of loading modules you can change the order of modules in the config/modules.


Credits

License

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

Feel free to reach out if you have any questions or need assistance with this package!


All versions of module with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ~11.0
teksite/handler Version *
teksite/extralaravel Version *
ext-dom Version *
ext-json Version *
ext-simplexml Version *
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 teksite/module contains the following files

Loading the files please wait ....