kiwa / website-skeleton
A website skeleton for Kiwa.
Requires
- php: >=7.4
- kiwa/console: ^0 || ^1.0
- kiwa/core: ^0.30 || ^1.0
Requires (Dev)
- phpunit/phpunit: ^11.0
- roave/security-advisories: dev-latest
- symfony/css-selector: ^7.0
- symfony/dom-crawler: ^7.0
Suggests
- bitandblack/contact-form: Prevents spam from your contact forms.
- kiwa/hyphenizer: Perfect hyphenation for your Website.
- kiwa/link-obfuscator: Hides email and phone links from spam bots.
- kiwa/page-search: Add a page search functionality to your Kiwa project.
- kiwa/sitemap: Creates a sitemap.xml by parsing the whole website.
- kiwa/source-collection: Easy creating of HTML Picture and Video elements with multiple sources.
README
Kiwa Website Skeleton
The skeleton for creating a website with Kiwa.
Requirements
This skeleton is made for the use with Composer. Be sure to get it at first.
Usage
Installation
Use your CLI and Composer to create a new website by running
composer create-project kiwa/website-skeleton my-project
. Changemy-project
by your needs.Move to your project directory, for example by running
cd my-project
.Create your code repository, for example by running
git init
.By running the installation a lot of basic files will be created, for example an
assets
folder for all your asset files. Those files can be committed to your repository.Install all dependencies by running
composer install
andyarn install
. If you're using NPM instead of Yarn or don't have those scripts installed globally, those commands may differ in your system.
Creating the website
Everything you want to do can be done with the help of the Kiwa Console, which is our own command line tool and that is stored in the bin
folder. It will help creating pages and more. Run php bin/console
to get more information.
Running the website
To access the website from public, point your domain to the public
folder so the index.php
inside will be used.
To run the website in a local environment, run php bin/console server:start
and open the URL that it tells in your browser. This will be mostly http://127.0.0.1:8000.
In case you don't want to use the Kiwa Console, you can also run a local PHP server by your own: php -S 127.0.0.1:8000 public/index.php
.
Documentation
The documentation about how to use Kiwa can be found under www.kiwa.io/documentation.html.
Help
If you have any questions, feel free to contact us under hello@bitandblack.com
.
Further information about Bit&Black can be found under www.bitandblack.com.