Download the PHP package bcdo/project without Composer

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

DEPRECATED

This is no longer maintained, and is adviced to not be used. The new nitro and nitro versions coming will all be docker based. This repo was a workaround to get up and running on the nitro multipass solution. Now, there will be no need if nitro is the preferred dev enviroment.

NOEN Reklamebyrå scaffolding

What is this?

This is a Craft CMS scaffolding project based on the nystudio107´s docker scaffolding. I needed it to work with vm instead of docker, so I have adjusted it to be used with Craft Nitro. Before trying to use this, make sure you install Nitro first. I will keep updating this project based on my own preferences, as well as follow ups on nystudio107´s updates.

Required Technology Stack

Build instructions

  1. From developer folder, run _"composer create-project bcdo/project projectname"

  2. Add the site to Nitro, with "nitro add". If needed, start a new nitro machine with "nitro init -m machineName" first. If new machine was created all of the following nitro commands has to end with "-m nameOfMachine". For new machines, ssh into machine and run "sudo apt install composer -y && sudo apt install npm -y" then "sudo apt-get update -y && sudo apt-get install -y".

  3. Exit the vm and duplicate the .env.example into .env file, and replace all the REPLACE_ME parts. To get the IP run nitro info. Remember the name of the database for the next step.

  4. Cd into the scripts folder. Run _"nitro db import seeddb.sql", and name it the same as in the .env file. This will seed the db properly.

  5. Nitro ssh and Cd into the root folder, and run "composer install --no-scripts --optimize-autoloader --no-interaction", and "npm install". When finished run "npm run debug" in a new terminal - Check if everything compiles properly and keep it running in the background.

  6. Exit the vm again and run "nitro db restart".

  7. Nitro ssh into the machine and run "./craft setup" from root folder, and follow the instructions. To finish off, you can also run "composer update".

Thats it! Further down you will find optional installs as well, but not required.

To log in to craft, use the following admin details: User: [email protected] Password: letmein

The database uses the Nitro default details.

In the future, will have to work on making it even less complicated.

Optional

Asset handling

  1. Set up aws and cloudfront as explained at https://bit.ly/3g2ZcX8 , and populate the .env file accordingly. Remember the correct region, I use Stockholm which gives me the region of eu-north-1.
  2. Set up a image transform service for serverless image handling as explained at https://bit.ly/2ZYx9Cr
  3. Populate the .env file.

    Pagetesting

  4. The webperf plugin gives you an optional to input a webpagetest api. Head over to webpagetest.org, get the free api key and populate the .env file.

    DB and Asset sync, and other scripts.

  5. In the scripts directory, duplicate the example.env.sh file, and rename it to .env.sh.
  6. Edit the .env.sh files and replace REPLAC_ME with appropriate information.
  7. Create the .env.sh files for each environment, as this is ignored by git. Visit https://bit.ly/39xx4bW to understand the content of the scripts folder.

    Pre-commit checklist

  8. Follow https://bit.ly/2P0Gtzg to set up a custom pre-commit checklist for safe git commit, project based.

All versions of project with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^3.5.8
vlucas/phpdotenv Version ^3.4.0
yiisoft/yii2-redis Version ^2.0.6
nystudio107/craft-imageoptimize Version ^1.0.0
nystudio107/craft-fastcgicachebust Version ^1.0.0
nystudio107/craft-minify Version ^1.2.5
nystudio107/craft-typogrify Version ^1.1.4
nystudio107/craft-retour Version ^3.0.0
nystudio107/craft-seomatic Version ^3.2.0
nystudio107/craft-webperf Version ^1.0.0
nystudio107/craft-twigpack Version ^1.1.0
ostark/craft-async-queue Version ^2.1.1
craftcms/aws-s3 Version ^1.2.8
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 bcdo/project contains the following files

Loading the files please wait ....