Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TI as a Laravel package #988

Draft
wants to merge 28 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5f57b18
wip
sampoyigi Jun 10, 2022
eabbe1f
wip
sampoyigi Jun 11, 2022
3a03c62
Remove demo extension and theme
sampoyigi Nov 22, 2022
2241338
wip
sampoyigi Nov 23, 2022
5274519
Merge branch tastyigniter/tastyigniter/3.x
sampoyigi Nov 23, 2022
775f6ac
wip
sampoyigi Nov 26, 2022
c3f7f81
Bring back extensions and themes folder
sampoyigi Nov 27, 2022
1898e64
Upgrade to laravel 10
sampoyigi Feb 19, 2023
6c3b9d8
Fix broken link in README
sampoyigi Feb 20, 2023
ac12db3
Always include notifications migration file
sampoyigi Mar 5, 2023
13db78a
Set composer minimum-stability to stable
sampoyigi Mar 17, 2023
c4269ce
Change media storage configuration, rename system.log to laravel.log …
sampoyigi May 6, 2023
207a5b8
Delete unnecessary files and update robots.txt to disallow access to …
sampoyigi Jun 12, 2023
6a80a6b
Update composer.json to change Discord URL and update minimum-stabili…
sampoyigi Dec 5, 2023
f7b9dc2
Remove igniter:package-discover command from post-autoload-dump scrip…
sampoyigi Jan 2, 2024
2950c67
Avoid static method when throwing exception for better trace log
sampoyigi Jan 18, 2024
d6c0cee
Add followsymlinks options and rewritebase path
sampoyigi Apr 12, 2024
ccffc14
Use wildcard version for TI packages
sampoyigi Apr 24, 2024
ba802d0
Add version constraints to ti composer packages
sampoyigi May 9, 2024
742422c
Restructure to match laravel v11 app structure
sampoyigi Jun 8, 2024
9b894bd
Bring back DB_PREFIX env
sampoyigi Jun 10, 2024
10e1058
Disable DB strict mode
sampoyigi Jul 1, 2024
96e2303
Set default cache store and session driver to file
sampoyigi Jul 11, 2024
318e360
Update composer deps and ignored files
sampoyigi Jul 11, 2024
fb35857
Add sail docker compose file
sampoyigi Aug 3, 2024
cd806ff
v4-beta release prepping
sampoyigi Aug 10, 2024
5889250
Update README
sampoyigi Aug 11, 2024
f02d2be
Refactor extension & theme path loading methods for maintainability.
sampoyigi Nov 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 47 additions & 8 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
# APP CONFIG (DO NOT REMOVE!)
APP_NAME=
APP_NAME=TastyIgniter
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=
APP_TIMEZONE=UTC
APP_URL=http://localhost

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

APP_MAINTENANCE_DRIVER=file
APP_MAINTENANCE_STORE=database

IGNITER_CARTE_KEY=
IGNITER_LOCATION_MODE=multiple

# DATABASE CONFIG (DO NOT REMOVE!)
BCRYPT_ROUNDS=12

LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=
DB_PORT=
Expand All @@ -17,12 +30,22 @@ DB_USERNAME=
DB_PASSWORD=
DB_PREFIX=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database

CACHE_STORE=file
CACHE_PREFIX=

MEMCACHED_HOST=127.0.0.1

REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
Expand All @@ -33,5 +56,21 @@ MAIL_PORT=null
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=[email protected]
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

VITE_APP_NAME="${APP_NAME}"
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
.env.testing
.phpunit.result.cache
phpunit.dusk.xml
auth.json

# Ignore all vendor files included by composer and the lock file
/vendor
composer.lock
node_modules

/public/vendor
/public/storage
/lang
/storage/clockwork
37 changes: 28 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<p align="center"><a href="https://tastyigniter" target="_blank"><img src="https://tastyigniter.com/assets/ui/images/logos/logo-padded.png" width="400"></a></p>
<p align="center"><a href="https://tastyigniter" target="_blank"><img src="https://tastyigniter.com//images/logos/logo-padded.png" width="400"></a></p>

