nicksagona on 5.3.3
nicksagona on master
Patch SqlSrv options array merge (compare)
nicksagona on v5-dev
Patch SqlSrv options array merge (compare)
nicksagona on 5.3.2
nicksagona on 4.5.11
nicksagona on 4.5.11
nicksagona on master
Patch expression issue for NOT … (compare)
nicksagona on v5-dev
Patch expression issue for NOT … (compare)
nicksagona on 3.7.1
nicksagona on master
Patch PHP 8 issue with named pa… (compare)
nicksagona on v3-dev
Patch PHP 8 issue with named pa… (compare)
nicksagona on 4.5.10
nicksagona on 4.5.10
nicksagona on v4-dev
Patch dirty save (compare)
$sql->select([
'total_count' => 'COUNT(1)',
]);
COUNT(1)
will be returned and accessible as total_count
pop-db
-> 5.0.3
$streamToFile
parameter to the Pop\Http\Request
class constructor (4th parameter.) This allows for the streaming of large raw data from php://input
to a file on disk (instead of storing it in memory)
// Set to true: stores the raw data file in the system tmp folder
$request = new Pop\Http\Request(null, null, null, true);
// Access the file location
$rawDataFile = $request->getRawData(); // would be something like /tmp/pop-http-5edc43ad
// Set to specific folder: stores the raw data file in folder of your choosing
$request = new Pop\Http\Request(null, null, null, '/my-folder');
// Access the file location
$rawDataFile = $request->getRawData(); // would be something like /my-folder/pop-http-5edc43ad
// Set to specific folder and file: stores the raw data file in the exact file of your choosing
$request = new Pop\Http\Request(null, null, null, '/my-folder/my-file');
// Access the file location
$rawDataFile = $request->getRawData(); // would be something like /my-folder/my-file
$request->getRawData()
it would just return the raw JSON string from memory
pop-db
(v5.0.3)pop-http
(v3.5.5)pop-i18n
(3.1.0)CallableObject
class in pop-utils
(v1.1.0) to help manage various callable entities and their parameterspopphp
(3.4.0) to utiltize the new CallableObject
features in pop-utils
composer create-project -s beta popphp/popphp-framework project-folder
pop-pdf
Pop\Http\Request
and Pop\Http\Response
) vs the client classes are down in the Pop\Http\Client
namespace like Pop\Http\Client\Request
and Pop\Http\Client\Response
Pop\Http\Server\Request
and Pop\Http\Server\Response
pop-http
is complete... not live yet... I haven't cut a release yet. If anyone wants to look it over, you can do so over on the v4-dev branch here: https://github.com/popphp/pop-http/tree/v4-dev
pop-http
v4. I believe BC breaks have been kept to a minimum and the main thing that will have to change is any references to Pop\Http\Request
and Pop\Http\Response
will have to change to Pop\Http\Server\Request
and Pop\Http\Server\Response
, respectively
pop-kettle
, make sure you have v1.3.0 which now comes with the proper updates to the underlying templates to utilize pop-http
v4.
class Movies extends Pop\Db\Record
{
public function qualities()
{
return $this->hasMany('Qualities', 'movie_id'); // 'movie_id' is the FK
}
}
class Qualities extends Pop\Db\Record
{
public function movie()
{
return $this->belongsTo('Movies', 'id'); // 'id' is the primary key that is used to get the parent relationship
}
}