Giter Site home page Giter Site logo

sv-settings's People

Contributors

svycka avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

sv-settings's Issues

Create documentation

would be nice at least with this:

  • How to create collections
  • How to add settings and what options available
  • How to create custom providers
  • How to create custom types

Add config options for storage

For doctrine it would mean that factory would not force orm_default, but this could be configurable. And maybe other storage's could use some options if any.

Add tests

no stable release until at least 70% coverage

Add basic types

needs basic setting types:

  • string
  • integer
  • boolean (Has to many possible implementations. So it can be added as custom type.)
  • float
  • in_array
  • regex

[Insight] Missing use statement should be avoided - in src/Entity/Setting.php, line 12

in src/Entity/Setting.php, line 12

The @Doctrine\ORM\Mapping\Entity annotation looks like a class annotation which resolves to the Svycka\Settings\Entity\Doctrine\ORM\Mapping\Entity class which PHP does not seem to be able to autoload.

 * @Doctrine\ORM\Mapping\Table(name="svycka_settings", options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"})
 *
 * @author Vytautas Stankus <[email protected]>
 * @license MIT
 */
class Setting implements SettingInterface
{
    /**
     * @var int
     * @Doctrine\ORM\Mapping\Id
     * @Doctrine\ORM\Mapping\Column(type="integer", name="id")

Posted from SensioLabsInsight

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.