Libraries tagged by example code

raxon/example

0 Favers
147 Downloads

raxon/example see https://raxon.org for detailed usage

Go to Download


r3m_io/example

0 Favers
82 Downloads

r3m_io/example see https://r3m.io for detailed usage

Go to Download


kbrabrand/zf2-swagger-example-module

2 Favers
167 Downloads

Dummy API module ZF2 showing example usage of the Swagger PHP annotations for models and controllers.

Go to Download


omega-mvc/omega-wp

0 Favers
0 Downloads

A modern WordPress application example built with Omega WP Framework. Provides an MVC-based structure with dependency injection, service providers, routing, controllers, validation, and database integration.

Go to Download


omega-mvc/omega

0 Favers
0 Downloads

Omega is a lightweight PHP framework designed for building modern web applications using the MVC architecture. Compatible with PHP 8.4+.

Go to Download


francescogregori/friendly_url_only

0 Favers
18 Downloads

Displays page 404 for all nodes that do not have a path set with pathauto. Example: 'node / 1' return 404 page

Go to Download


wangxingfa/phpmodedesign

0 Favers
2 Downloads

PHP mode design examples

Go to Download


cenotia/yii2-fa-icon-selector

0 Favers
46 Downloads

Widgets to add fontAwesome icons to a model. For example, categories for posts.

Go to Download


fwrepae/fwrepae

0 Favers
0 Downloads

The Inter TT REST API is described using OpenAPI 3.0. The descriptor for the api can be downloaded in both [YAML](http://localhost:8080/cyclos/api/openapi.yaml) or [JSON](http://localhost:8080/cyclos/api/openapi.json) formats. These files can be used in tools that support the OpenAPI specification, such as the [OpenAPI Generator](https://openapi-generator.tech). In the API, whenever some data is referenced, for example, a group, or payment type, either id or internal name can be used. When an user is to be referenced, the special word 'self' (sans quotes) always refers to the currently authenticated user, and any identification method (login name, e-mail, mobile phone, account number or custom field) that can be used on keywords search (as configured in the products) can also be used to identify users. Some specific data types have other identification fields, like accounts can have a number and payments can have a transaction number. This all depends on the current configuration. ----------- Most of the operations that return data allow selecting which fields to include in the response. This is useful to avoid calculating data that finally won't be needed and also for reducing the transfer over the network. If nothing is set, all object fields are returned. Fields are handled in 3 modes. Given an example object `{"a": {"x": 1, "y": 2, "z": 3}, "b": 0}`, the modes are: - **Include**: the field is unprefixed or prefixed with `+`. All fields which are not explicitly included are excluded from the result. Examples: - `["a"]` results in `{"a": {"x": 1, "y": 2, "z": 3}}` - `["+b"]` results in `{"b": 0}` - `["a.x"]` results in `{"a": {"x": 1}}`. This is a nested include. At root level, includes only `a` then, on `a`'s level, includes only `x`. - **Exclude**: the field is prefixed by `-` (or, for compatibility purposes, `!`). Only explicitly excluded fields are excluded from the result. Examples: - `["-a"]` results in `{"b": 0}` - `["-b"]` results in `{"a": {"x": 1, "y": 2, "z": 3}}` - `["a.-x"]` results in `{"a": {"y": 2, "z": 3}}`. In this example, `a` is actually an include at the root level, hence, excludes `b`. - **Nested only**: when a field is prefixed by `*` and has a nested path, it only affects includes / excludes for the nested fields, without affecting the current level. Only nested fields are configured. Examples: - `["*a.x"]` results in `{"a": {"x": 1}, "b": 0}`. In this example, `a` is configured to include only `x`. `b` is also included because, there is no explicit includes at root level. - `["*a.-x"]` results in `{"a": {"y": 2, "z": 3}, "b": 0}`. In this example, `a` is configured to exclude only `x`. `b` is also included because there is no explicit includes at the root level. For backwards compatibility, this can also be expressed in a special syntax `-a.x`. Also, keep in mind that `-x.y.z` is equivalent to `*x.*y.-z`. You cannot have the same field included and excluded at the same time - a HTTP `422` status will be returned. Also, when mixing nested excludes with explicit includes or excludes, the nested exclude will be ignored. For example, using `["*a.x", "a.y"]` will ignore the `*a.x` definition, resulting in `{"a": {"y": 2}}`. ----------- For details of the deprecated elements (operations and model) please visit the [deprecation notes page](https://documentation.cyclos.org/4.16.3/api-deprecation.html) for this version.

Go to Download


dvaknheo/duckmcp

0 Favers
0 Downloads

An MCP (Model Context Protocol) server example built on the DuckPHP framework

Go to Download


syeedalireza/architecture-patterns-lab

0 Favers
0 Downloads

Academic research implementation of modern software architecture patterns. Comprehensive study of Clean Architecture, Hexagonal Architecture, and Onion Architecture with benchmarks, performance analysis, and real-world examples.

Go to Download


rubrasum/velocity-forms

0 Favers
11 Downloads

Basic form management package for front-facing forms on the Inertia/Vue stack for Laravel. Install to add the vue components for admin and the forms themselves, migrations models controllers factories seeders unittests and dusk tests for the forms and all subtables, and routes for user submission and admin pages. The goal for development is to be able to seemlessly add form management to your Laravel site's admin quickly while remaining an open-ended solution with predictable early stage design choices (i.e. hold on tight). Development is here -> "Can install on any project" ->- "Can seed and display an example on any project" -- "Can integrate Unit and Dusk tests on any project" --

Go to Download


numeno/api-persona

0 Favers
0 Downloads

### Introduction Use the Numeno Persona API to create and manage **Personas**. Evolving a Persona over time is dead-simple: [create a Persona](create-persona), then send natural-language descriptions of your users’ in-app activities to the Persona API. Under the hood, we create a rich set of models of the system that evolve over time. Then, ask Numeno to personalize some part of your experience using the Persona. Numeno will use our models to tailor your software to each user’s unique preferences and habits, allowing you to dynamically adjust your offerings. For example, connect a Persona to the **[Numeno Article Recommender API](https://numeno.ai/wp-content/uploads/docs/artrec/numeno-article-recommender-api)** to generate **Article Feeds** that evolve over time as your Persona evloves with user interaction. Personas are not limited to modelling users. Posts in a social environment, articles or topics on a content platform, a screen or widget in your UI, a product in your inventory - groups of any of these things – Personas can evolve models of anything in your system! Get creative!

Go to Download


konsulting/laravel-rule-repository

2 Favers
262 Downloads

A package to allow rules (for example validation rules) to be attached to a model.

Go to Download


craftsnippets/craft-cats-manager

0 Favers
4 Downloads

Example plugin showing how to use custom database model

Go to Download


<< Previous Next >>