Download the PHP package marmelab/ng-admin-generator-bundle without Composer

On this page you can find all versions of the php package marmelab/ng-admin-generator-bundle. 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 ng-admin-generator-bundle

archived Archived Repository
This code is no longer maintained. Feel free to fork it, but use it at your own risks.

NgAdminGeneratorBundle Build Status

You're a fan of StanLemonRestBundle because it makes REST APIs based on Doctrine entities a piece of cake? You starred ng-admin because you love the idea of a JavaScript-powered administration panel consuming a REST API? Then, you will love NgAdminGeneratorBundle, the Symfony2 bundle that bootstraps ng-admin based on a Doctrine-powered REST API!

Installation

Setting up bundle

Using this bundle in your own project is pretty straightforward, thanks to composer:

composer require marmelab/ng-admin-generator-bundle

Then, register it to your AppKernel.php file. The NgAdminGeneratorBundle should only be used in development:

No more configuration, you are now ready to go!

ng-admin template sample

Here is a Twig template to render your favorite administration panel:

If you got a blank page, ensure you have set correctly the ng-app and ui-view attributes.

Generating your ng-admin configuration

This bundle just adds the ng-admin:configuration:generate command to your application. By default, it outputs a JavaScript configuration based on the REST API defined by StanLemonRestBundle into STDOUT. You are free to redirect STDOUT into the file of your choice:

Tip: Thanks to the Symfony2 Console component, you can truncate parts of the command name and call the ng-admin:c:g command!

Configuration sample

Here is a sample of an auto-generated configuration, based on the stanlemon/rest-demo-app demo application. This application sets up the same entities as the official ng-admin demo app, i.e. Posts, Comments, and Tags. The generator simply uses entity mapping to better know which fields to use.

Contributing

Your feedback about the usage of this bundle is valuable: don't hesitate to open GitHub Issues for any problem or question you may have.

All contributions are welcome. New applications or options should be tested with the phpunit command.

License

NgAdminGeneratorBundle is licensed under the marmelab.


All versions of ng-admin-generator-bundle with dependencies

PHP Build Version
Package Version
Requires doctrine/orm Version ~2.4
doctrine/doctrine-bundle Version ~1.2
php Version >=5.4
symfony/browser-kit Version 2.*
symfony/framework-bundle Version 2.*
symfony/twig-bundle Version 2.*
symfony/finder Version 2.*
symfony/yaml Version 2.*
stanlemon/rest-bundle Version 0.8.*
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 marmelab/ng-admin-generator-bundle contains the following files

Loading the files please wait ....