Download the PHP package minimalic/silverstripe-fundamental without Composer

On this page you can find all versions of the php package minimalic/silverstripe-fundamental. 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 silverstripe-fundamental

Silverstripe Fundamental - a foundation for modular pages

Provides essential, foundational elements for building modular pages using Silverstripe CMS and the Elemental module.

Requirements

Installation

To install Fundamental (with requirements included) use Composer:

Refresh your database by navigating to your website's root directory in the shell and running: vendor/bin/sake dev/build "flush=all"

Or, use your base URL with: /dev/build?flush=all

Recommended Extensions

The Fundamental extension is optimized for the "Bulk Upload" feature provided by GridField Bulk Editing Tools.

Install using composer (optional):

Available Modules

Customization

Custom Theme for ModularPage

Create your own ModularPage.ss template inside your theme's template directory at:

Custom Themes for Modules

By default the Fundamental extension uses Bootstrap 5 classes for templating.

To override default templates for modules/blocks, create your own template file (e.g., ModuleImage.ss) inside your theme's template directory at:

Alternatively copy the entire vendor/minimalic/silverstripe-fundamental/templates/ directory to your templates/ directory and customize all template overrides.

Options for custom image upload directory

By default images (modules: "Image Block", "Hero Banner Block"...) will be uploaded to images/parent-class/parent-title, where parent is the page/object holding the module. To change this behavior add this to your config (e.g. inside mysite.yml):

For the image_directory_name configuration option you can chose the top directory name for uploaded files. The available options for image_directory_sub_struct are:

The "Slideshow" and "Gallery" modules provide one additional image_directory_sub_struct option:

Global configuration

Set image resize quality (Optional)

Set the global image quality inside your config (e.g. mysite.yml) and enable forced resampling for not-resized images (optional):

Remap Local Elemental Extensions (Optional)

This step is necessary if you are already using an ElementalPageExtension and want to replace it with the page type provided by this module.

To remap existing App\Pages\ModularPage or ElementalPage (the class name of your custom Elemental page extension, if any), use the following configuration in your mysite.yml:

Replace App\Pages\ModularPage with your class name. Also, ensure your existing table_name is ModularPage; if not, you should rename your table.

After rebuilding your database, you can delete these remap lines from your mysite.yml. Your existing Elemental pages should now use this module.

License

See License

Copyright (c) 2024, minimalic.com - Sebastian Finke All rights reserved.


All versions of silverstripe-fundamental with dependencies

PHP Build Version
Package Version
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 minimalic/silverstripe-fundamental contains the following files

Loading the files please wait ....