Download the PHP package framecreative/frame-core without Composer

On this page you can find all versions of the php package framecreative/frame-core. 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 frame-core

Frame Core

Frame Core is the server-side equivalent to normalize.css - it sets some better defaults, smooths over some weird edge cases, and provides some functionality for developer convenience.

Besides the password protected screen, no markup is ever generated for the front end of the site

Usage

Preferred method: Add the variables in the project .env file:

Or define within the wp-config.php:

Automatically Added Features

Removal of ACF 'Custom Fields' link in admin

So the client can't change our beautiful custom fields.

Plugin, Theme, Wordpress Core changes are disabled

The following general user restrictions are set:

Set this to false if the hand-over has no agreements in place to manage the code.

Note: This feature only applies to non-admin accounts. The frame account (default: frame) will be immune).

Custom Features - General

Ongoing site maintenance agreement

Set as true if we have an agreement to maintain the website (perform updates, maintenance etc).

If set to true this will:

Set a custom Frame admin username

This defines the username of the dev user which will be immune to admin restricts. This user is able to install and update plugins at all times and will be able to edit ACF Field Groups. If our admin Wordpress login does not have the username frame then you can define the name:

Automatic Google Tag Manager embed code

By entering the ID, Frame Core will add the necessary embed code to the page <head> and <body>. Note: As the code placement is slightly different to the suggested placement you cannot verify the site in google site console (webmaster tools) using the Google Tag Manager verification method.

Freeze the content (default: false)

This activates a content freeze so only the Frame Admin can login to the CMS.

Custom Features - Dev Tools

Custom Features - Domain Tools

On Frame hosting these settings are mostly performed in Serverpilot / Cloudflare:

Custom Features - Mail

Custom Features - Logging

Send PHP errors to RollBar quickly and easily, just by setting the env variable to the correct API Key for the project.

If Rollbar logging has been set up fresh for this project you will need to send an error or message to Rollbar in order to 'activate' the project. Use the Query String param rollbar_test=1 in order to send a test message to Rollbar.

Contributing and Extending

We welcome PRs from within the Frame team, however please keep the following in mind when designing features

Sample .env values


All versions of frame-core with dependencies

PHP Build Version
Package Version
Requires composer/installers Version ~1.0
rollbar/rollbar Version ^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 framecreative/frame-core contains the following files

Loading the files please wait ....