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

Pixie Laravel Package

pecee/pixie

View on GitHub
Deep Wiki
Context7
4.16.3
  • Bugfixes
4.16.2
  • Bugfixes
4.16.1
  • Fixed bindings not casted as array before merge.
4.16.0
  • Fixed binding issues on nested raw statements.
4.15.8
  • Fixed params with ? not escaped correctly
4.15.7
  • Make sure select doesn't pick the same fields (select columns unique).
4.15.6
  • Exception class: Fixed issue causing notice when error has no message defined.
4.15.5
  • Skip sanitation if first character contains ".
4.15.4
  • Fixed raw bindings not working as expected for join + generally optimised raw-bindings.
4.15.3
  • Fixed Raw not working correctly for join statements, for example:
$query->join('hostnames', 'host', '=', $this->raw('?', [$host]))
  • Changed references for SqlServer class.
4.15.2
  • Fixed bindings on for where key statements.
4.15.1
  • Fixed issue with raw when used in conjunction with alias (issue: #137 - thanks to @mrcnpdlk)
4.15.0
  • [!!!] Moved EventHandler::registerEvent so optional $table parameter comes after required.
  • Fixed Raw bindings not set properly when using within select statement like: select($this->builder->raw('CONCAT(simple, ?)', ['criteria'])).
  • Changed $table parameter in EventHandler::registerEvent to use EventHandler::ANY constant instead of null.
  • Simplified duplicate select-statement code in BaseAdapter & SqlServerAdapter.
  • Tests: Updated PHP-unit to version 8 for compatibility with PHP8.
  • Tests: Fixed changed PHP-unit references to work with changes in version 8.
  • Updated documentation to reflect changes.
4.14.0
  • Fixed Raw bindings not being set properly on some occasions for instance update(['alias' => $query->raw('?',['value'])]).
  • Beatified queries. Queries now have the correct spacing between values.
  • Simplified BaseAdapter code by using arrayStr instead of foreach loops.
  • Tests: Added QueryBuilderBehaviorTest::testRawStatementsWithinCriteria.
  • Tests: Updated unit-tests to work with new queries.
4.13.0
  • Feature: Added better overwrite of where/whereNull etc if enabled.
  • Issue #123: Added better phpDoc
  • Feature: Added phpstan.
  • Updated phpUnit.
4.12.2

Changelog

  • Fixed alias not checking if key is of closure/callable type.
  • Updated readme
4.12.1

Changelog

  • Fixed alias-prefix property not being set properly.
  • Renamed prefix property to aliasPrefix in QueryBuilderHandler
4.12.0

Changelog

  • Feature: Added support for object with __toString magic methods.
  • Feature: Added support for changing alias mid-way. Columns will now inherit the change.
  • Feature: Added SQL Server adapter class (thanks to @advicente).
  • Feature: Added more advanced type parsing for objects.
  • Feature #109: Added support for FOR UPDATE using the QueryBuilderHandler::for method.
  • Fixed: Object not quoted correctly as strings.
  • Fixed: Problem with event arguments using wrong parameters (thanks to @Kemekaze).
  • Fixed: error-codes for sqlite.
  • Fixed: Fixed bug with select that was defaulting to MySQL sanitisation, should now work for Postgres and others (thanks to @lakesta).
  • Fixed #110: Changed return-type to self to support ide's that doesn't parse phpDocs properly.
  • Fixed #113: Aliasing table support for update stmt (thanks to @mrcnpdlk).
  • Fixed #117: nullable return-type for Connection::getStoredConnection.
  • Cleanup & optimisations.
4.11.0
  • Fix error handling for SQLite adapter (issue: #104)
  • Changed PDO-SQLite to suggested and dev composer extension.
  • Unit-tests for SQLite exceptions + optimisation.
  • CI (Scrutnizer & Travis) MySQL support (ver 5.7) & PHP (ver 7.2).
  • CI Sqlite support (in memory mode).
4.10.0
  • Fixed wrong return-type when using COUNT (issue #91).
  • Fixed only strict names taken into account with no wildcard * and/or Raw instances (issue: #92).
  • Added Travis-ci with MySQL support (issue: #97)
  • Added PDO extension to composer file and added PDO extension as requirement in README.
  • Added SQLite extension to composer file and added PDO extension as requirement in README.
  • Fixed connections overlapping when using multiple connections (issue #98)
  • Added support for more advanced query-statements when using update and delete (issue: #93)
  • Added optional $columns argument to delete method in QueryBuilderHandler to specify which columns to delete.
  • Join now supports empty key and value, which will remove the ON statement from the query.
  • Added unit-tests for new features.
  • Added unit tests for multiple connections.
  • Minor optimisations.
4.9.1
  • Fixed getTable returning raw-query instead of null on subQuery-tables.
  • Replaced alias-name in aggregate to generic one.
4.9.0
  • Added new joinUsing method to QueryBuilderHandler class (issue #85 - thanks to @Fishy49).
  • Added new using and orUsing to JoinBuilder class.
  • Added support for columns (column1, columns2 etc.) in buildCriteria method in BaseAdapter class.
  • Optimized and simplified buildCriteria method in BaseAdapter class.
  • Fixed behavior for join method which was incorrectly using LEFT JOIN as default type.
  • Added unit tests for new joinUsing functionality.
  • Removed orUsing as it's not supported by sql.
  • Added unit test for JoinBuilder.
  • Minor optimisations.
  • Updated documentation to reflect new changes.

Release notes

Please read this section carefully before updating in a production environment:

This version corrects the default behavior for the $qb->join() method. The default join behavior is now JOIN instead of LEFT JOIN. Please change all references in your code to use the leftJoin method instead, or specify the join-type using the $type parameter.

4.8.1
  • Fixed events not firing as $storedConnection was overwritten in Connection class.
4.8.0
  • Feature: added better database connection handling.
  • Updated unit-tests.
  • Updated documentation.

Release notes

Added better control for database connections. A connection to the database will now only be established when a new instance of QueryBuilderHandler is created or when $connection->connect(); has been called manually.

This will ensure that projects that sets the connection in the bootstrap, won't connect to the database unless a query has been created or if the connect() method has been called has been called specifically.

Example:

This will no longer automatically establish a database connection:

$connection = (new \Pecee\Pixie\Connection('mysql', $config));

Unless $connection->connect() or $connection->getQueryBuilder() or new QueryBuilderHandler() is called.

4.7.2
  • Cleanup and optimisations.
4.7.1
  • Fixed table method not returning instance when argument is null.
  • Minor optimisations (simplified code).
4.7.0
  • Added new overwriting feature to QueryBuilderHandler.
  • Added test.sql for custom unit-test tables.
  • Updated readme to with new query-overwriting feature.
  • Changed required PHP version from 7.2 to 7.1.
  • Added proper PDOStatement closing in QueryBuilderHandler.
  • Optimisations.

Release notes

PHP version has been changed from version 7.2 to 7.1

4.6.0
  • Fixed count method so it counts all rows in query with no exceptions (issue: #75 - thanks @mrcnpdlk)
  • Added new aggregate-methods (sum, average, min and max) to QueryBuilderHandler.
  • Simplified aggregate method in QueryBuilderHandler.
  • Updated code-syntax to PHP 7.2.
  • Added unit-tests for new functionality.
  • Updated composer dependencies.
  • Updated documentation to reflect new changes.

Release notes

This release requires PHP 7.2 or higher

4.5.1
  • Cleaned up Transaction class and simplified the statement method.
  • Changed QueryObject to contain instance of Connection instead of instance of the Pdo class as this has more features.
  • Cleaned up files and removed newlines.
4.5.0
  • Added better ExceptionHandling thanks to @mrcnpdlk - pecee-pixie will now try to parse the error code and throw a matching Exception, which may help out when debugging. This will not cause any chances to existing code, as they all inherit from the base Exception class from earlier versions.

  • Added better connection handling. It's now possible to close the connection using the close method in the Connection class. The library will try to reconnect using stored credentials if the connection is established afterwords. This is especially useful for controlling open connections in beanstalkd scripts or long-running scripts where open connections can cause issues.

  • Added new unit tests for new ExceptionHandling feature.

  • Updated and cleaned the documentation.

  • A bunch of optimisations and bugfixes.

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.
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed