Skip to content

A development engine based on Phalcon Framework

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.md
Unknown
LICENSE.txt
Notifications You must be signed in to change notification settings

wallstreetcn/EvaEngine

 
 

Repository files navigation

EvaEngine

Build Status

Coverage Status

A development engine based on Phalcon Framework.

Thanks the icon from Hrvoje Bielen

CORS

Add CORS support, you can define your own CORS support domains in the config.local.php:

<?php
return [
  'cors' => [
    [
      'domain' => 'yourdomain1.com'
    ],
    [
      'domain' => 'yourdomain2.com'
    ]
  ]
];

You only need to add '_cors_enabled' => true to the specified route. For example:

routes.frontend.php

<?php
return [
  '/posts' => [
    'module' => 'Information',
    'controller' => 'PostController',
    'action' => 'list',
    '_cors_enabled' => true // inform that this API is supported with CORS
  ]
];
?>

About

A development engine based on Phalcon Framework

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.md
Unknown
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.9%
  • Other 0.1%