Download the PHP package codeurx/modular without Composer

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

Codeurx Modular

License Build Status Latest Stable Version Scrutinizer Code Quality

Codeurx Modular is simply a package for Laravel to help you create and manage modules.

Install

To install through Composer, by run the following command:

Autoloading

By default the module classes are not loaded automatically. You can autoload your modules using psr-4. For example:

Tip: don't forget to run composer dump-autoload afterwards.

run the following command to publish modules table migrations:

after that run the command:

Usage

Creating A Module

To create a new module, simply run the following command:

Folder Structure

You can access the url example for Users module by typing :

For Dummy data:

Deleting A Module

To delete a specific module, simply run the following command:

Tip: if the module does not exist you will be asked if you want to create it.

Listing All the Modules

To list the modules just run the following command:

Creating A Module Migration

To create a migration for a specific module just run the following command:

if you don't give the option --table the table name will take the name of the module by default.

Migrating Database for all modules

Migrating Database for specific module

Creating a new Controller for specific module

For example :

or

Tip: if you typed the second command the folder structure will be like below :

And for the routes you should add a line like this :

Creating a new model for specific module

For example :

or

Tip: if you typed the second command the folder structure will be like below :

Credits

About Amir Ali Salah

I'm a Tunisian FullStack Web Developer. For the moment i work for GIS (Gate Informatic Systems), you can visit My Website for more Informations.

License

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


All versions of modular with dependencies

PHP Build Version
Package Version
Requires php Version >=7.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 codeurx/modular contains the following files

Loading the files please wait ....