Download the PHP package octopouce-mu/admin-bundle without Composer

On this page you can find all versions of the php package octopouce-mu/admin-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 admin-bundle

OctopouceAdminBundle

Prerequisites

This version of the bundle requires Symfony Flex (>= 4.0) and PHP 7. You want to use Doctrine ORM and MySQL.

Translations

If you wish to use default texts provided in this bundle, you have to make sure you have translator enabled in your config.

Add the vendor KNP Doctrine Behaviors in bundles.php

For more information about translations, check Symfony documentation.

Installation

  1. Download OctopouceAdminBundle using composer
  2. Create your User and Invitation class
  3. Update your database schema
  4. Import OctopouceAdminBundle routing
  5. Publish the Assets
  6. Configure your file security
  7. Generate Data Fixtures
  8. Configure your .env

Step 1: Download OctopouceAdminBundle using composer

Require the bundle with composer:

Step 2: Create your User and Invitation class

The goal of this bundle is to persist some User class to a database. Your first job, then, is to create the User and Invitation class for your application. This class can look and act however you want: add any properties or methods you find useful. This is your User & Invitation class.

The bundle provides base classes which are already mapped for most fields to make it easier to create your entity. Here is how you use it:

  1. Extend the base class (from the Model folder if you are using any of the doctrine variants)
  2. Map the id field. It must be protected as it is inherited from the parent class.

Note

The doc uses a bundle named AppBundle according to the Symfony best practices. However, you can of course place your user class in the bundle you want.

Caution:

If you override the construct() method in your User class, be sure to call parent::construct(), as the base User class depends on this to initialize some fields.

a) Doctrine ORM User class

If you're persisting your users via the Doctrine ORM, then your User class should live in the Entity namespace of your bundle and look like this to start:

b) Doctrine ORM Invitation class

If you're persisting your users via the Doctrine ORM, then your Invitation class should live in the Entity namespace of your bundle and look like this to start:

Step 3: Update your database schema

For ORM run the following command.

Caution

If error "1071 Specified key was too long; max key length is 767 bytes", you change configs doctrine :

Step 4: Import OctopouceAdminBundle routing files

Now that you have activated and configured the bundle, all that is left to do is import the OctopouceAdminBundle routing files if Symfony Flex hasn't already imported the file.

Step 5: Publish the Assets

Step 6: Configure your file security

a. Configure default for admin and user

Step 7: Generate Data Fixtures

The bundle need data default for working so uou can to generate fixtures data in database :

Step 8: Configure your .env

For finish the configuration of OctopouceAdminBundle, you can to configure package dependencies in .env.

Others bundles

You can to add bundles with OctopouceAdminBundle :


All versions of admin-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3
symfony/framework-bundle Version ^3.4|^4.0
symfony/form Version ^3.4|^4.0
symfony/asset Version ^3.4|^4.0
symfony/security-bundle Version ^3.4|^4.0
symfony/swiftmailer-bundle Version ^3.1
symfony/orm-pack Version *
symfony/yaml Version ^3.4|^4.0
symfony/twig-bundle Version ^3.4|^4.0
symfony/translation Version ^3.4|^4.0
doctrine/doctrine-fixtures-bundle Version ^3.0
twig/extensions Version ^1.5
sensio/framework-extra-bundle Version ^5.1
stof/doctrine-extensions-bundle Version ^1.3
facebook/graph-sdk Version ^5.6
google/apiclient Version ^2.2
friendsofsymfony/jsrouting-bundle Version ^2.2
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 octopouce-mu/admin-bundle contains the following files

Loading the files please wait ....