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 |
|---|---|---|---|---|---|---|---|---|
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/home.blade.php | resources/views/home.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /_... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/notificacion.blade.php | resources/views/notificacion.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| ... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/misc/acerca_de.blade.php | resources/views/misc/acerca_de.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| ... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/auth/login.blade.php | resources/views/auth/login.blade.php | @extends('maestra')
@section("titulo")
Login
@endsection
@section('contenido')
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Login</div>
<div class="card-body">
<form method="PO... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/auth/register.blade.php | resources/views/auth/register.blade.php | @extends("maestra")
@section("titulo")
Registrar
@endsection
@section('contenido')
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Registrar</div>
<div class="card-body">
<form me... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/vender/vender.blade.php | resources/views/vender/vender.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /_... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/layouts/app.blade.php | resources/views/layouts/app.blade.php | <!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/usuarios/usuarios_edit.blade.php | resources/views/usuarios/usuarios_edit.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /___|_|_.... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/usuarios/usuarios_create.blade.php | resources/views/usuarios/usuarios_create.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /___|_|_.... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/usuarios/usuarios_index.blade.php | resources/views/usuarios/usuarios_index.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /___|_|_.... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/clientes/clientes_create.blade.php | resources/views/clientes/clientes_create.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /___|_|_.... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/clientes/clientes_edit.blade.php | resources/views/clientes/clientes_edit.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /___|_|_.... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/clientes/clientes_index.blade.php | resources/views/clientes/clientes_index.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /___|_|_.... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/productos/productos_index.blade.php | resources/views/productos/productos_index.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| ... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/productos/productos_create.blade.php | resources/views/productos/productos_create.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /_... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/productos/productos_edit.blade.php | resources/views/productos/productos_edit.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /_... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/ventas/ventas_show.blade.php | resources/views/ventas/ventas_show.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /_... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
parzibyte/sistema_ventas_laravel | https://github.com/parzibyte/sistema_ventas_laravel/blob/a193b0bd30a15df8a95b23fb9ec570f947758942/resources/views/ventas/ventas_index.blade.php | resources/views/ventas/ventas_index.blade.php | {{--
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /_... | php | MIT | a193b0bd30a15df8a95b23fb9ec570f947758942 | 2026-01-05T05:01:29.026818Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/configure.php | configure.php | #!/usr/bin/env php
<?php
const COMPOSER_JSON_FILE = __DIR__ . '/composer.json';
function ask(string $question, string $default = ''): string {
$answer = readline($question . ($default ? " ({$default})" : null) . ': ');
if (! $answer) {
return $default;
}
return $answer;
}
function confirm(s... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/de/messages.php | lang/de/messages.php | <?php
return [
'title' => 'Cookie-Einwilligung',
'description' => 'Wir verwenden Cookies, um unsere Website und unseren Service zu optimieren. Sie können auswählen, welchen Kategorien Sie zustimmen.',
'please_visit_1' => 'Für detailliertere Informationen über Cookies besuchen Sie bitte unsere',
'cookie... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/sk/messages.php | lang/sk/messages.php | <?php
return [
'title' => 'Súhlas s cookies',
'description' => 'Používame cookies na optimalizáciu našej webovej stránky a našich služieb. Môžete si vybrať, s ktorými kategóriami súhlasíte.',
'please_visit_1' => 'Pre podrobnejšie informácie o cookies, prosím, navštívte našu',
'cookie_policy_page' => 's... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/fi/messages.php | lang/fi/messages.php | <?php
return [
'title' => 'Evästeiden suostumus',
'description' => 'Käytämme evästeitä optimoidaksemme verkkosivustomme ja palvelumme. Voit valita, mihin kategorioihin suostut.',
'please_visit_1' => 'Lisätietoja evästeistä saat käymällä',
'cookie_policy_page' => 'evästekäytäntösivullamme',
'accept_... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/se/messages.php | lang/se/messages.php | <?php
return [
'title' => 'Cookie-samtycke',
'description' => 'Vi använder cookies för att optimera vår webbplats och vår tjänst. Du kan välja vilka kategorier du ger ditt samtycke till.',
'please_visit_1' => 'För mer detaljerad information om cookies, besök vår',
'cookie_policy_page' => 'cookiepolicy-... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/bg/messages.php | lang/bg/messages.php | <?php
return [
'title' => 'Съгласие за бисквитки',
'description' => 'Използваме бисквитки, за да оптимизираме нашия уебсайт и услуга. Можете да изберете кои категории да приемете.',
'please_visit_1' => 'За по-подробна информация относно бисквитките, моля посетете нашата',
'cookie_policy_page' => 'стран... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/cs/messages.php | lang/cs/messages.php | <?php
return [
'title' => 'Souhlas s cookies',
'description' => 'Používáme cookies, abychom optimalizovali naše webové stránky a služby. Můžete si vybrat, které kategorie chcete přijmout.',
'please_visit_1' => 'Pro podrobnější informace o cookies navštivte naši',
'cookie_policy_page' => 'stránku s poli... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/en/messages.php | lang/en/messages.php | <?php
return [
'title' => 'We value your privacy',
'description' => 'We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. You can choose which categories you consent to.',
'please_visit_1... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/mt/messages.php | lang/mt/messages.php | <?php
return [
'title' => 'Slapukų sutikimas',
'description' => 'Mes naudojame slapukus, kad optimizuotume savo svetainę ir paslaugą. Galite pasirinkti, kurioms kategorijoms sutinkate.',
'please_visit_1' => 'Daugiau informacijos apie slapukus rasite mūsų',
'cookie_policy_page' => 'slapukų politikos pus... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/pl/messages.php | lang/pl/messages.php | <?php
return [
'title' => 'Zgoda na pliki cookie',
'description' => 'Używamy plików cookie, aby zoptymalizować naszą stronę internetową i nasze usługi. Możesz wybrać, na które kategorie wyrażasz zgodę.',
'please_visit_1' => 'Aby uzyskać bardziej szczegółowe informacje na temat plików cookie, odwiedź naszą'... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/nl/messages.php | lang/nl/messages.php | <?php
return [
'title' => 'Cookies Toestemming',
'description' => 'We gebruiken cookies om onze website en onze service te optimaliseren. U kunt kiezen voor welke categorieën u toestemming geeft.',
'please_visit_1' => 'Voor meer gedetailleerde informatie over cookies, bezoek onze',
'cookie_policy_page'... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/fr/messages.php | lang/fr/messages.php | <?php
return [
'title' => 'Consentement aux cookies',
'description' => 'Nous utilisons des cookies pour optimiser notre site web et notre service. Vous pouvez choisir les catégories auxquelles vous consentez.',
'please_visit_1' => 'Pour plus d\'informations sur les cookies, veuillez visiter notre',
'co... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/it/messages.php | lang/it/messages.php | <?php
return [
'title' => 'Consenso sui Cookie',
'description' => 'Utilizziamo i cookie per ottimizzare il nostro sito web e il nostro servizio. Puoi scegliere a quali categorie dare il tuo consenso.',
'please_visit_1' => 'Per informazioni più dettagliate sui cookie, visita la nostra',
'cookie_policy_p... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/lt/messages.php | lang/lt/messages.php | <?php
return [
'title' => 'Slapukų sutikimas',
'description' => 'Mes naudojame slapukus, kad optimizuotume savo svetainę ir paslaugą. Galite pasirinkti, kurioms kategorijoms sutinkate.',
'please_visit_1' => 'Daugiau informacijos apie slapukus rasite mūsų',
'cookie_policy_page' => 'slapukų politikos pus... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/hu/messages.php | lang/hu/messages.php | <?php
return [
'title' => 'Cookie-k hozzájárulás',
'description' => 'A cookie-kat használjuk weboldalunk és szolgáltatásunk optimalizálására. Kiválaszthatja, hogy mely kategóriákhoz járul hozzá.',
'please_visit_1' => 'A cookie-król részletesebb információkért látogasson el a',
'cookie_policy_page' => '... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/el/messages.php | lang/el/messages.php | <?php
return [
'title' => 'Εκτιμούμε την ιδιωτικότητά σας',
'description' => 'Χρησιμοποιούμε cookies για να βελτιώσουμε την εμπειρία περιήγησής σας, να προβάλλουμε εξατομικευμένες διαφημίσεις ή περιεχόμενο και να αναλύουμε την επισκεψιμότητά μας. Κάνοντας κλικ στο "Αποδοχή όλων", συναινείτε στη χρήση των cooki... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/hr/messages.php | lang/hr/messages.php | <?php
return [
'title' => 'Pristanak za kolačiće',
'description' => 'Koristimo kolačiće kako bismo optimizirali našu web stranicu i uslugu. Možete odabrati koje kategorije prihvaćate.',
'please_visit_1' => 'Za detaljnije informacije o kolačićima, posjetite našu',
'cookie_policy_page' => 'stranicu s pol... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/ro/messages.php | lang/ro/messages.php | <?php
return [
'title' => 'Consimțământ pentru cookie-uri',
'description' => 'Folosim cookie-uri pentru a optimiza site-ul nostru și serviciul nostru. Puteți alege categoriile la care consimțiți.',
'please_visit_1' => 'Pentru informații mai detaliate despre cookie-uri, vă rugăm să vizitați',
'cookie_po... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/ga/messages.php | lang/ga/messages.php | <?php
return [
'title' => 'Toiliú Fianáin',
'description' => 'Bainimid úsáid as fianáin chun ár suíomh gréasáin agus ár seirbhís a bharrfheabhsú. Is féidir leat a roghnú cé na catagóirí a thoilíonn tú leo.',
'please_visit_1' => 'Chun tuilleadh faisnéise mionsonraithe faoi fhianáin, tabhair cuairt ar ár',
... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/es/messages.php | lang/es/messages.php | <?php
return [
'title' => 'Valoramos su privacidad',
'description' => 'Utilizamos cookies para optimizar nuestro sitio web y nuestro servicio. Puede elegir a qué categorías da su consentimiento.',
'please_visit_1' => 'Para obtener información más detallada sobre las cookies, visite nuestra',
'cookie_po... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/pt-br/messages.php | lang/pt-br/messages.php | <?php
return [
'title' => 'Consentimento de Cookies',
'description' => 'Utilizamos cookies para otimizar nosso site e nosso serviço. Você pode escolher a quais categorias dá seu consentimento.',
'please_visit_1' => 'Para informações mais detalhadas sobre cookies, visite nossa',
'cookie_policy_page' => ... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/lv/messages.php | lang/lv/messages.php | <?php
return [
'title' => 'Sīkdatņu piekrišana',
'description' => 'Mēs izmantojam sīkdatnes, lai optimizētu mūsu vietni un pakalpojumu. Jūs varat izvēlēties, kurām kategorijām piekrītat.',
'please_visit_1' => 'Lai iegūtu sīkāku informāciju par sīkdatnēm, lūdzu, apmeklējiet mūsu',
'cookie_policy_page' =... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/da/messages.php | lang/da/messages.php | <?php
return [
'title' => 'Samtykke til cookies',
'description' => 'Vi bruger cookies til at optimere vores hjemmeside og service. Du kan vælge, hvilke kategorier du vil acceptere.',
'please_visit_1' => 'For mere detaljerede oplysninger om cookies, besøg venligst vores',
'cookie_policy_page' => 'cookie... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/sl/messages.php | lang/sl/messages.php | <?php
return [
'title' => 'Soglasje za piškotke',
'description' => 'Piškotke uporabljamo za optimizacijo naše spletne strani in naših storitev. Izberete lahko, s katerimi kategorijami se strinjate.',
'please_visit_1' => 'Za podrobnejše informacije o piškotkih obiščite našo',
'cookie_policy_page' => 'st... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/lang/et/messages.php | lang/et/messages.php | <?php
return [
'title' => 'Küpsiste nõusolek',
'description' => 'Kasutame küpsiseid, et optimeerida meie veebisaiti ja teenust. Saate valida, milliste kategooriatega nõustute.',
'please_visit_1' => 'Küpsiste kohta üksikasjalikuma teabe saamiseks külastage meie',
'cookie_policy_page' => 'küpsiste poliit... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/src/LaravelCookiesConsentServiceProvider.php | src/LaravelCookiesConsentServiceProvider.php | <?php
namespace SciFY\LaravelCookiesConsent;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
use Illuminate\Translation\TranslationServiceProvider;
use SciFY\LaravelCookiesConsent\View\Components\LaravelCookiesConsentPage;
use SciFY\LaravelCookiesConsent\View\Components\LaravelCookiesCon... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/src/LaravelCookiesConsent.php | src/LaravelCookiesConsent.php | <?php
namespace SciFY\LaravelCookiesConsent;
class LaravelCookiesConsent {}
| php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/src/Http/Controllers/CookiesController.php | src/Http/Controllers/CookiesController.php | <?php
namespace SciFY\LaravelCookiesConsent\Http\Controllers;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\Cookie;
/**
* Manages the cookies consent submission
*/
class CookiesController extends Controller {
private static $MIN... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/src/Facades/LaravelCookiesConsent.php | src/Facades/LaravelCookiesConsent.php | <?php
namespace SciFY\LaravelCookiesConsent\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @see \SciFY\LaravelCookiesConsent\LaravelCookiesConsent
*/
class LaravelCookiesConsent extends Facade {
protected static function getFacadeAccessor() {
return \SciFY\LaravelCookiesConsent\LaravelCookiesCon... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/src/View/Components/LaravelCookiesConsentScripts.php | src/View/Components/LaravelCookiesConsentScripts.php | <?php
namespace SciFY\LaravelCookiesConsent\View\Components;
use Illuminate\View\Component;
class LaravelCookiesConsentScripts extends Component {
public function render() {
return view('cookies_consent::components.laravel-cookie-guard-scripts');
}
}
| php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/src/View/Components/LaravelCookiesConsentPage.php | src/View/Components/LaravelCookiesConsentPage.php | <?php
namespace SciFY\LaravelCookiesConsent\View\Components;
use Illuminate\View\Component;
class LaravelCookiesConsentPage extends Component {
public function render() {
return view('cookies_consent::components.laravel-cookie-guard-page');
}
}
| php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/src/View/Components/LaravelCookiesConsent.php | src/View/Components/LaravelCookiesConsent.php | <?php
namespace SciFY\LaravelCookiesConsent\View\Components;
use Illuminate\View\Component;
class LaravelCookiesConsent extends Component {
public $heading;
public $accordionHeading;
public function __construct($heading = 'h2', $accordionHeading = 'h5') {
$this->heading = $heading;
$thi... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/tests/Pest.php | tests/Pest.php | <?php
use SciFY\LaravelCookiesConsent\Tests\TestCase;
uses(TestCase::class)->in(__DIR__);
| php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/tests/TestCase.php | tests/TestCase.php | <?php
namespace SciFY\LaravelCookiesConsent\Tests;
use Orchestra\Testbench\TestCase as Orchestra;
use SciFY\LaravelCookiesConsent\LaravelCookiesConsentServiceProvider;
class TestCase extends Orchestra {
protected function getPackageProviders($app): array {
return [
LaravelCookiesConsentServic... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/tests/TranslationTest.php | tests/TranslationTest.php | <?php
it('provides translations', function () {
$this->assertTranslationExists('cookies_consent::messages.title');
$this->assertTranslationExists('cookies_consent::messages.description');
});
| php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/routes/web.php | routes/web.php | <?php
use Illuminate\Support\Facades\Route;
use SciFY\LaravelCookiesConsent\Http\Controllers\CookiesController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where the routes of the pa... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/config/cookies_consent.php | config/cookies_consent.php | <?php
return [
/**
* This prefix will be applied when setting and getting all cookies.
* If not set, the cookies will not be prefixed.
* If set, a good strategy is to also add a trailing underscore "_", that will be added between the field value, and each cookie.
* For example, if `cookie_prefi... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/resources/views/pages/cookie-policy-default-page.blade.php | resources/views/pages/cookie-policy-default-page.blade.php | <!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ __('cookies_consent::messages.cookie_policy_title') }}</title>
@include('cookies_consent::components.laravel-cooki... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/resources/views/components/_cookie-categories.blade.php | resources/views/components/_cookie-categories.blade.php | @php
$alwaysOpen = $alwaysOpen ?? false;
$cookieCategories = config('cookies_consent.cookies');
$categoriesCollapsedByDefault = config('cookies_consent.categories_collapsed_by_default', false);
$accordionHeading = $accordionHeading ?? 'h5';
@endphp
<meta name="csrf-token" content="{{ csrf_token() }}">
<... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/resources/views/components/cookie-icon.blade.php | resources/views/components/cookie-icon.blade.php | <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
y="0px"
viewBox="0 0 306.4 306.4" style="enable-background:new 0 0 306.4 306.4;" xml:space="preserve">
<path d="M305.8,140.3c-25.6-0.3-46.3-21.2-46.3-46.9c0-6.3,1.2-12.3,3.5-17.7c-6.1,2.1-12.7... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/resources/views/components/laravel-cookie-guard.blade.php | resources/views/components/laravel-cookie-guard.blade.php |
<div id="scify-cookies-consent-wrapper">
<div id="scify-cookies-consent"
data-ajax-url="{{ url('/guard-settings/save') }}"
data-show-floating-button="{{ config('cookies_consent.display_floating_button') }}"
data-hide-floating-button-on-mobile="{{ config('cookies_consent.hide_floating_but... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/resources/views/components/laravel-cookie-guard-scripts.blade.php | resources/views/components/laravel-cookie-guard-scripts.blade.php | <link rel="stylesheet" href="{{ asset('vendor/scify/laravel-cookie-guard/_variables.css') }}">
<link rel="stylesheet" href="{{ asset('vendor/scify/laravel-cookie-guard/styles.css') }}">
<script>
window.cookies_consent_translations = {
read_more: "{{ __('cookies_consent::messages.read_more') }}",
rea... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
scify/laravel-cookie-guard | https://github.com/scify/laravel-cookie-guard/blob/9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6/resources/views/components/laravel-cookie-guard-page.blade.php | resources/views/components/laravel-cookie-guard-page.blade.php | <div id="scify-cookies-consent-wrapper" class="scify-cookies-consent-wrapper-page">
<div id="scify-cookies-consent"
class="scify-cookies-consent-banner cookies-policy-wrapper"
aria-labelledby="cookie-consent-title" aria-describedby="cookie-consent-description"
data-ajax-url="{{ url('/guar... | php | Apache-2.0 | 9a7b4ecccc0fa5743138ffc71dc0afc2f9a2f3c6 | 2026-01-05T05:01:37.859756Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/loader.php | loader.php | <?php
define('APP_TIME_START', microtime(true));
define('IPHP_PATH', dirname(__FILE__));
include_once(dirname(__FILE__) . '/functions.php');
mb_internal_encoding("UTF-8");
$AUTOLOAD_PATH = array(
dirname(__FILE__) . '/framework',
APP_PATH . '/models',
APP_PATH . '/classes',
);
spl_autoload_register(function ($cl... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/functions.php | functions.php | <?php
function base_path(){
static $path = false;
if($path === false){
$uri = $_SERVER['REQUEST_URI'];
if(($pos = strpos($uri, '?')) !== false){
$uri = substr($uri, 0, $pos);
}
$uri = secure_path($uri);
/*
if(preg_match('/^(.*)\/(\d+)$/', $uri, $ms)){
$uri = $ms[1] . '/view';
$_GET['id'] = $ms... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app.php | tools/new_app.php | <?php
define('TEMPLATE_DIR', dirname(__FILE__) . '/new_app_files');
$APP = array(
);
read_conf('NAME');
if(!preg_match('/^[a-z0-9-\.]+$/i', $APP['NAME'])){
echo "Error: Invalid APP.NAME\n";
die();
}
read_conf('DOMAIN');
read_conf('PHP_FPM.PORT');
read_conf('PHP_FPM.USER', 'www-data');
read_conf('PHP_FPM.GROUP', 'ww... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/assets_md5.php | tools/assets_md5.php | <?php
/*
生成当前工作目录下的js、css文件md5映射表
默认是当前目录下的js、css、static文件夹,可传入参数更改
在工作目录下调用 php /data/lib/iphp/tools/resourece_md5.php dir1 dir2...
md5.json生成在当前目录下
*/
$cwd = getcwd();
$md5_file_name = 'assets.json';
$static_dir = array('js', 'css', 'static', 'imgs');
$extnames = array('js', 'css', 'jpg', 'png', 'gif');
if ($ar... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/index.php | tools/new_app_files/index.php | <?php
error_reporting(E_ALL & ~E_NOTICE);
define('APP_PATH', dirname(__FILE__) . '/app');
require_once('/data/lib/iphp/loader.php');
App::run();
| php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/controllers/index.php | tools/new_app_files/app/controllers/index.php | <?php
class IndexController extends AppController
{
function init($ctx){
parent::init($ctx);
// your codes here...
}
function index($ctx){
// ...
}
}
| php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/console/test.php | tools/new_app_files/app/console/test.php | <?php
error_reporting(E_ALL & ~E_NOTICE);
define('APP_PATH', dirname(__FILE__) . '/..');
require_once('/data/lib/iphp/loader.php');
Logger::debug('running...');
| php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/models/Post.php | tools/new_app_files/app/models/Post.php | <?php
class Post extends Model
{
static $table_name = 'posts';
}
| php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/views/layout.tpl.php | tools/new_app_files/app/views/layout.tpl.php | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>iphp</title>
<meta name="description" content="iphp framework" />
<meta name="keywords" content="iphp framework" />
<link href="<?= _url('/css/style.css') ?>" rel="stylesheet" />
</head>
<body>
<div class="container">
<?php _view(); ?>
<... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/views/index.tpl.php | tools/new_app_files/app/views/index.tpl.php | <h1>Hello World!</h1>
<p>Great!</p>
| php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/views/_error/ajax.tpl.php | tools/new_app_files/app/views/_error/ajax.tpl.php | <?php
$msg = htmlspecialchars($_e->getMessage());
if(strpos($msg, 'in SQL:') !== false || strpos($msg, 'db error') !== false || get_class($_e) == 'SSDBException'){
Logger::error($_e);
$msg = 'db error';
}
iphp_Response::ajax($_e->getCode(), $msg);
| php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/views/_error/404.tpl.php | tools/new_app_files/app/views/_error/404.tpl.php | <h1 style="text-align: center">404 - Not Found!</h1>
<p style="margin-top: 20px;
padding-top: 10px;
border-top: 1px solid #ccc;
text-align: center;">iphp</p>
| php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/views/_error/default.tpl.php | tools/new_app_files/app/views/_error/default.tpl.php | <!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title><?= htmlspecialchars($_e->getMessage()) ?></title>
<style>body{font-size: 14px; font-family: monospace;}</style>
</head>
<body>
<h1 style="text-align: center;">
<?php
$msg = htmlspecialchars($_e->getMessage());
if(strpos($msg, 'in SQL:') !== false || ... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/config/config_dev.php | tools/new_app_files/app/config/config_dev.php | <?php
define('ENV', 'dev');
return array(
'env' => ENV,
'logger' => array(
'level' => 'debug', // none/off|(LEVEL)
'dump' => 'file', // none|html|file, 可用'|'组合
'files' => array( // ALL|(LEVEL)
'ALL' => "/data/applogs/{$APP['NAME']}/" . date('Y-m') . '.log',
),
),
'db' => array(
'host' => 'localhost',
... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/config/config_online.php | tools/new_app_files/app/config/config_online.php | <?php
define('ENV', 'online');
return array(
'env' => ENV,
'logger' => array(
'level' => 'debug', // none/off|(LEVEL)
'dump' => 'file', // none|html|file, 可用'|'组合
'files' => array( // ALL|(LEVEL)
'ALL' => "/data/applogs/{$APP['NAME']}/" . date('Y-m-d') . '.log',
),
),
'db' => array(
'host' => 'localho... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/tools/new_app_files/app/classes/AppController.php | tools/new_app_files/app/classes/AppController.php | <?php
// Normally, all controllers of this application should inherit
// from AppController, not directly from Controller.
class AppController extends Controller
{
function init($ctx){
parent::init($ctx);
// your codes here...
}
}
| php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/iphp_Response.php | framework/iphp_Response.php | <?php
class iphp_Response
{
// view 的渲染结果先保存在此变量中
private static $view_content = '';
static function output(){
echo self::$view_content;
}
static function ajax($code, $msg, $data=null){
if($msg === null){
$msg = 'error';
}
$resp = array(
'code' => $code,
'message' => $msg,
'data' => $data,
... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/Http.php | framework/Http.php | <?php
class Http
{
static $error = '';
static $connect_timeout = 5;
static $request_timeout = 25;
static function post($url, $data=array()){
self::$error = '';
if(is_array($data)){
$data = http_build_query($data);
}
$ch = curl_init($url) ;
curl_setopt($ch, CURLOPT_POST, 1) ;
curl_setopt($ch, CURLOPT... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/Db.php | framework/Db.php | <?php
/*
Use for multiple-dbs:
1. config
'db_my' => array()
2. php
Db::use_db('my');
*/
/*
Db 类: 实现多个数据库的选择, 并以静态方法形式调用
iphp_DbInstance 类: 对应单个数据库, 同时实现读写分离
Mysql_i 类: 数据库连接(可建立只读连接), 所有对数据库的操作均通过此类
*/
// Db 类是为了方便使用 iphp_DbInstance, iphp_DbInstance 支持的所有实例方法,
// 均可作为本类的静态方法调用.
class Db{
private static $app_config... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/Text.php | framework/Text.php | <?php
class Text
{
static function json_decode($str, $assoc=false){
return json_decode($str, $assoc);
}
static function json_encode($input, $opt=0){
if(defined('JSON_UNESCAPED_UNICODE')){
return json_encode($input, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | $opt);
}else{
# 某些系统不支持转义过的中文, 所以需要自己拼... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/Controller.php | framework/Controller.php | <?php
class Controller
{
public $module = '';
public $action = '';
public $layout = '';
public $is_ajax = false;
public $view_path = array('views');
// 默认不设置, 根据 App::include_paths() 的返回值决定要显示的 view
public $_render_view = '';
function init($ctx){
}
function index($ctx){
}
function _view($m){
_redirec... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/iphp_DbInstance.php | framework/iphp_DbInstance.php | <?php
// 实现数据库的读写分离
// Mysql_i 所支持的全部实例方法, 均可作为本类的实例方法调用.
class iphp_DbInstance
{
private $config = array();
private $master = null;
private $slave = null;
function __construct($config=array()){
$this->config = $config;
}
function load_balance($yesno=true){
$this->load_balance = $yesno;
$this->readonly =... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/Mysql.php | framework/Mysql.php | <?php
/**
* MySQL 数据库操作工具类, 方便数据库操作.
* 示例见底部注释.
* @author: wuzuyang@gmail.com
*/
class Mysql{
var $conn;
var $query_list = array();
public $query_count = 0;
var $readonly = false;
public function __construct($c){
if(!isset($c['port'])){
$c['port'] = '3306';
}
$server = $c['host'] . ':' . $c['port'];
... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/AjaxController.php | framework/AjaxController.php | <?php
class AjaxController extends Controller
{
public $is_ajax = true;
public $layout = false;
public $jp = '';
function init($ctx){
parent::init($ctx);
$jp = trim($_GET['callback']);
if(preg_match('/^[a-z0-9_]+$/i', $jp)){
$this->jp = $jp;
}
}
}
| php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/iphp_Context.php | framework/iphp_Context.php | <?php
class iphp_Context
{
private $lazy_regs = array();
function as_array(){
$arr = get_object_vars($this);
unset($arr['lazy_regs']);
return $arr;
}
function __get($name){
if(!property_exists($this, $name)){
$this->$name = null;
if(isset($this->lazy_regs[$name])){
$callback = $this->lazy_regs[... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/App.php | framework/App.php | <?php
class App{
static $env;
static $context;
static $controller;
private static $finish = false;
static $config = array();
static $version = '';
static $asset_md5 = array();
static $base_url = null;
static function host(){
$host = $_SERVER['HTTP_HOST'];
$port = $_SERVER['SERVER_PORT'];
if(strpos($host... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/Html.php | framework/Html.php | <?php
class Html{
private static $config = array();
function __construct(){
throw new Exception("Static class");
}
static function host(){
$host = $_SERVER['HTTP_HOST'];
$port = $_SERVER['SERVER_PORT'];
if(strpos($host, ':') === false && $port != 80 && $port != 443){
$host .= ":{$port}";
}
return ... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/Form.php | framework/Form.php | <?php
class Form{
private $m;
private $html = '';
function __construct($m, $action='', $method='POST'){
$this->m = $m;
$this->action = $action;
$this->method = $method;
$this->html .= <<<HTML
<script type="text/javascript">
$(document).ready(function(){
$('input.datetimepicker').datetimepicker({
time... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/MasterWorker.php | framework/MasterWorker.php | <?php
/// @require Logger
include_once(dirname(__FILE__) . '/mw/iphp_MW_Link.php');
include_once(dirname(__FILE__) . '/mw/iphp_MW_Master.php');
include_once(dirname(__FILE__) . '/mw/iphp_MW_Worker.php');
include_once(dirname(__FILE__) . '/mw/iphp_MW_Manager.php');
abstract class MasterWorker
{
// 该方法负责生产任务, 然后调用 add... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/iphp_Router.php | framework/iphp_Router.php | <?php
class iphp_Router
{
static function route(){
foreach(App::include_paths() as $path){
$base = $path['base'];
$action = $path['action'];
$controller = self::load_controller($base, $action);
if($controller){
if(strpos($base, '/index') === strlen($base) - 6){
$base = substr($base, 0, strlen($b... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/Logger.php | framework/Logger.php | <?php
class Logger{
private static $level = 0;
private static $logs = array();
private static $level_map = array(
1 => 'FATAL',
2 => 'ERROR',
3 => 'WARN',
4 => 'INFO',
5 => 'DEBUG',
6 => 'TRACE',
7 => 'ALL',
);
private static $max_level = 7;
private static $dump = 0;
private static $config;
privat... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/Model.php | framework/Model.php | <?php
class Model
{
static $table_name = false;
static function db(){
return Db::instance();
}
static function table(){
if(static::$table_name === false){
$table_name = get_called_class();
$table_name{0} = strtolower($table_name{0});
static::$table_name = $table_name;
}
return static::$table_nam... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/Mysql_i.php | framework/Mysql_i.php | <?php
/**
* MySQL 数据库操作工具类, 方便数据库操作.
* 示例见底部注释.
* @author: wuzuyang@gmail.com
*/
class Mysql_i{
var $conn;
var $query_list = array();
public $query_count = 0;
var $readonly = false;
private $dbname = '';
private $tranx_stime = 0;
private $tranx_queries = 0;
public function __construct($c){
if(!isset($c['... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/mw/iphp_MW_Manager.php | framework/mw/iphp_MW_Manager.php | <?php
class iphp_MW_Manager
{
public $link = null;
private $name = '';
private $master_link = null;
private $master_wait = false;
private $master_finished = false;
private $workers = array();
private $job_id = 1;
private $jobs = array();
private $quit = false;
private $job_pending = 0;
function __construct... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/mw/iphp_MW_Link.php | framework/mw/iphp_MW_Link.php | <?php
class iphp_MW_Link
{
public $sock = null;
public $ip = '127.0.0.1';
public $port = -1;
function listen($ip, $port){
$sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_bind($sock, $ip, $port);
socket_listen($sock);
socket_getsockname($sock, $addr, $port);
$this->sock = $sock;
$this->ip ... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/mw/iphp_MW_Worker.php | framework/mw/iphp_MW_Worker.php | <?php
class iphp_MW_Worker
{
public $id = '';
public $link = null;
private $mw = null;
private $name = '';
function __construct($mw){
global $argv;
$this->name = basename($argv[0]);
$this->mw = $mw;
}
function init($ip, $port){
$this->link = new iphp_MW_Link();
if(!$this->link->connect($ip, $port)){... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/mw/iphp_MW_Master.php | framework/mw/iphp_MW_Master.php | <?php
class iphp_MW_Master
{
public $link = null;
private $mw = null;
private $name = '';
function __construct($mw){
global $argv;
$this->name = basename($argv[0]);
$this->mw = $mw;
}
function init($ip, $port){
$this->link = new iphp_MW_Link();
$this->link->connect($ip, $port);
$this->link->send('r... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/framework/mw/test.php | framework/mw/test.php | <?php
include_once(dirname(__FILE__) . '/../Logger.php');
Logger::init();
include_once(dirname(__FILE__) . '/../MasterWorker.php');
class MyMasterWorker extends MasterWorker
{
function master(){
for($i=0; $i<30; $i++){
#Logger::debug("add job $i");
$this->add_job($i);
#$this->wait(); // 如果每添加一个任务便 wait 的话... | php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
ideawu/iphp | https://github.com/ideawu/iphp/blob/47d322cd119dcbe5e5f246146c1bfb6d440fe51b/demo/index.php | demo/index.php | <?php
error_reporting(E_ALL & ~E_NOTICE);
define('APP_PATH', dirname(__FILE__) . '/app');
require_once('/data/lib/iphp/loader.php');
App::run();
| php | BSD-3-Clause | 47d322cd119dcbe5e5f246146c1bfb6d440fe51b | 2026-01-05T05:02:00.171683Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.