rougin/basilisk

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Skeleton application for the Slytherin framework.

dev-master / 1.0.x-dev 2020-08-06 15:47 UTC

This package is auto-updated.

Last update: 2021-07-15 17:55:15 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.

Installation

Install Basilisk via Composer:

$ composer create-project rougin/basilisk:dev-master "acme"

Getting Started

Running migrations and seeds

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.

Running the application using PHP's built-in web server

$ php -S localhost:8000 -t app/public

Now open your web browser and go to http://localhost:8000.

What's inside?

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

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

$ vendor/bin/phpunit

License

The MIT License (MIT). Please see LICENSE for more information.