FEAST Framework
Fast, Easy, Agile, Slim, Tested and Trans-Fat Free.
Create a Project with FEAST
For the simplest way to get started see FeastFramework/feast.
Documentation
Get started with FEAST by reading the docs.
For the simplest way to get started see FeastFramework/feast.
Get started with FEAST by reading the docs.
What is CodeIgniter CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable
Yii 2 is a modern framework designed to be a solid foundation for your PHP application. It is fast, secure and efficient and works right out of the bo
CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Associative Data Mapping, Front Controller, and MVC. O
Slim Framework Slim is a PHP micro-framework that helps you quickly write simple yet powerful web applications and APIs. Installation It's recommended
Phalcon Framework Phalcon is an open source web framework delivered as a C extension for the PHP language providing high performance and lower resourc
Welcome to the Zend Framework 3.0 Release! RELEASE INFORMATION Zend Framework 3.0.1dev This is the first maintenance release for the Zend Framework 3
PHP microservice coroutine framework ä¸æ–‡è¯´æ˜Ž Introduction Swoft is a PHP microservices coroutine framework based on the Swoole extension. Like Go, Swoft
CodeIgniter 4 Development What is CodeIgniter? CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. More informatio
FuelPHP Version: 1.8.2 Website Release Documentation Release API browser Development branch Documentation Development branch API browser Support Forum
Now you have something like:
<?php
declare(strict_types=1);
namespace Migrations;
use Feast\Database\Migration;
use Feast\Database\Table\TableFactory;
class migration2_jobs extends Migration
{
protected const NAME = 'Jobs';
public function up(): void
{
/** @todo Create up query */
$table = TableFactory::getTable('jobs');
$table->varChar('job_id')
->varChar('job_name')
->text('job_context')
->timestamp('created_at')
->dateTime('ran_at',null,true)
->varChar('status', default: 'pending')
->tinyInt('tries')
->tinyInt('max_tries')
->varChar('queue_name');
$table->create();
$this->connection->rawQuery('ALTER TABLE jobs add PRIMARY KEY (job_id)');
parent::up();
}
public function down(): void
{
/** @todo Create down query */
TableFactory::getTable('jobs')->drop();
parent::down();
}
}
But I think we could modify each column separately, like:
<?php
declare(strict_types=1);
namespace Migrations;
use Feast\Database\Migration;
use Feast\Database\Table\TableFactory;
class migration2_jobs extends Migration
{
protected const NAME = 'Jobs';
public function up(): void
{
/** @todo Create up query */
$table = TableFactory::getTable('jobs');
$table->primary()->varChar('job_id');
$table->varChar('job_name');
$table->text('job_context');
$table->timestamp('created_at');
$table->dateTime('ran_at',null,true);
$table->varChar('status', default: 'pending')
$table->tinyInt('tries')
$table->tinyInt('max_tries')
$table->varChar('queue_name');
$table->create();
parent::up();
}
public function down(): void
{
/** @todo Create down query */
TableFactory::getTable('jobs')->drop();
parent::down();
}
}
If there's anything that you think that could be done different, let me know. I could start developing just the base for it.
enhancement good first issue help wantedFEAST Framework Version 2.0 is updated for PHP 8.1 and has a few new features as well as some backwards compatibility breaks. See changes below.
\Feast\Enum
namespace to be true enums.final
\Feast\Config::objectToArray
and \Feast\Config::cloneObjectOrArrayAsObject
to allow use of Enums in
configs.\Feast\Query::where
and \Feast\Query::having
to use variadic parameters instead of
optionally accepting an array.\Feast\Enums\DocTypes
to \Feast\Enums\DocType
JobMapper::markJobPendingIfAble
and replaced with JobMapper::markJobRunningIfAble
(deprecated
in v1.13.0).To upgrade, the following user actions may be required.
If the file Mapper/JobMapper.php
does not contain the method markJobRunningIfAble
, replace the contents of that
file with the contents
from here.
Note: we don't automatically provide an upgrade script to prevent overwriting of userland code.
Next release will have this as optional at the Database class level, and will otherwise use the container. BC break in v3.0.0 will require the LoggerInterface and pass through to all other Database related classes via Dependency Injection.
This version fixes a bug with the CLI on Windows systems (non WSL)
Source code(tar.gz)This version fixes a bug with the CLI on Windows systems (non WSL)
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.12.0...v2.12.1
Source code(tar.gz)This version fixes a bug with the CLI on Windows systems (non WSL)
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.25.0...v1.25.1
Source code(tar.gz)This version of FEAST Framework is upgraded for (and requires) PHP 8.2.
Attribute classes are now marked as readonly.
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.11.0...v3.0.0
Source code(tar.gz)This version fixes a bug with syslog functionality (Log messages would also go to log file). In addition, this version allows compatibility with PHP 8.2
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.11.0...v2.12.0
Source code(tar.gz)This version fixes a bug with syslog functionality (Log messages would also go to log file). In addition, this version allows compatibility with PHP 8.2
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.24.0...v1.25.0
Source code(tar.gz)This release adds some new features as well as fixes a bug in the templates.
sessions.enabled => false
)cache-all
and clear-all
to the Cache controller. (See the documentation)save
method generated was missing a parameter, causing an exception until edited.Full Changelog: https://github.com/FeastFramework/framework/compare/v2.10.2...v2.11.0
Source code(tar.gz)This release adds some new features as well as fixes a bug in the templates.
sessions.enabled => false
)cache-all
and clear-all
to the Cache controller. (See the documentation)save
method generated was missing a parameter, causing an exception until edited.Full Changelog: https://github.com/FeastFramework/framework/compare/v1.23.2...v1.24.0
Source code(tar.gz)Fix issue with PDO and Postgres causing conversion of bools to "1"
and ""
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.10.1...v2.10.2
Source code(tar.gz)Fix issue with PDO and Postgres causing conversion of bools to "1"
and ""
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.23.1...v1.23.2
Source code(tar.gz)Fix issue with server failures sending 200 response code
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.10.0...v2.10.1
Source code(tar.gz)Fix issue with server failures sending 200 response code
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.23.0...v1.23.1
Source code(tar.gz)This version adds support to setHeader
directly on the ResponseInterface
rather than calling the native header
function.
In addition, this release fixes a bug where non-string keys are incorrectly handled by the Config
class.
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.9.0...v2.10.0
Source code(tar.gz)This version adds support to setHeader
directly on the ResponseInterface
rather than calling the native header
function.
In addition, this release fixes a bug where non-string keys are incorrectly handled by the Config
class.
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.22.0...v1.23.0
Source code(tar.gz)This version expands support for logging database queries (debug log level). Prior release added support for queries using query builder, this one expands to cover the rawQuery
method.
In addition, this release expands the JsonParam support to allow decoding multiple keys on a JsonRequest to multiple variables. See the docs here.
Finally, this release enhances database functionality by adding the following:
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.8.0...v2.9.0
Source code(tar.gz)This version expands support for logging database queries (debug log level). Prior release added support for queries using query builder, this one expands to cover the rawQuery
method.
In addition, this release expands the JsonParam support to allow decoding multiple keys on a JsonRequest to multiple variables. See the docs here.
Finally, this release enhances database functionality by adding the following:
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.21.0...v1.22.0
Source code(tar.gz)This version adds support for logging database queries (debug log level) and also adds docs for logger.
In addition, this release fixes a bug for the non-curl version of the HttpRequest class where the http response headers were not being parsed due to an order of operations issue.
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.7.1...v2.8.0
Source code(tar.gz)This version adds support for logging database queries (debug log level) and also adds docs for logger.
In addition, this release fixes a bug for the non-curl version of the HttpRequest class where the http response headers were not being parsed due to an order of operations issue.
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.20.1...v1.21.0
Source code(tar.gz)This release adds generics
support on the JSON Marshaller to allow automatic type inference on returned objects.
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.7.0...v2.7.1
Source code(tar.gz)This release adds generics
support on the JSON Marshaller to allow automatic type inference on returned objects.
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.20.0...v1.20.1
Source code(tar.gz)This version of FEAST comes with several minor enhancements.
See docs on Json Marshaller here and docs on the model updates here
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.6.2...v2.7.0
Source code(tar.gz)This version of FEAST comes with several minor enhancements.
See docs on Json Marshaller here and docs on the model updates here
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.19.2...v1.20.0
Source code(tar.gz)This patch release updates the docs for the new JsonParameter
attribute to be more clear.
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.16.1...v2.16.2
Source code(tar.gz)This patch release fixes a bug introduced in 2.3.0 that causes a new model to not store its primary key when saved. If the model's primary key is used in any way, an exception was thrown.
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.6.0...v2.6.1
Source code(tar.gz)This minor release adds first class support for JSON requests to objects without manually unwrapping the post data. Read the docs for more info.
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.5.0...v2.6.0
Source code(tar.gz)This patch release updates the docs for the new JsonParameter
attribute to be more clear.
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.19.1...v1.19.2
Source code(tar.gz)This patch release fixes a bug introduced in 1.16.1 that causes a new model to not store its primary key when saved. If the model's primary key is used in any way, an exception was thrown.
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.19.0...v1.19.1
Source code(tar.gz)This minor release adds first class support for JSON requests to objects without manually unwrapping the post data. Read the docs for more info.
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.18.0...v1.19.0
Source code(tar.gz)This minor release adds first class application environment based Access Control support. Read the docs for more info.
Full Changelog: https://github.com/FeastFramework/framework/compare/v2.4.0...v2.5.0
Source code(tar.gz)This minor release adds first class application environment based Access Control support. Read the docs for more info.
Full Changelog: https://github.com/FeastFramework/framework/compare/v1.17.0...v1.18.0
Source code(tar.gz)CleverStyle Framework is simple, scalable, fast and secure full-stack PHP framework. It is free, Open Source and is distributed under Free Public Lice
Simple MVC About Since 2019, I started learning the php programming language and have worked on many projects using the php framework. Laravel is one
this is new repository for php-framework Introduction PHPR or PHP Array Framework is a framework highly dependent to an array structure. PHPR Framewor
Simple MVC About Since 2019, I started learning the php programming language and have worked on many projects using the php framework. Laravel is one
Framework X Framework X – the simple and fast micro framework for building reactive web applications that run anywhere. Quickstart Documentation Tests
Framework X is a simple and fast micro framework based on PHP. I've created a simple CRUD application to understand how it works. I used twig and I created a custom middleware to handle PUT, DELETE methods.
Spiral HTTP Application Skeleton Spiral Framework is a High-Performance PHP/Go Full-Stack framework and group of over sixty PSR-compatible components.
Sunhill Framework is a simple, fast, and powerful PHP App Development Framework that enables you to develop more modern applications by using MVC (Model - View - Controller) pattern.
About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Symfony is used by thousands of web applications (in