Download the PHP package heyblackmagic/foundation without Composer

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

Craft CMS 5: Foundation

Foundation is a starter project built to streamline development with Craft CMS 5. It serves as a flexible and robust foundation, providing essential configurations, templates, and tools to kickstart your Craft CMS projects efficiently. Whether you're building a simple website or a complex application, this base project aims to save time and ensure best practices are followed from the start.

Features:

Requirements:

Before installing this repository, ensure that the following tools are installed and properly configured:

DDEV global setup

After installing DDEV, or before installing this repository, it is highly recommended to configure your current git settings in DDEV.

Run the following command:

Installation:

There are two cases where you might need to install this repo:

Installing from scratch:

  1. Create project with Composer's create-project command:

  2. Ensure you are in the directory you created for the project:

  3. Set the project name and any other DDEV config options.

  4. Boot the project:

  5. Install Craft CMS. IMPORTANT: During the installation, the Craft CLI will prompt for information such as database credentials (name, password, user, and database driver) or the project URL. These values are pre-configured and should not be edited.

  6. Open project with VSCode.

It’s possible that VSCode will ask if you want to install the recommended extensions for this repository.

We highly recommend installing the suggested extensions. You can see a full list of recommended extensions here.

If VSCode doesn’t prompt you about the recommended extensions, you can check them manually by going to Extensions (shift + command + X). In the search bar, filter by “Recommended.”


At this point, running ddev launch or ddev launch /admin will open your project's URL in the default browser.

Happy coding! 😊

Installing existing project (from git pull):

If you are installing an existing project from a git pull or git clone, follow these steps.

  1. Pull or clone the project from GitHub.

  2. To avoid discrepancies between environments when working collaboratively, avoid changing the name of the DDEV project. Any changes you make to the repo configuration should be communicated to your team.

  3. Boot the project.

  4. Import project db.

  5. Open project with VSCode.

It’s possible that VSCode will ask if you want to install the recommended extensions for this repository.

We highly recommend installing the suggested extensions. You can see a full list of recommended extensions here.

If VSCode doesn’t prompt you about the recommended extensions, you can check them manually by going to Extensions (shift + command + X). In the search bar, filter by “Recommended.”


You’re ready to continue developing on your existing project.

Happy coding!

Resolving ambiguities about commands

In order for DDEV to be able to execute the commands in their respective context, you must prefix each command with ddev. For example, instead of typing npm run dev, you should type ddev npm run dev. Ref: FAQS, DDEV docs.

However, when you run the ddev code command, VSCode opens the project with the Dev Containers extension, i.e. it opens the docker container directly. This means that any actions in the project will be in the docker / DDEV context, so if you open a VSCode terminal, you won't need the ddev prefix when running your commands.

Workflow commands

VSCode Extensions

We strongly recommend installing the following extensions for a better development experience:


All versions of foundation with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version 5.4.4
nystudio107/craft-closure Version ^1.0
nystudio107/craft-seomatic Version 5.1.3
nystudio107/craft-vite Version ^5.0.1
vlucas/phpdotenv Version ^5.4.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 heyblackmagic/foundation contains the following files

Loading the files please wait ....