Download the PHP package sendy/modularizer without Composer

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

Laravel 4 Modularizer


https://github.com/sendyhalim/laravel-modularizer

This package is still in early development, but it is usable and already tested.

Modularizer is a Laravel 4 plugin. Basically it is an artisan command that creates module and auto validation repository based on given input. It is inspired by these amazing people:


Install


Add "sendy/modularizer": "dev-master" to your composer.json then run composer update in your terminal.

Add Sendy\Modularizer\ModularizerCommandServiceProvider and Sendy\Modularizer\ModularizerModulesServiceProvider respectively to app/config/app.php service providers.

Last, (with default config)include this to your composer.json for autoloading


Using it...


First make you need to publish the config, fire up your terminal and type

it will generate modularizer config app/config/packages/sendy/modularizer/module.php

inside the config, there's


Available Commands


Create a module:

arguments

options

Prepare modularizer, make Core for your modules

options

Create repository

arguments

options

Create migration for a module

This command takes input and call php artisan migrate:make command with path edited to module path hence you need to specify your module name

arguments

options


Examples


Creating Admin module

with default config it will create Admin module in app/modules/Modules

Admin views is registered with its namespace admin::view-file, example I have a view file Admin/views/layout.blade.php, to get it you need to use admin::layout

Modularizer also comes with autovalidation repository, first you need to publish Core(I like to call it so, but you can configure whatever name you like)

with default config it will create Core in app/modules/Modules

All repositories and interfaces that are created by modularizer will automatically extend BasicRepository(Reader/Writer) and its interface will automatically extend BasicRepository(Reader/Writer)Interfaces

Notice ValidatorInterface.php, everytime we save(create/update) with a repository, we need to pass a class that implements ValidatorInterface to the repository. First let's make a validator for model User

Now we need a UserRepository, with modularizer we can make it fast

the above command will make repository(read and write) for model User inside Admin module. 4 Files will be created for you

The repository interfaces will be tied with user repositories

That's it! We can use the UserRepository now


All versions of modularizer with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
illuminate/support Version 4.*
illuminate/filesystem Version 4.*
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 sendy/modularizer contains the following files

Loading the files please wait ....