Git Product home page Git Product logo

app-1.0's Introduction

Spiral, PSR7/PHP7 Framework

Latest Stable Version License Build Status

Spiral Framework

The Spiral framework provides open and modular Rapid Application Development (RAD) environment, database tools, code re-usability, extremely friendly IoC, IDE integration, PSR-7, simple syntax and customizable scaffolding mechanisms

Spiral Framework | Modules and Packages | Guide | Installation Notes | Forum


Server Requiments

Make sure that your server is configured with following PHP version and extensions:

  • PHP 7.1+
  • OpenSSL Extension
  • MbString Extension
  • Tokenizer Extension
  • PDO Extension with desired database drivers

Installation

composer create-project spiral/application

Once application installed you can ensure that it was configured properly by executing:

./spiral configure -k && phpunit

Available Components:

  • ODM - MongoDB strict schema ODM
  • Storage - File storage abstraction layer

Available Modules:

  • Auth - Token based user authentication
  • Profiler Panel - Profiler panel/middleware for Spiral Applications (pre-installed)
  • IDE Helper - IDE autocomplete generator: ORM, ODM, RequestFilters, Container (pre-installed)
  • Hybrid DB - ORM-to-ODM relation bridge with transactions support
  • Scaffolder - Help commands for scaffolding parts of your application (pre-installed)
  • Toolkit - View widgets (pre-installed)
  • Vault - HMVC Core with RBAC and visual layout
  • PHPFastCache - PSR6 and PSR16 cache adapters

app-1.0's People

Contributors

jwdeitch avatar wolfy-j avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

app-1.0's Issues

Controller unit test error on PHP 7.2

I get erros when run unit test.

My environment:

  • Ubuntu 18.04
  • PHP 7.2.10

The error:

1) Tests\Controllers\IndexTest::testSeeWelcome
ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

/spiral-demo/vendor/spiral/framework/source/Spiral/Session/SessionFactory.php:58
/spiral-demo/vendor/spiral/framework/source/Spiral/Session/Http/SessionStarter.php:79
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/MiddlewarePipeline.php:128
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/MiddlewarePipeline.php:227
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/Middlewares/CsrfMiddleware.php:74
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/MiddlewarePipeline.php:128
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/MiddlewarePipeline.php:227
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/Middlewares/ExceptionWrapper.php:69
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/MiddlewarePipeline.php:128
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/MiddlewarePipeline.php:227
/spiral-demo/vendor/spiral/profiler/source/Profiler/ProfilerWrapper.php:96
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/MiddlewarePipeline.php:128
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/MiddlewarePipeline.php:97
/spiral-demo/vendor/spiral/framework/source/Spiral/Http/HttpCore.php:119
/spiral-demo/tests/HttpTest.php:40
/spiral-demo/tests/Controllers/IndexTest.php:16

I debug with headers_sent(), and find that headers are sent at:

/spiral-demo/vendor/phpunit/phpunit/src/Util/Printer.php:112

Actually, it prints PHPUnit information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.