Download the PHP package ip/meat-up without Composer

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

MeatUp Bundle

The MeatUp Bundle is a Symfony bundle that provides a command for generating a CRUD controller based on a Doctrine Entity. It uses the Symfony Skeleton Application from inter-Punkt as a starting basis. The bundle will generate the following files for you:

Basic Usage

This guide will show you who to generate a CRUD Controller from a simple Doctrine entity.

Here is a summary of what you will have to do:

Step 1: Create a simple Doctrine entity

The example above is a very basic Doctrine entity. If you don't understand everything in there, you can find more information in the Doctrine documentation.

Now you can use a Doctrine command to create the getter and setter methods for you:

Now the entity class is complete and you can create the table in the database:

Step 2: Execute the MeatUp command

Now everything is ready for the MeatUp command to generate your CRUD controller with the the fully qualified class name as argument:

After the command has successfully finished you can start your web server and check out the controller. If you don't know how you can start the built-in Web-Server have a look at the Symfony documentation.

If your Web-server is running as localhost:8000 just enter the following URL in your browser:

You can now go on and create a new record by clicking on the button with the label 'Neuer Eintrag'. After creating the new record you will be redirected to the overview page. There you will see that there is a new record and that you can edit it with a click on the button 'Bearbeiten', but there is no column yet to indicate which record it is.

Step 3: Add OnIndex annotation

Because there is no way for the MeatUp command to guess which properties of your entities you want to show on the overview page, you need to add the OnIndex annotation to tell the bundle that this property should be on it. Luckily we only need to add two lines to the entity above to do that.

First we need to import the MeatUp namespace and add an alias to it:

Now we add the OnIndex annotation to the title property:

That's it! Now we execute the MeatUp command once more and after reloading the website the title will be shown on the overview page with the record we created before:

You now know already how to use the MeatUp command to create simple CRUD controllers. For more advanced usages please refer to the docs.

Usage

For the full usage documentation see:

Resources/doc/index.md

Requirements

License

See the bundled LICENSE file.


All versions of meat-up with dependencies

PHP Build Version
Package Version
Requires symfony/framework-bundle Version ^2.8|^3.0
doctrine/annotations Version ^1.0
doctrine/orm Version ^2.0
symfony/filesystem Version ^2.8|^3.0
twig/twig Version ^1.0|^2.0
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 ip/meat-up contains the following files

Loading the files please wait ....