Download the PHP package diogodg/neoframework without Composer

On this page you can find all versions of the php package diogodg/neoframework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package neoframework

NeoFramework Core

HTTP framework for PHP 8.4 with PSR-7 messages, PSR-11 dependency injection, PSR-15 middleware, PSR-17 factories and PSR-3 logging.

Documentation

The complete guide and API reference are published at diogograciano.github.io/NeoFramework-Core.

Routing

Routes are absolute and may be named. Controller prefixes and class/method middleware are supported.

route('users.show', ['id' => 42]) returns /api/users/42. Optional parameters use {slug?}. A path that exists for another method returns 405 Method Not Allowed with an Allow header; unknown paths return 404.

Compile for production with php neof config:cache, route:cache, event:cache and dto:cache; each has a matching :clear. Sem eles a aplicação relê e revalida configuração, rotas, listeners e metadata de DTO a cada requisição.

HTTP and middleware

Request and Response extend Guzzle's PSR-7 messages. Header and status operations are immutable:

Middleware implements PSR-15:

Global application middleware may be returned from Config/middleware.config.php as class names or instances.

HttpKernel::handle(ServerRequestInterface): ResponseInterface performs no output. Only ResponseEmitter, called at the front-controller boundary, sends headers and body, making kernel requests straightforward to test.

Rate limiting

Apply a fixed-window limit to a controller or action with #[RateLimit]. The response includes RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset; an exceeded request receives 429 with Retry-After. See docs/RATE_LIMITING.md for keys, container adapters and concurrency considerations.

Persistent runtimes

Application provides a worker-safe boot() / handle() lifecycle and resets registered stateful services after each request. The optional FrankenPHP adapter is documented in docs/RUNTIMES.md. Use php neof doctor --runtime before deploying a worker.

Code generation

Use make:controller, make:middleware, make:request, make:policy, make:job, make:command or make:test with a class name. Nested classes accept /, such as make:controller Admin/Users; generators never overwrite a file unless given --force and expose --json for automation. Run stubs:publish to copy editable defaults into resources/stubs.

about --json exposes version, environment, cache status and selected adapters without outputting configuration values or secrets.

Support utilities

The Core exposes focused, stateless utilities: Support\ProjectRoot, Support\Path, Support\Id, Support\UserAgent, Support\Str, Support\Date, and immutable Support\Money values. Functions no longer exists.

Optional packages

RoadRunner, OpenTelemetry, GD image processing and Brazilian document helpers are separate packages, so applications do not install runtime integrations they do not use. See packages/README.md for their Composer names and requirements.

Roadmap

The architecture specification and phased implementation path are documented in docs/IMPLEMENTATION_ROADMAP.md.


All versions of neoframework with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
ext-pdo Version *
ext-json Version *
ext-mbstring Version *
ext-intl Version *
ext-exif Version *
phpmailer/phpmailer Version ^6.9
diogodg/neoorm Version ^2.0
league/flysystem Version ^3.29
php-di/php-di Version ^7.0
monolog/monolog Version ^3.8
filp/whoops Version ^2.17
nesbot/carbon Version ^3.8
guzzlehttp/guzzle Version ^7.15.2
guzzlehttp/psr7 Version ^2.7
psr/container Version ^2.0
psr/http-message Version ^2.0
psr/http-factory Version ^1.1
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
psr/log Version ^3.0
respect/validation Version ^2.4
symfony/cache Version ^7.4.12
vlucas/phpdotenv Version ^5.6
adhocore/cli Version ^1.9
peppeocchi/php-cron-scheduler Version ^4.0
symfony/var-dumper Version ^7.2
psr/event-dispatcher Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package diogodg/neoframework contains the following files

Loading the files please wait ...