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

Model Laravel Package

memio/model

Memio Model provides PHP objects to describe code structures (classes, interfaces, methods, properties, parameters, types and namespaces). Use it to build an in-memory representation of PHP code for analysis, tooling, or code generation workflows.

View on GitHub
Deep Wiki
Context7
3.0.2:
  • setup Github Actions
  • changed tooling from scripts to Makefile
  • installed phpstan as a dev depdendency
  • installed swiss-knife as a dev depdendency
  • installed rector as a dev depdendency
  • upgraded PHP CS fixer to v2.19.3
  • dockerized for local development
3.0.1:
  • added PHP 8 support
  • added phpspec 7 support
3.0.0:

Dropped support for PHP <7.2

Other upgrades:

  • upgraded PHP CS Fixer (from 2.10 to 2.16)
  • upgraded phpspec (from 4.3 to 6.1)

BC Breaks - removed deprecated api:

  • removed all make static constructors
2.0.4:

Normalization from float to double, thanks to @ItsKelsBoys

2.0.3:
  • upgraded PHP CS Fixer (from 1.6 to 2.10)
  • upgraded phpspec (from 3.0 to 4.3)
2.0.1:

Added support for PHP 7.2, thanks to @roukmoute

BC break: Object has be renamed to Objekt, has it is a reserved keyword.

2.0.0:

This release is the same as 2.0.0-alpha3, compared to 1.4.1 it brings the following features:

Dropped support for PHP < 7

This means we now can use:

  • scalar type hints
  • return type hints
  • callable type hint, without having to check PHP version

All make static constructor were created for PHP < 5.6, they're now deprecated. Here's an example of what to use instead:

(new Method('sayHello'))
    ->addArgument(new Argument('string', 'name')))
;
2.0.0-alpha3:
  • added return type hints
2.0.0-alpha2:
  • fixed PHPdoc return type hints
2.0.0-alpha1:

Dropped support for PHP < 7

This means we now can use:

  • scalar type hints
  • return type hints
  • callable type hint, without having to check PHP version

All make static constructor were created for PHP < 5.6, they're now deprecated. Here's an example of what to use instead:

(new Method('sayHello'))
    ->addArgument(new Argument('string', 'name')))
;
1.4.1:
  • reverted the FQCN change
1.4.0:
  • improve FullyQualifiedName according to PHP Name resolution rules
  • added support for PHP 7
1.3.5:
  • used [@return](https://github.com/return) self
  • used Objekt[] when dealing with collections of objects
1.3.4:
  • fixed PHPdoc
1.3.3:
  • removed SpecGen to fix dependency cycles
  • fixed CS
1.3.2:
  • fixed ParameterTag#make
1.3.1:
  • replaced phpspec extension with SpecGen
1.3.0:
  • changed Argument.type to be a Fully Qualified Class Name
1.2.0:
  • added return PHPdoc tag
  • added throws PHPdoc tag
1.1.0:
  • integer, boolean and NULL will be normalized to int, bool and null
1.0.1:
  • fixed typos in documentation
1.0.0:
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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
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
christhompsontldr/laravel-inky
spatie/mailcoach-vapor