Download the PHP package sherlockode/advanced-content-bundle without Composer

On this page you can find all versions of the php package sherlockode/advanced-content-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 advanced-content-bundle

Sherlockode AdvancedContentBundle


[ Support](https://www.sherlockode.fr/contactez-nous/?utm_source=github&utm_medium=referral&utm_campaign=plugins_acb)

image

Table of Content


Overview


This bundle provides advanced CMS features for end user contribution.

Users can build their website pages quickly and effortlessly thanks to our intuitive interface. Several standard elements are included, such as text block, heading, image, image carousel, video player, ... Responsive layouts can be shaped as needed with row and column elements. Drafts are saved automatically and it's easy to rollback to a previous version. Custom elements can be added simply with a few lines of code.

Installation


Get the bundle using composer

The best way to install this bundle is to rely on Composer:

Enable the bundle

Register the bundle in your application's kernel:

Terminology


Entities


A Page is linked to a PageMeta and to a Content.\ It can optionally be linked to a PageType too.

Content can be used independently as well.\ For example, if several Pages include the same layer, you can create a single Content with this layer and then include the Content within the Pages.\ As a result, if the layer has to change, you only have to change a single Content instead of all the Pages.

You can also create a Content to make some parts of your website dynamic.\ For example, you can create a Content which includes your footer links. This way you don't have to change your template everytime the footer has to be updated.

Pages, PageMetas and Contents are all versionable, hence the PageVersion, PageMetaVersion and ContentVersion entities.

Finally, if you enabled the scope management, you will be able to associate each Page and Content to one or multiple Scopes.

Elements


Content data is an array of Elements.\ Elements can either be a Layout or a FieldType.\ Layouts include rows and columns.\ FieldTypes include the field types we defined (text, image, video, ...) and you custom field types.

Configuration


Assets


jQuery and jQuery UI are mandatory and should be required in package.json in order for the assets build to work.

Please note that Font Awesome is optional, but natively used for icons display on contribution pages. To use it you should require @fortawesome/fontawesome-free in package.json (or use another install method of your choice).

You should import the provided assets in your main asset file to integrate them in your asset build process.

You can use the provided layout.html.twig or build your own depending on your needs. The symfony/webpack-encore-bundle is required in order to use this layout with the Webpack Encore Twig functions.

Twig


The bundle automatically uses Bootstrap 5 (or Bootstrap 4 for Symfony < 5.3) as the base form theme for all forms.

If you just want to use a different form theme, you can override the bundle's base form theme file Form/base_theme.html.twig

Entities


SherlockodeAdvancedContentBundle provides 8 entity models. To be able to use them, you need to create your own entities, see examples in the doc, and fill the corresponding configuration :

Upload configuration


If you want to use the Image or File field type, you need to configure the directory in which the images will be saved.

If not defined, all images will be saved in the system's temporary directory.

The uri_prefix is used to retrieve the image on display. The resulting image URL will be the URI prefix with the uploaded file name appended.

The bundle use namers to name uploaded files. A namer is a simple class which implements Sherlockode\AdvancedContentBundle\Naming\NamerInterface.

The built-in namers are:

You can change the namer through the configuration:

Routing


The routing is split into several files for better import rules.

The base.xml file is sufficient if you plan to manage all your CRUD operations in custom controllers (like if you use an external admin system).

Advanced Documentation


Dependencies


This bundle is compatible with webpack. jQuery library is mandatory. jQuery ui sortable is advised but not required. Some field types, such as the image carousel, use Bootstrap 5 for their display.

License


This bundle is under the MIT license. Check the details in the dedicated file

Contact


If you want to contact us, the best way is to fill the form on our website or send us an e-mail to [email protected] with your question(s). We guarantee that we answer as soon as we can!


All versions of advanced-content-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.1
cocur/slugify Version ^4.0
symfony/form Version ^4.4 || ^5.0 || ^6.0
symfony/framework-bundle Version ^4.4 || ^5.0 || ^6.0
symfony/twig-bundle Version ^4.4 || ^5.0 || ^6.0
twig/twig Version ^2.0 || ^3.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 sherlockode/advanced-content-bundle contains the following files

Loading the files please wait ....