repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Stripe.php
lib/AktiveMerchant/Billing/Gateways/Stripe.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; use AktiveMerchant\Common\Options; use A...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Pin.php
lib/AktiveMerchant/Billing/Gateways/Pin.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; use AktiveMerchant\Common\Options; use A...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Mercury.php
lib/AktiveMerchant/Billing/Gateways/Mercury.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; use AktiveMerchant\Common\Options; /** ...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/AuthorizeNet.php
lib/AktiveMerchant/Billing/Gateways/AuthorizeNet.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Exception; use AktiveMerchant\Billing\Response; us...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Psigate.php
lib/AktiveMerchant/Billing/Gateways/Psigate.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Exception; use AktiveMerchant\Billing\Response; /...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Modirum.php
lib/AktiveMerchant/Billing/Gateways/Modirum.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\Base; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; use Akt...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/AlphaBank.php
lib/AktiveMerchant/Billing/Gateways/AlphaBank.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; class AlphaBank extends Modirum { const TEST_URL = 'https://alpha.test.modirum.com/vpos/xmlpayvpos'; const LIVE_URL = 'https://www.alphaecommerce.gr/vpos/xmlpayvpos'; const MPI_TEST_URL = 'htt...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/PiraeusPaycenterRedirect.php
lib/AktiveMerchant/Billing/Gateways/PiraeusPaycenterRedirect.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\Response; use AktiveMerchant\Common\Options; class PiraeusPaycenterRedirect extends Gateway { const TEST_URL = 'https://paycenter.piraeus...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Eurobank.php
lib/AktiveMerchant/Billing/Gateways/Eurobank.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; /** * Integration of Eurobank ProxyPay...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/NbgMpi.php
lib/AktiveMerchant/Billing/Gateways/NbgMpi.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; /** * Support 3D Secure implementation for National Bank of Greece gateway. * * @author Andreas Kollaros <andreas@larium.net> * @license MIT License http://www.opensource.org/licenses/mit-license.php ...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Iridium.php
lib/AktiveMerchant/Billing/Gateways/Iridium.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Common\Options; use AktiveMerchant\Common\Country; use AktiveMerchant\Billing\Response; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Comm...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Realex.php
lib/AktiveMerchant/Billing/Gateways/Realex.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /* * For more information on the Realex Payment Gateway visit their site http://realexpayments.com. * Realex is the leading gateway in Ireland * * === Merchant ID and Password * * To be able to use this library you will need to obtain an accou...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Exact.php
lib/AktiveMerchant/Billing/Gateways/Exact.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; use AktiveMerchant\Common\Options; use A...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Eway.php
lib/AktiveMerchant/Billing/Gateways/Eway.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; use AktiveMerchant\Common\Options; /** ...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Nbg.php
lib/AktiveMerchant/Billing/Gateways/Nbg.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; /** * National Bank of Greece gateway implementation. * * @author Andreas Kollaros <andreas@larium.net> */ class Nbg extends DataCash { const TEST_URL = 'https://accreditation.datacash.com/Transac...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Payflow.php
lib/AktiveMerchant/Billing/Gateways/Payflow.php
<?php namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Gateways\Payflow\PayflowCommon; use AktiveMerchant\Billing\Gateways\Payflow\PayflowResponse; use AktiveMerchant\Billing\Interfaces as Interfaces; /** * Integration of Payflow gateway * * @author Tom Maguire * @license http://www.opensour...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/PayflowUk.php
lib/AktiveMerchant/Billing/Gateways/PayflowUk.php
<?php namespace AktiveMerchant\Billing\Gateways; class PayflowUk extends Payflow { protected $partner = 'PayPalUk'; public static $supported_cardtypes = array('visa', 'master', 'american_express', 'discover', 'solo', 'switch'); public static $supported_countries = array('GB'); public static $homepage_...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/FatZebra.php
lib/AktiveMerchant/Billing/Gateways/FatZebra.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; use AktiveMerchant\Common\Options; use A...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/HsbcGlobalIris.php
lib/AktiveMerchant/Billing/Gateways/HsbcGlobalIris.php
<?php namespace AktiveMerchant\Billing\Gateways; class HsbcGlobalIris extends HsbcSecureEpayments { const TEST_URL = 'https://apixml.globaliris.com'; const LIVE_URL = 'https://apixml.globaliris.com'; public static $display_name = 'HSBC Global Iris'; protected function successFrom($action, $response)...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/PiraeusPaycenter.php
lib/AktiveMerchant/Billing/Gateways/PiraeusPaycenter.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; use AktiveMerchant\Http\Adapter\SoapClie...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Cardstream.php
lib/AktiveMerchant/Billing/Gateways/Cardstream.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; /** * Integration of Cardstream gatewa...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Moneris.php
lib/AktiveMerchant/Billing/Gateways/Moneris.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Common\Options; use AktiveMerchant\Billing\Response; use AktiveMerchant\Common\XmlBuilder; use AktiveMerchant\Billing\Exception; use AktiveMerchant\Bi...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/CentinelPaypal.php
lib/AktiveMerchant/Billing/Gateways/CentinelPaypal.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Gateways\Centinel; /** * Extension of Centinel gateway that connects to the * paypal subdomain of Cardinal Commmerce in live env * * @license http://www.opensource.org/licen...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/DataCashMpi.php
lib/AktiveMerchant/Billing/Gateways/DataCashMpi.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Common\Options; use AktiveMerchant\Billing\Response; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Common\SimpleXmlBuilder; /** * Support 3D Secure implementation for DataC...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/PaypalExpress.php
lib/AktiveMerchant/Billing/Gateways/PaypalExpress.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\Gateways\Paypal\PaypalCommon; use AktiveMerchant\Billing\Gateways\Paypal\PaypalExpressResponse; use AktiveMerchant\Common\Country; use AktiveM...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Paypal.php
lib/AktiveMerchant/Billing/Gateways/Paypal.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Exception; use AktiveMerchant\Billing\Response; us...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/DataCash.php
lib/AktiveMerchant/Billing/Gateways/DataCash.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; use AktiveMerchant\Common\Options; use A...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Centinel.php
lib/AktiveMerchant/Billing/Gateways/Centinel.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Gateways\Centinel\CentinelResponse; use AktiveMerchant\Common\Options; use AktiveMerchant\Common\Simple...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Paypal/PaypalCommon.php
lib/AktiveMerchant/Billing/Gateways/Paypal/PaypalCommon.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways\Paypal; use AktiveMerchant\Billing\Gateway; /** * Description of PaypalCommon * * @author Andreas Kollaros <andreas@larium.net> * @license http://www.opensource.org/licenses/mit-license.php */ abstrac...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Paypal/PaypalExpressResponse.php
lib/AktiveMerchant/Billing/Gateways/Paypal/PaypalExpressResponse.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways\Paypal; use AktiveMerchant\Billing\Response; /** * Description of PaypalExpressResponse * * @author Andreas Kollaros <andreas@larium.net> * @license http://www.opensource.org/licenses/mit-license.php ...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Payflow/PayflowResponse.php
lib/AktiveMerchant/Billing/Gateways/Payflow/PayflowResponse.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways\Payflow; use AktiveMerchant\Billing\Response; class PayflowResponse extends Response { public function profileId() { return $this->params['profileId']; } public function paymentHis...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Payflow/PayflowCommon.php
lib/AktiveMerchant/Billing/Gateways/Payflow/PayflowCommon.php
<?php namespace AktiveMerchant\Billing\Gateways\Payflow; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\Response; class PayflowCommon extends Gateway { const TEST_URL = 'https://pilot-payflowpro.paypal.com'; const LIVE_URL = 'https://payflowpro.paypal.com'; protected $XMLNS = 'http://www...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Billing/Gateways/Centinel/CentinelResponse.php
lib/AktiveMerchant/Billing/Gateways/Centinel/CentinelResponse.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways\Centinel; use AktiveMerchant\Billing\Response; /** * Description of CentinelResponse * * @author Andreas Kollaros <andreas@larium.net> * @license http://www.opensource.org/licenses/mit-license.php */ ...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Http/RequestInterface.php
lib/AktiveMerchant/Http/RequestInterface.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Http; use Symfony\Component\EventDispatcher\EventDispatcherInterface; /** * RequestInterface * * @package Aktive-Merchant * @author Andreas Kollaros * @license MIT {@link http://opensource.org/licenses/mit-license.ph...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Http/Request.php
lib/AktiveMerchant/Http/Request.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Http; use AktiveMerchant\Billing\Exception; use AktiveMerchant\Http\Adapter\cUrl; use AktiveMerchant\Common\Options; use AktiveMerchant\Event\PreSendEvent; use AktiveMerchant\Event\PostSendEvent; use AktiveMerchant\Event\Re...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Http/AdapterInterface.php
lib/AktiveMerchant/Http/AdapterInterface.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Http; /** * AdapterInterface * * @package Aktive-Merchant * @author Andreas Kollaros * @license MIT {@link http://opensource.org/licenses/mit-license.php} */ interface AdapterInterface { /** * Sets an optio...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Http/Adapter/Exception.php
lib/AktiveMerchant/Http/Adapter/Exception.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Http\Adapter; /** * Exception * * Exception for errors from adapters. * * @package Aktive-Merchant * @author Andreas Kollaros * @license MIT {@link http://opensource.org/licenses/mit-license.php} */ class Exception...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Http/Adapter/cUrl.php
lib/AktiveMerchant/Http/Adapter/cUrl.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Http\Adapter; use AktiveMerchant\Http\RequestInterface; use AktiveMerchant\Http\AdapterInterface; /** * cUrl adapter * * @uses AdapterInterface * @package Aktive-Merchant * @author Andreas Kollaros <php@andreaskol...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Http/Adapter/SoapClientAdapter.php
lib/AktiveMerchant/Http/Adapter/SoapClientAdapter.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Http\Adapter; use AktiveMerchant\Http\AdapterInterface; use AktiveMerchant\Http\RequestInterface; use SoapClient; use SoapFault; /** * SoapClient adapter * * @uses AdapterInterface * @package Aktive-Merchant * @author...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Support/GatewaySupport.php
lib/AktiveMerchant/Support/GatewaySupport.php
<?php namespace AktiveMerchant\Support; use AktiveMerchant\Common\Inflect; use AktiveMerchant\Billing\Gateway; class GatewaySupport { private $supported_gateways = array(); private $actions = array("purchase", "authorize", "capture", "void", "credit", "recurring"); public function __construct() { ...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Common/Address.php
lib/AktiveMerchant/Common/Address.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Common; /** * Address class allows mapping user defined fields of an address array to * corresponding fields of a gateway. * * <code> * $user_address = array( * 'city' => 'Athens', * 'country' ...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Common/Options.php
lib/AktiveMerchant/Common/Options.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Common; use AktiveMerchant\Billing\Exception; /** * Options class. * * Provides an easy way of accessing options with arrays. * * @package Aktive-Merchant * @author Andreas Kollaros * @license MIT {@link http://ope...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Common/Inflect.php
lib/AktiveMerchant/Common/Inflect.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Common; class Inflect { public static function camelize($string) { return str_replace(' ', '', ucwords(str_replace('_', ' ', $string))); } public static function underscore($string) { re...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Common/XmlBuilder.php
lib/AktiveMerchant/Common/XmlBuilder.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Common; use Closure; use XMLWriter; /** * XmlBuilder provides a fluent way to create xml strings. * * @since Class available since Release 1.1.0 * @package Aktive-Merchant * @author Andreas Kollaros <andreas@larium.ne...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Common/CountryCode.php
lib/AktiveMerchant/Common/CountryCode.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Common; use AktiveMerchant\Billing\Exception; class CountryCode { /** * @var string|integer */ protected $value; /** * The format of current CuntryCode. * * @var string Values are alph...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Common/Error.php
lib/AktiveMerchant/Common/Error.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Common; /** * Contains merchant error class * @package Aktive-Merchant */ /** * Description of Error * * @package Aktive-Merchant * @author Andreas Kollaros * @license http://www.opensource.org/licenses/mit-licens...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Common/CurrencyCode.php
lib/AktiveMerchant/Common/CurrencyCode.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Common; /** * Allows to access the numeric value of a currency from the given ISO 4217 * currency code. * * @package Aktive-Merchant * @author Andreas Kollaros * @license MIT {@link http://opensource.org/licenses/mit...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Common/Country.php
lib/AktiveMerchant/Common/Country.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Common; /** * Allows lookup for country names by given iso(alpha2), iso3(alpha3) or numeric * code. * * <code> * $country = Country::find(300); // Returns Country object * echo $country; // Return Greece * ...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/lib/AktiveMerchant/Common/SimpleXmlBuilder.php
lib/AktiveMerchant/Common/SimpleXmlBuilder.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Common; use SimpleXMLElement; /** * XmlBuilder provides a fluent way to create xml strings. * * @since Class available since Release 1.1.0 * @package Aktive-Merchant * @author Andreas Kollaros <andreas@larium.net> * ...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
akDeveloper/Aktive-Merchant
https://github.com/akDeveloper/Aktive-Merchant/blob/46ec44db375f056a0df59dacb8f02b92f1156988/template/Example.php
template/Example.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ namespace AktiveMerchant\Billing\Gateways; use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerchant\Billing\Gateway; use AktiveMerchant\Billing\CreditCard; use AktiveMerchant\Billing\Response; /** * Integration of Example gateway ...
php
MIT
46ec44db375f056a0df59dacb8f02b92f1156988
2026-01-05T04:04:22.409823Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ThrottleMethods.php
src/ThrottleMethods.php
<?php /** * ThrottleMethods * * This trait allows to rate limit a given action inside the object by a given key. It * returns the object instance instead of the result of the call. * * $object->throttle(60, 1)->heavilyComputational($parameters); * * Alternatively, you can pass a callable to the limit that w...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/CacheRegenerator.php
src/CacheRegenerator.php
<?php namespace DarkGhostHunter\Laratraits; use Illuminate\Contracts\Cache\Repository; use Illuminate\Support\Carbon; use Serializable; class CacheRegenerator implements Serializable { /** * The time suffix to check the storing time. * * @var string */ public static string $timeSuffix = '...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/RegeneratesCache.php
src/RegeneratesCache.php
<?php /** * RegeneratesCache * * This trait allows an object to be saved to the cache but avoiding data-races. * * The usage is simple: use `cache()->invalidate()` from the object to mark the * moment the object is no longer equal to the cache. Once ready to store, use * `cache()->regenerate()` to put a copy int...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/SavesToSession.php
src/SavesToSession.php
<?php /** * Saves to Session * * This trait allows an object to be saved into the session. * * --- * MIT License * * Copyright (c) Italo Israel Baeza Cabrera * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/SavesToCache.php
src/SavesToCache.php
<?php /** * Saves to Cache * * This trait allows an object to be saved to the cache. * --- * MIT License * * Copyright (c) Italo Israel Baeza Cabrera * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Enumerable.php
src/Enumerable.php
<?php /** * Enumerable * * This class it's a simpler rework of the "Enumerate" class. It works by receiving a list of * states and letting the developer to set one of these state. It also includes helpers for * getting all states, current state and programmatically setting a state by a condition. * * You can ret...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ValidatesItself.php
src/ValidatesItself.php
<?php /** * Validates Itself * * This trait allows a class to validate itself using something like "$class->validate()". You can * issue your own data to be validated, but preferably you should let the class point the data * itself. You can use a Closure to execute an "after callback" in the Validator instance. *...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ShadowCall.php
src/ShadowCall.php
<?php namespace DarkGhostHunter\Laratraits; trait ShadowCall { /** * Enables the next method call when the condition is truthy. * * @param mixed $condition * * @return static */ public function callWhen($condition): ShadowProxy { return new ShadowProxy($this, $condi...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/SavesToStorage.php
src/SavesToStorage.php
<?php /** * Saves to Storage * * This trait allows an object to be saved to the application storage. * * --- * MIT License * * Copyright (c) Italo Israel Baeza Cabrera * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/SecurelyJsonable.php
src/SecurelyJsonable.php
<?php /** * SecurelyJsonable * * This trait allows any Jsonable object to contain a signature that avoids tampering the * contents. You can use any key, like a secret key contained in your database, or the * application key. On unserialization, check if the key is valid before proceeding. * * For example, you ca...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ConditionCallContainer.php
src/ConditionCallContainer.php
<?php namespace DarkGhostHunter\Laratraits; /** * @deprecated Use Conditionable trait instead. * @see \Illuminate\Support\Traits\Conditionable */ class ConditionCallContainer { /** * The target to call. * * @var object */ protected object $target; /** * If the call should be p...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Comparable.php
src/Comparable.php
<?php /** * Comparable * * This trait allows an instance to be compared to a list of items and check if the comparison * returns true or false. By default, it checks the current object is an instance of the them. * * For example, you can check if the object is an instance of a given interface. * * $this->is...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Throws.php
src/Throws.php
<?php namespace DarkGhostHunter\Laratraits; trait Throws { /** * Throws the exception if a condition is truthy. * * @param mixed $condition * @param mixed ...$args * @return void * * @throws static */ public static function when($condition, ...$args): void { ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/EnumerableStates.php
src/EnumerableStates.php
<?php /** * Enumerable States * * This traits allows a given class to have one of an strictly enumerated list of states. * * You can override the Enumerable instance with your own custom class: * * protected makeEnumerableInstance() * { * return new WeatherEnumerable; * } * * --- * MIT ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ConditionCalls.php
src/ConditionCalls.php
<?php /** * ConditionCalls * * This trait allows a object to execute a given callback when a value or Closure evaluates * to true or false, without needing to use complex if/else blocks, in a fluent manner. * * $object->when(true, function ($instance, $value) { * $instance->lookAside($value); * ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/RendersFromMarkdown.php
src/RendersFromMarkdown.php
<?php /** * Throttles Requests * * This trait allows a class to hold markdown text and parse it to HTML. This can be used with the * Htmlable interface to automatically transform the given class into HTML. This trait will not * fail if the text to parse is empty; you should validate the data of the class beforehan...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/FiresItself.php
src/FiresItself.php
<?php /** * FiresItself * * This trait allows an Event to be fired using a static method than rather a helper. * * NewSubscriptionEvent::fire($subscription, $client); * * You can also fire the event and halt when a listener returns a response. * * NewSubscriptionEvent::fireHalted($subscription, $client...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/PipesThrough.php
src/PipesThrough.php
<?php /** * PipesThrough * * This trait is fairly simple: takes the object and sends it through a Pipeline and returns a * result. You can include the pipes as an array of classes or callables. You can also create * a custom Pipeline class with your own pipes for most simplicity and override the methods. * * ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/SendsToHttp.php
src/SendsToHttp.php
<?php /** * SendsToHttp * * This trait allows an object to be sent to a given URL using the HTTP Client. * * $class->send(); * * --- * MIT License * * Copyright (c) Italo Israel Baeza Cabrera * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associa...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Multitaps.php
src/Multitaps.php
<?php /** * Multitaps * * This is a hacky way to "tap" indefinitely the current class instance. To stop multitaping, you can use * the "$target" public property to access the underlying object, or append "AndUntap" to any method. * This also allows for an optional callable to be used when starting the multitaping ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ShadowProxy.php
src/ShadowProxy.php
<?php namespace DarkGhostHunter\Laratraits; use Closure; use Illuminate\Support\Traits\ForwardsCalls; class ShadowProxy { use ForwardsCalls; /** * The target object. * * @var object */ public object $target; /** * The condition to evaluate * * @var mixed */ ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ClassMethodThrottler.php
src/ClassMethodThrottler.php
<?php /** * ClassMethodThrottler * * This class conveniently catches an object and routes the method call to it only * when the method is not throttled. If a default callable is issued, it will be * called when the throttler hits the limit with the target and this instance. * * --- * MIT License * * Copyright...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/InfiniteHigherOrderTapProxy.php
src/InfiniteHigherOrderTapProxy.php
<?php /** * InfiniteHigherOrderTapProxy * * This class extends the original "Tapable" class but now always return this object. * --- * MIT License * * Copyright (c) Italo Israel Baeza Cabrera * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated doc...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Jobs/DispatchablePipeline.php
src/Jobs/DispatchablePipeline.php
<?php /** * DispatchablePipeline * * This class is in charge of holding the Pipeline and the "passable" thing, and execute the pipeline once * this Job is dispatched. This Job instance is used when you add the "DispatchesPipeline" trait in your * custom pipelines. Like all Jobs in Laravel, this is will return void...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Scopes/UuidScope.php
src/Scopes/UuidScope.php
<?php /** * Uuid Scope * * This conveniently adds local scopes to handle UUIDs to the Eloquent Query Builder. These scopes are only * valid for the Builder instance itself, and doesn't interfere with other builders of other models. You * can register this Scope all by yourself, but it's better to use the UsesUuid ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Scopes/DefaultColumns.php
src/Scopes/DefaultColumns.php
<?php /** * Default Columns * * This scopes injects a "select" into the Eloquent Query Builder with a given list of columns, which can be later * be overridden by the query itself. This allows the queried record to only select some columns instead of all, * which without can become problematic when tidying up memo...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Scopes/MacrosEloquent.php
src/Scopes/MacrosEloquent.php
<?php /** * Throttles Requests * * This trait allows you to extend the Eloquent Builder instance using local macros, which are macros but * only valid for the instance itself instance of globally. This cycles through all the scope methods, * filters only those that starts with "macro", executes them receiving a Cl...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Blade/RegistersFileDirective.php
src/Blade/RegistersFileDirective.php
<?php /** * RegistersFileDirective * * This is a very nice way to register a directive by using a raw PHP file contents using the snake_name * from the class name. Use this in your directive class, and register it using 'Class@method' notation * and USE "$expression" INSIDE YOUR DIRECTIVE FILE. This is because it ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ServiceProviders/RegisterBladeExtensions.php
src/ServiceProviders/RegisterBladeExtensions.php
<?php /** * RegisterBladeExtensions * * This traits allows you to register multiple Blade extensions in just a few arrays. * The Blade compiler uses **callables** for directives and the custom if statements * so you will need to use public static methods and them as class@method notation. * * protected $dire...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ServiceProviders/PublishesMigrations.php
src/ServiceProviders/PublishesMigrations.php
<?php /** * PublishesMigrations * * The following traits is intended for package developers. This will will find * all migrations properly named located in the default `database/migrations` * directory, and it will proceed to register each of them as publishable. * * public function boot(): void * { * ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ServiceProviders/RegisterGates.php
src/ServiceProviders/RegisterGates.php
<?php /** * RegisterGates * * This trait will register user-defined gates in your AuthServiceProvider automatically: * * protected $gates = [ * 'view-dashboard' => 'App\Auth\Gates\Admin@viewDashboard', * 'create-users' => 'App\Auth\Gates\Admin@createUsers', * ]; * * public function...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/ServiceProviders/RegisterObservers.php
src/ServiceProviders/RegisterObservers.php
<?php /** * RegistersObservers * * This traits allows you to register multiple eloquent events by just issuing an array * into your EventServiceProvider, that your boot method should hook up manually: * * protected $observers = [ * 'App\User' => 'App\Observers\UserObserver', * 'App\Post' => ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Middleware/ValidateConsumableSignature.php
src/Middleware/ValidateConsumableSignature.php
<?php /** * ValidateConsumableSignature * * Makes the signed request valid only for one time, except on client (4xx) or server errors (5xx). * * This is useful when you need to issue signed URL that can only be reachable once, avoiding * writing logic to disable further requests processes once the first is succes...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Middleware/ShareAuthenticatedUser.php
src/Middleware/ShareAuthenticatedUser.php
<?php /** * ShareAuthenticatedUser * * This allows to share in all your views the "authenticated" variable containing the * authenticated user, if any. * * It's recommended to add it in your HTTP Kernel as part of the 'web' stack of middleware: * * protected $middlewareGroups = [ * 'web' => [ * ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Middleware/CacheStaticResponse.php
src/Middleware/CacheStaticResponse.php
<?php /** * CacheStaticResponse * * Caches a (hopefully static) Response for the given minutes, and other store apart of the default. * * Route::get('post', 'PostController@show') * ->middleware('DarkGhostHunter\Laratraits\Middleware\CacheStaticResponse'); * * Alternatively, you can register an ali...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/HasSlug.php
src/Eloquent/HasSlug.php
<?php /** * HasSlug * * This trait is just a handy collection of methods to allow any models to be routed by the "slug" on requests. * You'll need to set what text from the model use as a base to convert to an slug and, in your table, add the * "slug" string column with an unique for faster retrieval. The slug is ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/ModelType.php
src/Eloquent/ModelType.php
<?php /** * Model Type * * Assume you have a table that holds different types of audio files: podcasts, songs, snippets, etc. With * this trait you can set a column that will hold the type, while these models extend the same base model * with common properties and methods. This trait will add the scope and the typ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/FillsAttributes.php
src/Eloquent/FillsAttributes.php
<?php /** * FillsAttributes * * This trait will automatically fill a list of attributes by executing a method for each of them. These * methods must follow the "fillValueAttribute". For example, to fill the `foo` attribute, the method * `fillFooAttribute` must exists and return the value needed. Otherwise, try to ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/DefaultColumns.php
src/Eloquent/DefaultColumns.php
<?php /** * DefaultColumns * * This is a convenient way to make a Model only select certain columns by default. This may be handy to save * large chunks of memory when the retrieved record contains too much data that most of the time isn't used, * like walls of text, giant chunks of binary data, raw files encoded ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/FromRequest.php
src/Eloquent/FromRequest.php
<?php /** * FromRequest * * This trait allows the user to conveniently make or create a model by validating * the request and using that input, in one line. * * Model::createFrom($request, ['url' => 'required|url']); * * You can also use `makeFrom()`, `fillFrom()` and `updateFrom()`. * --- * MIT License ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/NeighbourRecords.php
src/Eloquent/NeighbourRecords.php
<?php /** * NeighbourRecords * * This trait will allow you to conveniently get the previous and next record in a performing-way. This only * returns the primary key of these neighbour records, but you can override the way the list is queried to * the database, and even if it should be cached or not, which is total...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/ConditionFill.php
src/Eloquent/ConditionFill.php
<?php /** * ConditionFill * * This trait allows a model to be filled depending on a condition, allowing to chain methods. * * By default, if a condition is truthy, the attribute will be filled with the condition value. * * $model->fillWhen($user->is_admin, 'read_only')->save(); * $model->fillUnless($req...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/UsesUuid.php
src/Eloquent/UsesUuid.php
<?php /** * UsesUuid * * This trait auto-fills an autogenerated UUID when the model is instanced. It also adds convenient * local scopes to the Eloquent Query Builder to find and filter this model through its UUID. For * additional performance, you can create an index on the UUID column in your model migrations. ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/Casts/CastEnumerable.php
src/Eloquent/Casts/CastEnumerable.php
<?php /** * CastEnumerable * * This class allows a Model to cast an "enum" property into a Enumerable instance with its own * list of available states. Because this class needs the possible states declared beforehand * this is made an abstract class you will need to extend with the states you want to have. * * ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/Casts/CastsBase64.php
src/Eloquent/Casts/CastsBase64.php
<?php /** * CastsBase64 * * This handy cast class will automatically encode any (hopefully) binary string into BASE64 so * it can be saved into the database, and restore the binary string from the database. This is * useful to avoid storing binary data any indexed columns, wrecking SQL havoc when querying. * * -...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/src/Eloquent/Casts/CastRepository.php
src/Eloquent/Casts/CastRepository.php
<?php /** * CastRepository * * This Cast allows a column on the model with complex arrayable data to ve a Repository. * This allows the property to be accessed like a config-style set of values. * * protected $casts = [ * 'config' => CastRepository::class, * ]; * * Then, in your code, you can ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/tests/SecurelyJsonableTest.php
tests/SecurelyJsonableTest.php
<?php namespace Tests; use LogicException; use InvalidArgumentException; use Illuminate\Support\Fluent; use Orchestra\Testbench\TestCase; use DarkGhostHunter\Laratraits\SecurelyJsonable; class SecurelyJsonableTest extends TestCase { /** @var \Tests\TestJsonableClass */ protected $class; protected functi...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/tests/ComparableTest.php
tests/ComparableTest.php
<?php namespace Tests; use Exception; use Illuminate\Support\Fluent; use PHPUnit\Framework\TestCase; use DarkGhostHunter\Laratraits\Comparable; class ComparableTest extends TestCase { /** @var \DarkGhostHunter\Laratraits\Comparable */ protected $compared; protected function setUp() : void { ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/tests/RegeneratesCacheTest.php
tests/RegeneratesCacheTest.php
<?php namespace Tests; use DarkGhostHunter\Laratraits\CacheRegenerator; use DarkGhostHunter\Laratraits\RegeneratesCache; use Illuminate\Contracts\Cache\Repository; use Illuminate\Support\Carbon; use Illuminate\Support\Fluent; use Orchestra\Testbench\TestCase; class RegeneratesCacheTest extends TestCase { /** ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false
DarkGhostHunter/Laratraits
https://github.com/DarkGhostHunter/Laratraits/blob/d25fa64c80cc04b73ffcbc8b960c74a284875aea/tests/RendersFromMarkdownTest.php
tests/RendersFromMarkdownTest.php
<?php namespace Tests; use Orchestra\Testbench\TestCase; use Illuminate\Support\HtmlString; use Illuminate\Contracts\Support\Htmlable; use DarkGhostHunter\Laratraits\RendersFromMarkdown; class RendersFromMarkdownTest extends TestCase { public function test_renders() { $htmlable = new class() { ...
php
MIT
d25fa64c80cc04b73ffcbc8b960c74a284875aea
2026-01-05T04:04:34.119053Z
false