Download the PHP package atf/prudentia without Composer

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

INTRODUCTION

This theme is a sub-theme of uswds_base drupal theme. This sub-theme requires the full USWDS assets folder and the @USWDS/compile package. The steps below assume you are using a docker container to run Drupal app and you Lando to spin services and tooling in your app. It uses GULP to compile SASS and copy/update USWDS assets. This assumes your webroot is : web . If your codebase webroot name is different, you need to update lando.yml file.

Install and enable a Prudentia subtheme in a Drupal 9 website

  1. Install the prudentia theme lando composer require atf/prudentia

_Note: As March 2022, to use the USWDS 2.13.1 version we need the uswds_base 2.13@alpha version. Since this alpha version that does not meet the composer minimum-stability, manually installation of that version is needed.

  1. Run: lando composer require 'drupal/uswds_base:^2.13@alpha'

  2. Copy the /web/themes/contrib/prudentia/starterkit/yourthemename folder

  3. Paste the yourthemename folder in the /web/themes/custom/ directory

  4. Replace "yourthemename" folder name with your theme name

  5. Replace all instances of "yourthemename" in the filenames with your theme name.

    custom/yourthemename/

    custom/yourthemename/config/install

    custom/yourthemename/config/optional

    custom/yourthemename/config/schema

    custom/yourthemename/js

    custom/yourthemename/sass

  6. Open the files inside each of the following folders and replace all instances of "yourthemename" with your theme name.

    custom/yourthemename/

    custom/yourthemename/config/install

    custom/yourthemename/config/optional

    custom/yourthemename/config/schema

    custom/yourthemename/js

    custom/yourthemename/sass

NOTE: Remove the 'rename-me' from the filename of custom/yourthemename/yourthemename.info.rename.me.yml file

  1. Navigate to /admin/extend and enable the components module

  2. Navigate to the /admin/appearance page

  3. Install and set as default "yourthemename" theme

  4. Open lando.yml file and add the following code:

Note: replace yourthemename with your theme name

Notes:

  1. lando rebuild -y

  2. cd web/themes/custom/yourthemename

  3. lando npx gulp copyAssets

  4. lando npx gulp compile

  5. lando drush cr

  6. In your drupal application:

    • Go to "admin/config/development/performance" and uncheck: "Aggregate CSS files" and "Aggregate JavaScript files" under the Bandwidth Optimization and click Save Configuration (to prevent caching)

    • Go to "/admin/appearance" page and "Install and set as default" yourthemename theme.
  7. Clear cache lando drush cr

  8. Navigate to your project home page, it should be running your custom theme based on Prudentia

Important Notes:

PRUDENTIA GITHUB REPO: https://github.com/atfweb/prudentia/

References:


All versions of prudentia with dependencies

PHP Build Version
Package Version
Requires drupal/uswds_base Version ^2.12
drupal/components Version ^2.4
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 atf/prudentia contains the following files

Loading the files please wait ...