Download the PHP package thomasleconte/laminas-gen without Composer

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

LaminasGen

Do you know Symfony's generating commands ? It's the same, for Laminas Framework :)

install it

Just use composer require thomasleconte/laminas-gen !

Config it

You need to provide this script in your composer.json file for make this lib able to be used.

Use it

Module generation

composer laminas-gen module <yourModuleName> (By default, this will generate an associated controller for be able to use your module fast as possible. But you can disable it using an optional argument : without-extra. So you can use command like that composer laminas-gen module <yourModuleName> without-extra)

Controller generation

composer laminas-gen controller <yourControllerName> <existingModuleName> (This will generate all associated CRUD views for again, use your controller fast as possible. And you cant disable it ... For the moment 🥱)

Entity generation

composer laminas-gen entity <yourEntityName> <yourModuleName>. You will have to type each properties of your entity. yourEntityName.php and yourEntityNameTable.php files will be generated, with default getters and setters.

Undo

composer laminas-gen undo (This will undo all last creations or modifications done by LaminasGen)
composer laminas-gen undo-all (This will undo all creations or modification done since you use it)

Details

When you will have installed this package, you will be able to edit templates in src/Generators/templates/ folder. But keep in mind that you will have limited possibilites, due to number of variables understood by my script. So you can edit the script for make my script understanding your variables :)

Debug it

1 - Run autoload command before work on project : composer dump-autoload -o 2 - Good luck dude.

Reminder

If you want to use package during debug, add these lines on your test project :

Then, just install it with : composer require thomasleconte/laminas-gen @dev. Take care about @dev, composer uses this to pickup the source code and symlink it to your new package.


All versions of laminas-gen with dependencies

PHP Build Version
Package Version
No informations.
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 thomasleconte/laminas-gen contains the following files

Loading the files please wait ....