Download the PHP package maxime-rainville/recipe-admin without Composer

On this page you can find all versions of the php package maxime-rainville/recipe-admin. 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 recipe-admin

SilverStripe recipe-admin

recipe-admin is a SilverStripe recipe designed for "portal" projects that only need to use the "administration" part of SilverStripe to manage DataObjects:

What does the recipe do?

View a short video of a recipe-admin project

Getting started

Add recipe-admin to your composer file.

Rename .env-sample to .env and adjust the settings according to your environment.

From here, just follow the normal set up steps for a SilverStripe project.

What to do next?

The recipe comes with some simple examples to help you get started quickly. But you will need to tweak the example code to your use case.

Set up your DataObjects

Two basic DataObjects are included in the basic recipe: Dog and Breed. Both of them come with sample code illustrating how to:

Copy or rename these DataObject to suit your use case.

Define an ModelAdmin controller

Dog and Breed can be managed via the "DogAdmin" ModelAdmin. Rename DogAdmin and adjust it to reference your own DataObjects.

Set the default area in the Model

Recipe-admin is configured to have a default administration area. This will be the first screen your users will see after login into your portal.

By default this points to DogAdmin. Update app/_config/routes.yml to point to your own ModelAdmin

Define some default data

recipe-admin comes with some default records. This pre-populates your project with some data with your first dev/build. When setting up a new environment, this allows you to quickly get started without having to load a database snapshot.

Adjust app/_config/default-records.yml to reflect your own DataObjects.

Define some default groups

recipe-admin ships with a simple DataExtension showing you how do define default groups. Adjust the groups and permission define app/_config/default-records.yml to reflect your own DataObjects.

Create some reports for your users

BreedReport shows you how you can create a custom report to allow your user to get refine view of their data.

If your users don't need this data, simply delete BreedReport and the "Report" panel will be hidden.


All versions of recipe-admin with dependencies

PHP Build Version
Package Version
Requires silverstripe/recipe-plugin Version ^1.2.1
silverstripe/recipe-core Version ^4.4.1
silverstripe/admin Version ^1.4.1
silverstripe/reports Version ^4.4.1
silverstripe/siteconfig Version ^4.4.1
silverstripe/login-forms Version ^4.0.0-beta1
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 maxime-rainville/recipe-admin contains the following files

Loading the files please wait ....