<p align="center">
<a href="https://packagist.org/packages/tastyigniter/TastyIgniter"><img src="https://img.shields.io/packagist/v/tastyigniter/TastyIgniter.svg?label=Stable&style=flat-square" alt="Stable"></a>
<a href="https://packagist.org/packages/tastyigniter/TastyIgniter"><img src="https://poser.pugx.org/tastyigniter/flame/downloads" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/tastyigniter/TastyIgniter"><img src="https://img.shields.io/github/workflow/status/tastyigniter/TastyIgniter/Tests?label=Tests" alt="GitHub Workflow Status"></a>
<a href="https://packagist.org/packages/tastyigniter/TastyIgniter"><img src="https://img.shields.io/github/actions/workflow/status/tastyigniter/TastyIgniter/tests.yml?branch=master&label=Tests" alt="GitHub Workflow Status"></a>
<a href="https://github.styleci.io/repos/16455664"><img src="https://github.styleci.io/repos/7548986/shield?style=flat" alt="Build Status"></a>
<a href="https://github.com/tastyigniter/TastyIgniter/blob/master/LICENSE.txt"><img src="https://img.shields.io/github/license/tastyigniter/TastyIgniter.svg?label=License&style=flat-square" alt="License"></a>
<a href="https://crowdin.com/project/tastyigniter"><img src="https://badges.crowdin.net/tastyigniter/localized.svg" alt="Crowdin"></a>
Expand All @@ -13,58 +13,77 @@
[TastyIgniter](https://tastyigniter.com/) provides a professional and reliable platform for restaurants wanting to offer
online food ordering and table reservation to their customers.

![screenshot](https://tastyigniter.com/assets/ui/images/mockups/Menus-v2.png)
![screenshot](https://tastyigniter.com/images/mockups/Menus-v2.png)

### Documentation

The best place to learn TastyIgniter is by reading the [documentation](https://tastyigniter.com/docs)

### Installation

Please read the [Installation Guide](https://tastyigniter.com/docs/installation) for more information.

### Questions
For questions and support please use the [Community Forum](https://forum.tastyigniter.com) or [Join us on Discord](https://tastyigniter.com/discord).

For questions and support please use the [Community Forum](https://forum.tastyigniter.com)
or [Join us on Discord](https://tastyigniter.com/discord).

### Issues

Please report bugs using the [GitHub issue tracker](https://github.com/tastyigniter/TastyIgniter/issues)

### Stay in touch

- [Follow us on Twitter](https://twitter.com/tastyigniter/) for announcements and updates.
- [Blog](https://tastyigniter.com/blog) for tips and latest developments in the food industry.

## Contributing
We would love your help building TastyIgniter! Please read the [Contributing Guidelines](.github/CONTRIBUTING.md) to learn how you can help.

We would love your help building TastyIgniter! Please read the [Contributing Guidelines](.github/CONTRIBUTING.md) to
learn how you can help.

Thank you to all the people who already contributed to TastyIgniter!

<a href="https://github.com/tastyigniter/TastyIgniter/graphs/contributors"><img src="https://opencollective.com/tastyigniter/contributors.svg?width=890&button=false" /></a>

## Supporting TastyIgniter
TastyIgniter is an MIT-licensed community-driven project with its continuous development made possible by the support of these awesome [backers](#contributing). If you'd like to help support the future of the project, please consider:

TastyIgniter is an MIT-licensed community-driven project with its continuous development made possible by the support of
these awesome [backers](#contributing). If you'd like to help support the future of the project, please consider:

1. Donating development time to the project.
2. Spreading the word about TastyIgniter.
3. Becoming a sponsor by donating funds (see below).

## Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site.

Become a sponsor and get your logo on our README on GitHub with a link to your site.

### via Open Collective

<a href="https://opencollective.com/tastyigniter" target="_blank" rel="noopener noreferrer"><img src="https://opencollective.com/tastyigniter/sponsors.svg"></a>

<a href="https://opencollective.com/tastyigniter" target="_blank" rel="noopener noreferrer"><img src="https://opencollective.com/tastyigniter/backers.svg"></a>

### via Patreon

[[Become a Patreon sponsor](https://www.patreon.com/sampoyigi)]

## Built With :heart:

- Laravel full-stack PHP framework
- Bootstrap 4 front-end framework
- Bootstrap 5 front-end framework

## Author

TastyIgniter was created by [Samuel Adepoyigi](https://github.com/sampoyigi).

## Security Vulnerabilities

If you discover a security vulnerability within TastyIgniter, please send an e-mail to [email protected].

## License
Starting with version 3.0.0 TastyIgniter is licensed under the [The MIT License (MIT)](https://tastyigniter.com/licence/). Older versions were GPL-licensed.

Starting with version 3.0.0 TastyIgniter is licensed under
the [The MIT License (MIT)](https://tastyigniter.com/license/). Older versions were GPL-licensed.

32 changes: 0 additions & 32 deletions app/Console/Kernel.php

This file was deleted.

50 changes: 0 additions & 50 deletions app/Exceptions/Handler.php

This file was deleted.

8 changes: 1 addition & 7 deletions app/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@

namespace App\Http\Controllers;

use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;

class Controller extends BaseController
abstract class Controller
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
}
67 changes: 0 additions & 67 deletions app/Http/Kernel.php

This file was deleted.

21 changes: 0 additions & 21 deletions app/Http/Middleware/Authenticate.php

This file was deleted.

17 changes: 0 additions & 17 deletions app/Http/Middleware/EncryptCookies.php

This file was deleted.

Loading