Skip to content

w2ca/filament-billing-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FilamentPHP Billing System

An example project demonstrating a billing system built with Laravel and FilamentPHP. It includes subscription management, recurring payments, and integration with Stripe using Laravel Cashier. The system also features a FilamentPHP interface for managing plans and viewing billing details.

Screenshot of Application Feature

Prerequisites

  • PHP >= 8.2
  • Composer >= 2.0
  • Node.js >= 16.0
  • MySQL >= 8.0 or SQLite >= 3.0
  • Laravel >= 11.x

Installation

  1. Clone the repository
git clone [email protected]:Willy-Bueno/filament-billing-example.git
cd filament-billing-example
  1. Install PHP dependencies
composer install
  1. Install and compile frontend dependencies
npm install
npm run dev
  1. Configure environment variables
cp .env.example .env
php artisan key:generate
  1. Configure your database in .env:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=billing_system
DB_USERNAME=your_username
DB_PASSWORD=your_password
  1. Run migrations and seeders
php artisan migrate --seed
  1. Link storage for file uploads
php artisan storage:link
  1. Create a Filament user
php artisan make:filament-user
  1. Configure Stripe keys in .env
STRIPE_KEY=your_stripe_key
STRIPE_SECRET=your_stripe_secret
  1. Configure the stripe prices in the config/stripe.php file

Contributing

  1. Fork the repository
  2. Create your feature changes in your branch
  3. Commit your changes
  4. Push to the branch
  5. Open a Pull Request

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Credits

Support

For support, please email [email protected] or create an issue in the GitHub repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages