Download the PHP package kerns/craft-on-ddev without Composer

On this page you can find all versions of the php package kerns/craft-on-ddev. 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 craft-on-ddev

Craft on DDEV

Dockerized local development for Craft CMS, pre-configured with Vite and built on DDEV.

Features

Installation

I. Getting Started

Make sure you have installed Docker, DDEV and Composer before continuing.

With that behind you, open a terminal prompt and run:

Make sure that <YOUR PATH HERE> is the location of a new or existing and empty directory.

Though not a requirement, it would be a good idea (and allow you to skip Step 2) if you named this directory after your desired DDEV subdomain. For example, a directory named my-website would be pre-configured to use https://my-website.ddev.site in Step 3.

II. Configure DDEV (Optional)

You can skip this step if the name of your root directory matches your desired DDEV subdomain.

If you need your local DDEV domain to be different from the name of this project's root directory, run the following command from inside said directory:

Follow the prompts.

III. Install

To install Craft, Vite and a few supporting plugins run the following command and follow the prompts.

This builds a sane, Dockerized development environment running the latest version of Craft CMS. It also installs a selection of plugins for Craft as defined in composer.json.default. You can edit/expand this list however you like, just remember to mirror those choices in your Makefile prior to running make install.

Pay special attention to the Craft installation prompts. After setting the admin's account credentials, you'll be prompted for your desired site name and url.

The Site name can be anything, can include spaces and capital letters, and doesn't need to correspond to your project's root folder name or DDEV domain.

The Site url If for some reason the suggested default isn't acceptable, answer the prompt for a url with the full url (😎 e.g. https://my-website.ddev.site)

_πŸ’‘ If you're unclear about the url of your project open another terminal window in the same directory and run ddev describe.

Usage

Development

Start Vite for HMR and live reloading with:

Edit the default index.twig file in templates/ to confirm that changes are being pushed to your browser.

πŸ’‘ Run ddev launch to open the domain of your Craft project in your default browser. Like all project specific DDEV commands, it can be run from any location below your project's root directory.

Building for Production

Generate a production ready build of your site with:

Bundles and exports assets for use in production (default location is /web/dist/).

Other Makefile Commands

Useful DDEV Commands

ddev start, ddev stop, ddev restart, ddev import-db, ddev describe, and ddev poweroff are among the most useful commands available when using DDEV. They can be run from any directory below your project's root directory.

Included Craft CMS Plugins

The following plugins are installed by default:

To add or remove plugins to your installation edit your composer.json prior to running make install. Remember to mirror those choices in Makefile.

πŸ’‘Note that some plugins require an additional configuration file be added to your /config directory.

Included Tailwind Plugins

Included Javascript Libraries

Roadmap

Acknowledgements & Credits

Based on 1DR's excellent Craft CMS Starter. Please read 1DR's credits! Landing page bg courtesy svgbackgrounds.com and @MattVisiwig πŸ™.


All versions of craft-on-ddev with dependencies

PHP Build Version
Package Version
No informations.
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 kerns/craft-on-ddev contains the following files

Loading the files please wait ...