Creates Slytherin-based applications with simple code structure.
Basilisk is a skeleton application exclusively for the Slytherin framework. It enables developers to create new PHP projects with easy to understand code structure and tries to follow SOLID principles.
Install Basilisk
via Composer:
$ composer create-project rougin/basilisk:dev-master "acme"
Before running the migrations/seeds, kindly update the database credentials first in .env
.
$ vendor/bin/phinx migrate -c app/config/phinx.php
$ vendor/bin/phinx seed:run -c app/config/phinx.php
NOTE: Running seed:run
will load the seeders in alphabetical order.
$ php -S localhost:8000 -t app/public
Now open your web browser and go to http://localhost:8000.
Package | Description |
---|---|
Authsum | yet another PHP authentication library |
Blade | a templating engine provided by Laravel |
Dotenv | loads environment variables from .env to getenv() |
Phinx | a PHP database migrations for everyone |
Slytherin | an extensible and SOLID-based micro-framework |
Valitron | a simple, elegant, stand-alone validation library |
Weasley | generators and helpers for the Slytherin framework |
$ vendor/bin/phpunit