Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.72 KB

README.md

File metadata and controls

61 lines (42 loc) · 1.72 KB

Minimal Framework

Latest Stable Version License Riccardo Slanzi

Minimal Framework give you some of Laravel's magic in less than 10MB. Ideal for landing pages and small web sites.

Highlights

Minimal includes:

  • Rich package skeleton, (containing common files required by almost every PHP package)
  • Version Control: Git (.gitignore)
  • Rounting: Symfony
  • Dependency injection: Symfony
  • Environment variables: phpdotenv (.env)
  • Template scripting: Blade
  • Testing: PHPUnit (phpunit.xml)
  • Package Manager: Composer (composer.json)
  • CSS: TailwindCSS 2 with full config preset (tailwind.config.js)
  • JS: AlpineJS

Installation

Require the rslanzi/minimal package with composer.

composer require rslanzi/minimal

Usage

// index.php
require_once __DIR__.'/../vendor/autoload.php';
...

Test

To run the tests, run the following command from the project folder.

$ ./vendor/bin/phpunit

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Credits

License

The MIT License (MIT). See the License File for more information.