Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Siler Laravel Package

leocavalcante/siler

Siler is a zero-dependency PHP library/micro-framework of high-level functional abstractions for declarative apps and routing. Fast, flat-file friendly, and works well with Swoole. Note: the repository is archived; Nano is recommended as an alternative.

View on GitHub
Deep Wiki
Context7
v1.7.9

Remove the dependency on the $_SERVER['QUERY_STRING'] which is not always the same as the request uri.

v1.7.8

You can now use GraphQL subscriptions thought Annotations too.

v1.7.7

Config can now receive a Custom parser.

v1.7.6

This patch adds the nullableList option resolving #430

v1.7.4

Fix route with URL encoded query strings reported at #354

v1.7.3

The richest feature in this release is probably GraphQL Annotations. But there was a lot more, specially bug fixes in the GraphQL space, checkout the CHANGELOG for more.

  • Breaking: Result module now adheres to Rust's naming and drops id, code and json support.
    • Success is now Ok
    • Failure is now Err
  • Breaking: you should now explicitly use arrays (or any other type) for subscription's root and context values
  • Breaking: match doesn't return null anymore, you should provide an exhaust function
v1.7.2
  • Experimental support for gRPC servers
  • Support middleware-like pipelines in Swoole with Swoole\middleware
  • Add Swoole\redirect() sugar
  • New Siler\Env API
  • Add map, lmap, pipe, conduit, lconcat, ljoin, filter and lfilter functions
  • Typed array-gets: array_get_str, array_get_int, array_get_float and array_get_bool.
  • Switch from Zend to Laminas
  • Add Swoole\http2 to create HTTP/2 enabled servers
v1.7.1
  • Fix string callable on route
  • Fix trailing separator on concat
  • Add lazy constructor and call_user_func alias call
v1.7.0
  • Drops PHP 7.2 support and adds PHP 7.4 support
  • Statically-typed Psalm support
  • GraphQL Subscriptions with Swoole's WebSocket
  • Fix initial data on GraphQL subscriptions
  • GraphQL Enum resolvers
  • API to enable GraphQL debugging
  • API to add custom GraphQL's Promise Executors
  • CORS helper for SAPI and Swoole
  • Type-safe read ints and bools from environment
  • Named route params with Regex validation
  • JSON encoding and decoding with opinionated defaults
  • No extensions needed on development
  • Better API for Maybe Monad
  • Monad API for the Result object
  • New File module
  • Drops Db module
  • Drops GraphQL type helpers
v1.6.0
  • Added sugar functions for Container
  • Fixed GraphQL JSON header with UTF-8 charset
v1.5.3
  • Swoole behavior was affected by Route\DID_MATCH.
v1.5.2
  • Routes stop propagation by default.
  • Grouped routes like resource and files are now lazy-loaded.

Introducing:

Route\did_match(): bool
v1.5.1
  • Dropped Ratchet in favor of Swoole's websocket.
  • Dropped Jwt in favor of Firebase's JWT.
  • Added Result module.
  • Updated Twig namespace declarations.
  • Added Redis module.
v1.5.0

Now it's returning the Servers for both HTTP and WebSocket instead of Closures and not starting them internally.

v1.4.0
  • Better Swoole API following the example and the documentation
  • Database module for PDO and MongoDB
  • Mail module for SwiftMailer
v1.3.0

PSR-15 support wrapping Zend's Diactoros and Stratigility.

v1.2.0

All dependencies updated to its latest stable version. The major difference:

  • No SapiEmitter on Diactoros
  • New GraphQL executeQuery API
v1.1.0

Suggestions from @Sinevia applied, there are two more aways to route. The any function matches any HTTP method and the class_name function that works like Controller in other frameworks. Also, thanks again to @IvanDelsinne for feedback on this follow up.

v1.0.1

This is the release after https://github.com/leocavalcante/siler/issues/106 was closed.

v1.0.0

Almost one year later, I think Siler is ready to rock on stable production-grade projects.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity