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 |
|---|---|---|---|---|---|---|---|---|
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/customer/edit.blade.php | resources/views/customer/edit.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('customer.update_customer')}}</div>
<div class="panel-body">
{!! Html::ul($errors->all()) !!}
{!! Form::mo... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/customer/index.blade.php | resources/views/customer/index.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('customer.list_customers')}}</div>
<div class="panel-body">
<a class="btn btn-small btn-success" href="{{ URL::to... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/customer/create.blade.php | resources/views/customer/create.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('customer.new_customer')}}</div>
<div class="panel-body">
{!! Html::ul($errors->all()) !!}
{!! Form::open(a... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/auth/reset.blade.php | resources/views/auth/reset.blade.php | @extends('app')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-body">
@if (count($errors) > 0)
<div class="alert alert-danger">
... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/auth/login.blade.php | resources/views/auth/login.blade.php | @extends('app')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Login</div>
<div class="panel-body">
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/auth/register.blade.php | resources/views/auth/register.blade.php | @extends('app')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Register</div>
<div class="panel-body">
@if (count($errors) > 0)
<div class="alert alert-danger">
<stro... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/auth/password.blade.php | resources/views/auth/password.blade.php | @extends('app')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-body">
@if (session('status'))
<div class="alert alert-success">
... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/supplier/edit.blade.php | resources/views/supplier/edit.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('supplier.update_supplier')}}</div>
<div class="panel-body">
{!! Html::ul($errors->all()) !!}
{!! Form::mo... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/supplier/index.blade.php | resources/views/supplier/index.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('supplier.list_suppliers')}}</div>
<div class="panel-body">
<a class="btn btn-small btn-success" href="{{ URL::to... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/supplier/create.blade.php | resources/views/supplier/create.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('supplier.new_supplier')}}</div>
<div class="panel-body">
{!! Html::ul($errors->all()) !!}
{!! Form::open(... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/errors/503.blade.php | resources/views/errors/503.blade.php | <html>
<head>
<link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
<style>
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
color: #B0BEC5;
display: table;
font-weight: 100;
font-family: 'Lato';
}
.container {
text-align: c... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/emails/password.blade.php | resources/views/emails/password.blade.php | Click here to reset your password: {{ url('password/reset/'.$token) }}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/tutapos-setting/index.blade.php | resources/views/tutapos-setting/index.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Application Settings</div>
<div class="panel-body">
@if (Session::has('message'))
<div class="alert... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/inventory/edit.blade.php | resources/views/inventory/edit.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('item.inventory_data_tracking')}}</div>
<div class="panel-body">
@if (Session::has('message'))
<div class=... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/receiving/complete.blade.php | resources/views/receiving/complete.blade.php | @extends('app')
@section('content')
{!! Html::script('js/angular.min.js', array('type' => 'text/javascript')) !!}
{!! Html::script('js/app.js', array('type' => 'text/javascript')) !!}
<style>
table td {
border-top: none !important;
}
</style>
<div class="container-fluid">
<div class="row">
<div class="co... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/receiving/index.blade.php | resources/views/receiving/index.blade.php | @extends('app')
@section('content')
{!! Html::script('js/angular.min.js', array('type' => 'text/javascript')) !!}
{!! Html::script('js/app.js', array('type' => 'text/javascript')) !!}
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/report/sale.blade.php | resources/views/report/sale.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('report-sale.reports')}} - {{trans('report-sale.sales_report')}}</div>
<div class="panel-body">
<... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/report/receiving.blade.php | resources/views/report/receiving.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('report-receiving.reports')}} - {{trans('report-receiving.receivings_report')}}</div>
<div class="panel-body">
<div c... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/sale/complete.blade.php | resources/views/sale/complete.blade.php | @extends('app')
@section('content')
{!! Html::script('js/angular.min.js', array('type' => 'text/javascript')) !!}
{!! Html::script('js/app.js', array('type' => 'text/javascript')) !!}
<style>
table td {
border-top: none !important;
}
</style>
<div class="container-fluid">
<div class="row">
<div class="co... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/sale/index.blade.php | resources/views/sale/index.blade.php | @extends('app')
@section('content')
{!! Html::script('js/angular.min.js', array('type' => 'text/javascript')) !!}
{!! Html::script('js/sale.js', array('type' => 'text/javascript')) !!}
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/item/edit.blade.php | resources/views/item/edit.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('item.update_item')}}</div>
<div class="panel-body">
{!! Html::ul($errors->all()) !!}
{!! Form::model($ite... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/item/index.blade.php | resources/views/item/index.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('item.list_items')}}</div>
<div class="panel-body">
<a class="btn btn-small btn-success" href="{{ URL::to('items/... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/item/create.blade.php | resources/views/item/create.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('item.new_item')}}</div>
<div class="panel-body">
@if (Session::has('message'))
<div class="alert alert-inf... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/itemkit/index.blade.php | resources/views/itemkit/index.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('itemkit.item_kits')}}</div>
<div class="panel-body">
<a class="btn btn-small btn-success" href="{{ URL::to('item... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/itemkit/create.blade.php | resources/views/itemkit/create.blade.php | @extends('app')
@section('content')
{!! Html::script('js/angular.min.js', array('type' => 'text/javascript')) !!}
{!! Html::script('js/item.kits.js', array('type' => 'text/javascript')) !!}
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel ... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/employee/edit.blade.php | resources/views/employee/edit.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('employee.update_employee')}}</div>
<div class="panel-body">
{!! Html::ul($errors->all()) !!}
{!! Form::mo... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/employee/index.blade.php | resources/views/employee/index.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('employee.list_employees')}}</div>
<div class="panel-body">
<a class="btn btn-small btn-success" href="{{ URL::to... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/employee/create.blade.php | resources/views/employee/create.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">{{trans('employee.new_employee')}}</div>
<div class="panel-body">
{!! Html::ul($errors->all()) !!}
{!! Form::open(a... | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
jeremykenedy/laravel-exception-notifier | https://github.com/jeremykenedy/laravel-exception-notifier/blob/f9ca3992fe9e8491cd17599bf6935a3980827649/src/LaravelExceptionNotifierFacade.php | src/LaravelExceptionNotifierFacade.php | <?php
namespace jeremykenedy\laravelexceptionnotifier;
use Illuminate\Support\Facades\Facade;
class LaravelExceptionNotifierFacade extends Facade
{
/**
* Gets the facade accessor.
*
* @return string The facade accessor.
*/
protected static function getFacadeAccessor()
{
return... | php | MIT | f9ca3992fe9e8491cd17599bf6935a3980827649 | 2026-01-05T05:00:25.309463Z | false |
jeremykenedy/laravel-exception-notifier | https://github.com/jeremykenedy/laravel-exception-notifier/blob/f9ca3992fe9e8491cd17599bf6935a3980827649/src/LaravelExceptionNotifier.php | src/LaravelExceptionNotifier.php | <?php
namespace jeremykenedy\laravelexceptionnotifier;
use Illuminate\Support\ServiceProvider;
class LaravelExceptionNotifier extends ServiceProvider
{
private $_packageTag = 'laravelexceptionnotifier';
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protecte... | php | MIT | f9ca3992fe9e8491cd17599bf6935a3980827649 | 2026-01-05T05:00:25.309463Z | false |
jeremykenedy/laravel-exception-notifier | https://github.com/jeremykenedy/laravel-exception-notifier/blob/f9ca3992fe9e8491cd17599bf6935a3980827649/src/App/Mail/ExceptionOccurred.php | src/App/Mail/ExceptionOccurred.php | <?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
class ExceptionOccurred extends Mailable
{
use Queueable, SerializesModels;
private array $content;
... | php | MIT | f9ca3992fe9e8491cd17599bf6935a3980827649 | 2026-01-05T05:00:25.309463Z | false |
jeremykenedy/laravel-exception-notifier | https://github.com/jeremykenedy/laravel-exception-notifier/blob/f9ca3992fe9e8491cd17599bf6935a3980827649/src/App/Traits/ExceptionNotificationHandlerTrait.php | src/App/Traits/ExceptionNotificationHandlerTrait.php | <?php
namespace App\Traits;
use App\Mail\ExceptionOccurred;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Mail;
use Throwable;
trait ExceptionNotificationHandlerTrait
{
/**
* A list of the exception types that should not be reported.
*
* @var array
*/
protected $dontR... | php | MIT | f9ca3992fe9e8491cd17599bf6935a3980827649 | 2026-01-05T05:00:25.309463Z | false |
jeremykenedy/laravel-exception-notifier | https://github.com/jeremykenedy/laravel-exception-notifier/blob/f9ca3992fe9e8491cd17599bf6935a3980827649/src/config/exceptions.php | src/config/exceptions.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Exception Email Enabled
|--------------------------------------------------------------------------
|
| Enable/Disable exception email notifications
|
*/
'emailExceptionEnabled' => env('... | php | MIT | f9ca3992fe9e8491cd17599bf6935a3980827649 | 2026-01-05T05:00:25.309463Z | false |
jeremykenedy/laravel-exception-notifier | https://github.com/jeremykenedy/laravel-exception-notifier/blob/f9ca3992fe9e8491cd17599bf6935a3980827649/src/resources/views/emails/exception.blade.php | src/resources/views/emails/exception.blade.php | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="robots" content="noindex,nofollow" />
<style>
body { background-color: #F9F9F9; color: #222; font: 14px/1.4 Helvetica, Arial, sans-serif; margin: 0; padding-bottom: 45px; }
a { cursor: pointer; text-de... | php | MIT | f9ca3992fe9e8491cd17599bf6935a3980827649 | 2026-01-05T05:00:25.309463Z | false |
jeremykenedy/laravel-exception-notifier | https://github.com/jeremykenedy/laravel-exception-notifier/blob/f9ca3992fe9e8491cd17599bf6935a3980827649/tests/TestCase.php | tests/TestCase.php | <?php
namespace jeremykenedy\laravelexceptionnotifier\Test;
use jeremykenedy\laravelexceptionnotifier\LaravelExceptionNotifier;
use Orchestra\Testbench\TestCase as OrchestraTestCase;
class TestCase extends OrchestraTestCase
{
/**
* Load package service provider.
*
* @param \Illuminate\Foundation\... | php | MIT | f9ca3992fe9e8491cd17599bf6935a3980827649 | 2026-01-05T05:00:25.309463Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Lexer.php | src/ReverseRegex/Lexer.php | <?php
namespace ReverseRegex;
use Doctrine\Common\Lexer as BaseLexer;
use ReverseRegex\Exception as LexerException;
/**
* Lexer to split expression syntax
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/
class Lexer extends BaseLexer
{
// -----------------------------------... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Exception.php | src/ReverseRegex/Exception.php | <?php
namespace ReverseRegex;
/**
* Base class for exceptions
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/
class Exception extends \Exception
{
}
/* End of File */ | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/ArrayCollection.php | src/ReverseRegex/ArrayCollection.php | <?php
namespace ReverseRegex;
use Doctrine\Common\Collections\ArrayCollection as BaseCollection;
class ArrayCollection extends BaseCollection
{
/**
* Sort the values using a ksort
*
* @access public
* @return ArrayCollection
*/
public function sort()
{
$values... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Parser.php | src/ReverseRegex/Parser.php | <?php
namespace ReverseRegex;
use ReverseRegex\Exception as ParserException;
use ReverseRegex\Lexer;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Generator\LiteralScope;
/**
* Parser to convert regex into Group
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/
class Parser
... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Test/UnicodeTest.php | src/ReverseRegex/Test/UnicodeTest.php | <?php
namespace ReverseRegex\Test;
use ReverseRegex\Exception as RegexException;
use ReverseRegex\Lexer;
use ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Generator\LiteralScope;
use ReverseRegex\Parser\Unicode;
class UnicodeTest extends Basic
{
public function testUnsupportedSh... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Test/ShortTest.php | src/ReverseRegex/Test/ShortTest.php | <?php
namespace ReverseRegex\Test;
use ReverseRegex\Lexer;
use ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Generator\LiteralScope;
use ReverseRegex\Parser\Short;
class ShortTest extends Basic
{
public function testDigit()
{
$lexer = new Lexer('\d');
$scope = ne... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Test/CharacterClassTest.php | src/ReverseRegex/Test/CharacterClassTest.php | <?php
namespace ReverseRegex\Test;
use ReverseRegex\Exception as RegexException;
use ReverseRegex\Lexer;
use ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Generator\LiteralScope;
use ReverseRegex\Parser\CharacterClass;
class CharacterClassTest extends Basic
{
public function testNor... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Test/ScopeTest.php | src/ReverseRegex/Test/ScopeTest.php | <?php
namespace ReverseRegex\Test;
use ReverseRegex\Exception as RegexException;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Random\MersenneRandom;
use ReverseRegex\Generator\LiteralScope;
class ScopeTest extends Basic
{
public function testScopeImplementsRepeatInterface()
{
$scope = new S... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Test/QuantifierParserTest.php | src/ReverseRegex/Test/QuantifierParserTest.php | <?php
namespace ReverseRegex\Test;
use ReverseRegex\Exception as RegexException;
use ReverseRegex\Lexer;
use ReverseRegex\Parser\Quantifier;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Random\MersenneRandom;
class QuantifierParserTest extends Basic
{
public function testQuantifierParserPatternA()
... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Test/Basic.php | src/ReverseRegex/Test/Basic.php | <?php
namespace ReverseRegex\Test;
use PHPUnit\Framework\TestCase;
use ReverseRegex\PimpleBootstrap;
use Pimple\Pimple;
abstract class Basic extends TestCase
{
public function createApplication()
{
$boot = new PimpleBootstrap();
$pimple = $boot->boot(new Pimple());
return $pimple;
... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Test/LexerTest.php | src/ReverseRegex/Test/LexerTest.php | <?php
namespace ReverseRegex\Test;
use ReverseRegex\Exception as RegexException;
use ReverseRegex\Lexer;
class LexerTest extends Basic
{
public function testInheritsDoctrineLexer()
{
$lexer = new Lexer('[a-z]');
$this->assertInstanceOf('\Doctrine\Common\Lexer',$lexer);
}
... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Test/ParserTest.php | src/ReverseRegex/Test/ParserTest.php | <?php
namespace ReverseRegex\Test;
use ReverseRegex\Exception as RegexException;
use ReverseRegex\Lexer;
use ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Random\MersenneRandom;
class ParserTest extends Basic
{
public function testParserExampleA()
{
$lexer = new Lexer('e... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Test/LiteralScopeTest.php | src/ReverseRegex/Test/LiteralScopeTest.php | <?php
namespace ReverseRegex\Test;
use ReverseRegex\Generator\LiteralScope;
class LiteralScopeTest extends Basic
{
public function testExtendsScope()
{
$literal = new LiteralScope('scope1');
$this->assertInstanceOf('ReverseRegex\Generator\Scope',$literal);
}
public function testAd... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Parser/Short.php | src/ReverseRegex/Parser/Short.php | <?php
namespace ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Generator\LiteralScope;
use ReverseRegex\Lexer;
use ReverseRegex\Exception as ParserException;
/**
* Parse a following Shorts (\d, \w, \D, \W, \s, \S, dot)
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @sinc... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Parser/Quantifier.php | src/ReverseRegex/Parser/Quantifier.php | <?php
namespace ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Lexer;
use ReverseRegex\Exception as ParserException;
/**
* Parse a group quantifer e.g (abghb){1,5} , (abghb){5} , (abghb)* , (abghb)? , (abghb)+
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Parser/CharacterClass.php | src/ReverseRegex/Parser/CharacterClass.php | <?php
namespace ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Generator\LiteralScope;
use ReverseRegex\Lexer;
use ReverseRegex\Exception as ParserException;
use Patchwork\Utf8;
/**
* Parse a character class [0-9][a-z]
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @sinc... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Parser/Unicode.php | src/ReverseRegex/Parser/Unicode.php | <?php
namespace ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Lexer;
use ReverseRegex\Exception as ParserException;
use Patchwork\Utf8;
/**
* Parse a unicode sequence e.g \x54 \X{4444}
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/
class Unicode imple... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Parser/StrategyInterface.php | src/ReverseRegex/Parser/StrategyInterface.php | <?php
namespace ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Lexer;
/**
* Interface for all parser strategy object
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/
interface StrategyInterface
{
/**
* Parse the current token and return a ... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Random/GeneratorInterface.php | src/ReverseRegex/Random/GeneratorInterface.php | <?php
namespace ReverseRegex\Random;
use PHPStats\Generator\GeneratorInterface as CommonInterface;
/**
* Interface that all generators should implement
*
* @access Lewis Dyer <getintouch@icomefromthenet.com>
*/
interface GeneratorInterface extends CommonInterface
{
/**
* Generate a value bet... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Random/SrandRandom.php | src/ReverseRegex/Random/SrandRandom.php | <?php
namespace ReverseRegex\Random;
use ReverseRegex\Exception as ReverseRegexException;
/*
* class SrandRandom
*
* Wrapper to mt_random with seed option
*
* Won't work when suhosin.srand.ignore = Off or suhosin.mt_srand.ignore = Off
* is set.
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
*
*/
... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Random/SimpleRandom.php | src/ReverseRegex/Random/SimpleRandom.php | <?php
namespace ReverseRegex\Random;
use ReverseRegex\Exception as ReverseRegexException;
/**
* Simple Random
*
* @link http://www.sitepoint.com/php-random-number-generator/
* @author Craig Buckler
*/
class SimpleRandom implements GeneratorInterface
{
/**
* @var integer the seed value to... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Random/MersenneRandom.php | src/ReverseRegex/Random/MersenneRandom.php | <?php
namespace ReverseRegex\Random;
use ReverseRegex\Exception as ReverseRegexException;
/**
* Mersenne Twiseter Implementation
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @link http://boxrefuge.com/?tag=random-number
*/
class MersenneRandom implements GeneratorInterface
{
/**
... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Random/GeneratorFactory.php | src/ReverseRegex/Random/GeneratorFactory.php | <?php
namespace ReverseRegex\Random;
use ReverseRegex\Exception as ReverseRegexException;
/**
* Generator Factory
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
*/
class GeneratorFactory
{
/**
* @var string[] list of Generators
*
* Each Generator must implem... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Generator/AlternateInterface.php | src/ReverseRegex/Generator/AlternateInterface.php | <?php
namespace ReverseRegex\Generator;
/**
* Allows a scope to select children using alternating strategy
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/
interface AlternateInterface
{
/**
* Tell the scope to select childing use alternating strategy
*
* @... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Generator/LiteralScope.php | src/ReverseRegex/Generator/LiteralScope.php | <?php
namespace ReverseRegex\Generator;
use ReverseRegex\Generator\Scope;
use PHPStats\Generator\GeneratorInterface;
use ReverseRegex\ArrayCollection;
use ReverseRegex\Exception as GeneratorException;
/**
* Scope for Literal Values
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Generator/Node.php | src/ReverseRegex/Generator/Node.php | <?php
namespace ReverseRegex\Generator;
use \ArrayObject;
use \SplObjectStorage;
use \ArrayAccess;
use \Countable;
use \Iterator;
/**
* Base to all Generator Scopes
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/
class Node implements ArrayAccess, Countable, Iterator
{
/**
... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Generator/Scope.php | src/ReverseRegex/Generator/Scope.php | <?php
namespace ReverseRegex\Generator;
use PHPStats\Generator\GeneratorInterface;
use ReverseRegex\Exception as GeneratorException;
/**
* Base Class for Scopes
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/
class Scope extends Node implements ContextInterface, RepeatInterface,... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Generator/RepeatInterface.php | src/ReverseRegex/Generator/RepeatInterface.php | <?php
namespace ReverseRegex\Generator;
/**
* Represent a group has max and min number of occurances
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/
interface RepeatInterface
{
/**
* Fetches the max re-occurances
*
* @access public
* @return integer th... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/ReverseRegex/Generator/ContextInterface.php | src/ReverseRegex/Generator/ContextInterface.php | <?php
namespace ReverseRegex\Generator;
use PHPStats\Generator\GeneratorInterface;
/**
* Conext interface for Generator
*
* @author Lewis Dyer <getintouch@icomefromthenet.com>
* @since 0.0.1
*/
interface ContextInterface
{
/**
* Generate a text string appending to result arguments
*
... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/src/PHPStats/Generator/GeneratorInterface.php | src/PHPStats/Generator/GeneratorInterface.php | <?php
namespace PHPStats\Generator;
/**
* Interface that all generators should implement
*
* @access Lewis Dyer <getintouch@icomefromthenet.com>
*/
interface GeneratorInterface
{
/**
* Generate a value between $min - $max
*
* @param integer $max
* @param integer $max
... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/examples/ausphone.php | examples/ausphone.php | <?php
use ReverseRegex\Lexer;
use ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Random\MersenneRandom;
# require composer
require '../vendor/autoload.php';
# parse the regex
$lexer = new Lexer('\(0[23478]\) 9[0-9]{3}-[0-9]{4}');
$parser = new Parser($lexer,new Scope(),new Scope());
$g... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/examples/mobilenumbers.php | examples/mobilenumbers.php | <?php
use ReverseRegex\Lexer;
use ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Random\MersenneRandom;
# require composer
require '../vendor/autoload.php';
# parse the regex
$lexer = new Lexer("6104([01]\d{3}|(2[1-9]|3[0-57-9]|4[7-9]|5[0-35-9]|6[679]|7[078]|8[178]|9[7-9])\d{2}|(20[2-9]|444|6... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/examples/auspostcode.php | examples/auspostcode.php | <?php
use ReverseRegex\Lexer;
use ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Random\MersenneRandom;
# require composer
require '../vendor/autoload.php';
# parse the regex
$lexer = new Lexer("(0[289][0-9]{2})|([1345689][0-9]{3})|(2[0-8][0-9]{2})|(290[0-9])|(291[0-4])|(7[0-4][0-9]{2})|(7[8-... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
icomefromthenet/ReverseRegex | https://github.com/icomefromthenet/ReverseRegex/blob/2d93f783505194ce520a179e1771a0328511530d/examples/simple.php | examples/simple.php | <?php
use ReverseRegex\Lexer;
use ReverseRegex\Parser;
use ReverseRegex\Generator\Scope;
use ReverseRegex\Random\MersenneRandom;
# require composer
require '../vendor/autoload.php';
# parse the regex
$lexer = new Lexer("[a-z]{10}");
$parser = new Parser($lexer,new Scope(),new Scope());
$generator = $parser->parse(... | php | MIT | 2d93f783505194ce520a179e1771a0328511530d | 2026-01-05T05:00:26.761859Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/RajaOngkir.php | src/RajaOngkir.php | <?php
namespace Kavist\RajaOngkir;
use Kavist\RajaOngkir\Contracts\HttpClientContract;
use Kavist\RajaOngkir\Contracts\SearchDriverContract;
use Kavist\RajaOngkir\HttpClients\AbstractClient;
use Kavist\RajaOngkir\HttpClients\BasicClient;
use Kavist\RajaOngkir\Resources\Kota;
use Kavist\RajaOngkir\Resources\OngkosKiri... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Exceptions/BasicHttpClientException.php | src/Exceptions/BasicHttpClientException.php | <?php
namespace Kavist\RajaOngkir\Exceptions;
class BasicHttpClientException extends \Exception
{
//
}
| php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Exceptions/ApiResponseException.php | src/Exceptions/ApiResponseException.php | <?php
namespace Kavist\RajaOngkir\Exceptions;
class ApiResponseException extends \Exception
{
//
}
| php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Exceptions/InvalidConfigurationException.php | src/Exceptions/InvalidConfigurationException.php | <?php
namespace Kavist\RajaOngkir\Exceptions;
class InvalidConfigurationException extends \Exception
{
public static function apiKeyNotSpecified()
{
return new static('API key untuk RajaOngkir belum diatur.');
}
public static function invalidApiPackage()
{
return new static('Tipe ... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/HttpClients/BasicClient.php | src/HttpClients/BasicClient.php | <?php
namespace Kavist\RajaOngkir\HttpClients;
use EngineException;
use Kavist\RajaOngkir\Exceptions\ApiResponseException;
use Kavist\RajaOngkir\Exceptions\BasicHttpClientException;
class BasicClient extends AbstractClient
{
/** @var resource */
protected $context;
/** @var array */
protected $conte... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/HttpClients/AbstractClient.php | src/HttpClients/AbstractClient.php | <?php
namespace Kavist\RajaOngkir\HttpClients;
use Kavist\RajaOngkir\Contracts\HttpClientContract;
abstract class AbstractClient implements HttpClientContract
{
/** @var array */
protected $apiUrls = [
'starter' => 'https://api.rajaongkir.com/starter',
'basic' => 'https://api.rajaongkir.com/b... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/SearchDrivers/BasicDriver.php | src/SearchDrivers/BasicDriver.php | <?php
namespace Kavist\RajaOngkir\SearchDrivers;
class BasicDriver extends AbstractDriver
{
/**
* @param string $searchQuery
* @return array
*/
public function search(string $searchQuery): array
{
$result = [];
$q = trim(strtolower($searchQuery));
$rowColumn = array_... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/SearchDrivers/AbstractDriver.php | src/SearchDrivers/AbstractDriver.php | <?php
namespace Kavist\RajaOngkir\SearchDrivers;
use Kavist\RajaOngkir\Contracts\SearchDriverContract;
abstract class AbstractDriver implements SearchDriverContract
{
/** @var array */
protected $collection;
/** @var string */
protected $searchColumn;
/**
* @param string $searchColumn
... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Contracts/LocationResourceContract.php | src/Contracts/LocationResourceContract.php | <?php
namespace Kavist\RajaOngkir\Contracts;
interface LocationResourceContract
{
/**
* @param \Kavist\RajaOngkir\Contracts\SearchDriverContract $searchDriver
* @return self
*/
public function setSearchDriver(SearchDriverContract $searchDriver);
/**
* @return self
*/
public f... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Contracts/SearchDriverContract.php | src/Contracts/SearchDriverContract.php | <?php
namespace Kavist\RajaOngkir\Contracts;
interface SearchDriverContract
{
/**
* @param string $searchColumn
* @return self
*/
public function setSearchColumn(string $searchColumn);
/**
* @param array $collection
* @return self
*/
public function setData(array $collec... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Contracts/HttpClientContract.php | src/Contracts/HttpClientContract.php | <?php
namespace Kavist\RajaOngkir\Contracts;
interface HttpClientContract
{
/**
* @param string $apiKey
* @return self
*/
public function setApiKey(string $apiKey);
/**
* @param string $package
* @return self
*/
public function setPackage(string $package);
/**
... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Facades/RajaOngkir.php | src/Facades/RajaOngkir.php | <?php
namespace Kavist\RajaOngkir\Facades;
use Illuminate\Support\Facades\Facade;
class RajaOngkir extends Facade
{
protected static function getFacadeAccessor()
{
return 'rajaongkir';
}
}
| php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Resources/AbstractResource.php | src/Resources/AbstractResource.php | <?php
namespace Kavist\RajaOngkir\Resources;
abstract class AbstractResource
{
/** @var array */
protected $result = [];
/** @var \Kavist\RajaOngkir\HttpClients\AbstractClient */
protected $httpClient;
public function get(): array
{
return $this->result;
}
}
| php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Resources/AbstractLocation.php | src/Resources/AbstractLocation.php | <?php
namespace Kavist\RajaOngkir\Resources;
use Kavist\RajaOngkir\Contracts\LocationResourceContract;
use Kavist\RajaOngkir\Contracts\SearchDriverContract;
abstract class AbstractLocation extends AbstractResource implements LocationResourceContract
{
/** @var \Kavist\RajaOngkir\Contracts\SearchDriverContract */... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Resources/Kota.php | src/Resources/Kota.php | <?php
namespace Kavist\RajaOngkir\Resources;
use Kavist\RajaOngkir\HttpClients\AbstractClient;
class Kota extends AbstractLocation
{
/**
* @param \Kavist\RajaOngkir\HttpClients\AbstractClient $httpClient
*/
public function __construct(AbstractClient $httpClient)
{
$this->httpClient = $h... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Resources/OngkosKirim.php | src/Resources/OngkosKirim.php | <?php
namespace Kavist\RajaOngkir\Resources;
use Kavist\RajaOngkir\HttpClients\AbstractClient;
class OngkosKirim extends AbstractResource
{
/**
* @param \Kavist\RajaOngkir\HttpClients\AbstractClient $httpClient
*/
public function __construct(AbstractClient $httpClient, array $payload)
{
... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Resources/Provinsi.php | src/Resources/Provinsi.php | <?php
namespace Kavist\RajaOngkir\Resources;
use Kavist\RajaOngkir\HttpClients\AbstractClient;
class Provinsi extends AbstractLocation
{
/**
* @param \Kavist\RajaOngkir\HttpClients\AbstractClient $httpClient
*/
public function __construct(AbstractClient $httpClient)
{
$this->httpClient ... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/src/Providers/LaravelServiceProvider.php | src/Providers/LaravelServiceProvider.php | <?php
namespace Kavist\RajaOngkir\Providers;
use Illuminate\Support\ServiceProvider;
use Kavist\RajaOngkir\Exceptions\InvalidConfigurationException;
use Kavist\RajaOngkir\HttpClients\BasicClient;
use Kavist\RajaOngkir\RajaOngkir;
use Kavist\RajaOngkir\SearchDrivers\BasicDriver;
class LaravelServiceProvider extends S... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/tests/Integration/RajaOngkirServiceProviderTest.php | tests/Integration/RajaOngkirServiceProviderTest.php | <?php
namespace Kavist\RajaOngkir\Tests\Integration;
use Kavist\RajaOngkir\Exceptions\BasicHttpClientException;
use Kavist\RajaOngkir\Exceptions\InvalidConfigurationException;
use Kavist\RajaOngkir\Facades\RajaOngkir;
class RajaOngkirServiceProviderTest extends TestCase
{
/** @test */
public function it_has_... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/tests/Integration/TestCase.php | tests/Integration/TestCase.php | <?php
namespace Kavist\RajaOngkir\Tests\Integration;
use Kavist\RajaOngkir\Facades\RajaOngkir;
use Kavist\RajaOngkir\Providers\LaravelServiceProvider as RajaOngkirServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;
abstract class TestCase extends Orchestra
{
public function setUp(): void
{
... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/tests/Unit/TestCase.php | tests/Unit/TestCase.php | <?php
namespace Kavist\RajaOngkir\Tests\Unit;
use Faker\Factory as FakerFactory;
use Faker\Generator as FakerGenerator;
use Kavist\RajaOngkir\Contracts\HttpClientContract;
use Kavist\RajaOngkir\Contracts\SearchDriverContract;
use Kavist\RajaOngkir\HttpClients\BasicClient;
use Kavist\RajaOngkir\RajaOngkir;
use Kavist\... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/tests/Unit/RajaOngkirTest.php | tests/Unit/RajaOngkirTest.php | <?php
namespace Kavist\RajaOngkir\Tests\Unit;
class RajaOngkirTest extends TestCase
{
/** @var int */
private $provinceId = 5;
/** @var int */
private $cityId = 80;
/** @var string */
private $provinceSearchTerm = 'ja t';
/** @var string */
private $citySearchTerm = 'su';
/** @... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
kavist/rajaongkir | https://github.com/kavist/rajaongkir/blob/a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e/config/rajaongkir.php | config/rajaongkir.php | <?php
return [
/*
* Atur API key yang dibutuhkan untuk mengakses API Raja Ongkir.
* Dapatkan API key dengan mengakses halaman panel akun Anda.
*/
'api_key' => env('RAJAONGKIR_API_KEY', 'some32charstring'),
/*
* Atur tipe akun sesuai paket API yang Anda pilih di Raja Ongkir.
* Pili... | php | MIT | a5f33e0e8c2b7c08fb11663c7ed8138d6d923a8e | 2026-01-05T05:00:41.098726Z | false |
wenpeng/curl | https://github.com/wenpeng/curl/blob/78b84dfd3fb958a38e143cb655399ca4a34e62e9/src/Curl.php | src/Curl.php | <?php
/**
* Author: Wenpeng
* Email: imwwp@outlook.com
* Version: 1.0.0
*
* https://github.com/wenpeng/curl
* 一个轻量级的网络操作类,实现GET、POST、UPLOAD、DOWNLOAD常用操作,支持链式写法。
*/
namespace Wenpeng\Curl;
use Exception;
class Curl {
private $post;
private $retry = 0;
private $custom = array();
private $opti... | php | MIT | 78b84dfd3fb958a38e143cb655399ca4a34e62e9 | 2026-01-05T05:00:48.744155Z | false |
pktharindu/nova-permissions | https://github.com/pktharindu/nova-permissions/blob/6f4fcb125558d41304440cd3029944a0a840df19/src/NovaPermissions.php | src/NovaPermissions.php | <?php
namespace Pktharindu\NovaPermissions;
use Illuminate\Http\Request;
use Laravel\Nova\Nova;
use Laravel\Nova\Tool;
use Pktharindu\NovaPermissions\Nova\Role;
class NovaPermissions extends Tool
{
protected $roleResource = Role::class;
private $customRole = false;
/**
* Perform any tasks that nee... | php | MIT | 6f4fcb125558d41304440cd3029944a0a840df19 | 2026-01-05T05:01:00.821895Z | false |
pktharindu/nova-permissions | https://github.com/pktharindu/nova-permissions/blob/6f4fcb125558d41304440cd3029944a0a840df19/src/Role.php | src/Role.php | <?php
namespace Pktharindu\NovaPermissions;
use Illuminate\Support\Facades\Gate;
use Illuminate\Database\Eloquent\Model;
use Pktharindu\NovaPermissions\Policies\Policy;
class Role extends Model
{
protected $fillable = [
'slug',
'name',
'permissions',
];
protected $appends = [
... | php | MIT | 6f4fcb125558d41304440cd3029944a0a840df19 | 2026-01-05T05:01:00.821895Z | false |
pktharindu/nova-permissions | https://github.com/pktharindu/nova-permissions/blob/6f4fcb125558d41304440cd3029944a0a840df19/src/ToolServiceProvider.php | src/ToolServiceProvider.php | <?php
namespace Pktharindu\NovaPermissions;
use Illuminate\Support\Collection;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\ServiceProvider;
class ToolServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*/
public function boot(Filesystem $filesystem)
... | php | MIT | 6f4fcb125558d41304440cd3029944a0a840df19 | 2026-01-05T05:01:00.821895Z | false |
pktharindu/nova-permissions | https://github.com/pktharindu/nova-permissions/blob/6f4fcb125558d41304440cd3029944a0a840df19/src/Checkboxes.php | src/Checkboxes.php | <?php
namespace Pktharindu\NovaPermissions;
use Laravel\Nova\Fields\Field;
use Laravel\Nova\Http\Requests\NovaRequest;
class Checkboxes extends Field
{
/**
* The field's component.
*
* @var string
*/
public $component = 'field-checkboxes';
/**
* Specify the available options.
... | php | MIT | 6f4fcb125558d41304440cd3029944a0a840df19 | 2026-01-05T05:01:00.821895Z | false |
pktharindu/nova-permissions | https://github.com/pktharindu/nova-permissions/blob/6f4fcb125558d41304440cd3029944a0a840df19/src/Permission.php | src/Permission.php | <?php
namespace Pktharindu\NovaPermissions;
use Illuminate\Database\Eloquent\Model;
class Permission extends Model
{
protected $primaryKey = 'permission_slug';
public $incrementing = false;
protected $fillable = [
'role_id',
'permission_slug',
];
public function __construct(arr... | php | MIT | 6f4fcb125558d41304440cd3029944a0a840df19 | 2026-01-05T05:01:00.821895Z | false |
pktharindu/nova-permissions | https://github.com/pktharindu/nova-permissions/blob/6f4fcb125558d41304440cd3029944a0a840df19/src/Traits/HasRoles.php | src/Traits/HasRoles.php | <?php
namespace Pktharindu\NovaPermissions\Traits;
use Pktharindu\NovaPermissions\Role;
trait HasRoles
{
/**
* Get all Roles given to this user.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
*/
public function roles()
{
return $this->belongsToMany(Role::cla... | php | MIT | 6f4fcb125558d41304440cd3029944a0a840df19 | 2026-01-05T05:01:00.821895Z | false |
pktharindu/nova-permissions | https://github.com/pktharindu/nova-permissions/blob/6f4fcb125558d41304440cd3029944a0a840df19/src/Traits/ValidatesPermissions.php | src/Traits/ValidatesPermissions.php | <?php
namespace Pktharindu\NovaPermissions\Traits;
use Pktharindu\NovaPermissions\Permission;
trait ValidatesPermissions
{
/**
* If nobody has this permission, grant access to everyone
* This avoids you from being locked out of your application.
*
* @param string $permission
*
* @re... | php | MIT | 6f4fcb125558d41304440cd3029944a0a840df19 | 2026-01-05T05:01:00.821895Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.