Download the PHP package statikbe/craft without Composer
On this page you can find all versions of the php package statikbe/craft. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package craft
Craft CMS starter package by Statik.be
This a scaffolding package for Craft CMS, by Statik.be. We use this internally to start new projects.
Assumptions made
We assume a couple of things
-
We use Ddev as our local development environment.
-
We use Postmark for email delivery.
- We use TailwindCSS for our frontend build.
🛠 Usage
Before beginning make sure you have Ddev installed and your docker-engine is running. Otherwise the install process will fail on initialization.
Use the following command to set up a new project:
➡️ A Craft CMS project will be created. Next Craft asks to start the set-up:
➡️ The next questions will be asked:
- Which database driver are you using? (mysql or pgsql)
- Database server name or IP address [127.0.0.1]
- Database port [3306]
- Database username [root]
- Database password
- Database name
- Database table prefix
➡️ Using the above defaults suggested by craft, will allow you to connect to your Ddev database and the installation will continue.
- Install Craft now? [yes]
- Password
- Confirm
- Site name [NL]
- Site URL [@baseUrl/nl]
- Site language [nl-BE]
➡️ Craft is installed, the plugins are installed and the existing project config is applied! 🚀
Now we're ready to initiate the Statik set-up:
➡️ This will give you the following options/ask you the following questions:
- Enter a new system name
- Do you want to remove the frontend account flow in Craft?
If you continue the next sections will be removed: confirmAccount, editPassword, editProfile, forgotPassword, forgotPasswordConfirmation, login, profile, register, registrationCompleted, setPassword, setPasswordConfirmation
- Do you want to use Postmark for email transport? (yes|no)
- Enter a Postmark API key
- Enter an emailaddress to use for testing on staging environments
- Do you want to set up a git repo for this project? (yes|no)
- Add a remote?
- Do you want to initialize git-flow? (yes|no)
➡️ The installation is ready!
🎨 Frontend Setup
We use tailwindscss and vite.js
vite.config.js
tailwind.config.js
Getting started
Afterwards you can build using
or
CSS and Javascript
tailoff/css
and tailoff/js
Favicon
Add an svg in tailoff/img/
called favicon.svg
and run
Icons
Icon go in the folder tailoff/icons
🧪 Testing
There are two tests added to the frontend stack. An A11y tester that uses pa11y-ci under the hood. And a html tester that we wrote ourself, inspired by the pa11y code, that uses html-validate under the hood. You can call them by using these commands:
They both use the BASE_URL variable from the .env file to get the craft sitemap. This sitemap gets parsed to get a list of all url's in the site. And the tests are then performed on these URL's.
Attention To get the tester running on your local system. Run the following command in your terminal
⚙️ Development
To work on this repo you can clone it like you would a regular project:
⭐️ Features & support
We'd love the hear your suggestions and review your pull requests, but keep in mind that is repo is for internal projects first.
All versions of craft with dependencies
ext-json Version *
craftcms/ckeditor Version ^4.0
craftcms/cms Version 5.3.6
craftcms/postmark Version ^3.1.0
hybridinteractive/craft-position-fieldtype Version ^5.0.0
hybridinteractive/craft-width-fieldtype Version ^5.0.0
jaybizzle/crawler-detect Version ^1.2
mikehaertl/php-shellcommand Version ^1.6
miranj/craft-obfuscator Version ^1.2.0
mmikkel/cp-field-inspect Version 2.0.2
nystudio107/craft-imageoptimize Version 5.0.2
nystudio107/craft-vite Version 5.0.1
percipioglobal/craft-password-policy Version ^5.0.0-beta1
statikbe/craft-carbon-tracker Version 5.0.2
statikbe/craft-config-values Version ^5.0.0
statikbe/craft-cookie-banner Version ^5.0.0
statikbe/craft-sentry Version 5.1.0
statikbe/craft-translate Version ^5.0.0
statikbe/craft-video-parser Version ^5.0.0
studioespresso/craft-dumper Version 5.0.1
studioespresso/craft-navigate Version ^5.0.0
studioespresso/craft-seo-fields Version 5.0.2
vanderlee/syllable Version ^1.7
verbb/element-index-defaults Version ^4.0.0-beta.1
verbb/expanded-singles Version ^3.0.0-beta.2
verbb/formie Version 3.0.5
verbb/hyper Version 2.0.4
verbb/image-resizer Version 4.0.1
verbb/knock-knock Version 3.0.1
verbb/tablemaker Version 5.0.1
vlucas/phpdotenv Version ^5.4.1