Giter Site home page Giter Site logo

nicollassilva / minasrouter Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 2.0 165 KB

MinasRouter is simple, fast, and extremely readable for routes. Create and manage your routes in just a few steps.

License: MIT License

PHP 100.00%
router php mvc php-library routers restful-api restful php74 php8 routing

minasrouter's Introduction

Hello, world!

{
  "name": "Nicollas",
  "usernames": ["iNicollas", "Volwer"],
  "age": 24,
  "discord": "inicollas"
}

Developer at:

  • Vemto - A complete studio and code generator for Laravel and PHP
  • RapidMockup - Full-featured 3D mockups with the ability to customize the objects

I use in my work:

  • Laravel (Livewire, Jetstream, Breeze, Nova, Cashier, Socialite, etc);
  • VueJS 2 and 3
  • TailwindCSS
  • Bootstrap
  • Regular expressions
  • MySQL
  • AlpineJS
  • Tests with PHPUnit/Pest and Jest
  • BabylonJS (3D Engine)
  • SASS
  • Websocket (SocketIO/native API)
  • ReactPHP

Other knowledge: (not so in-depth, but that was once part of some job/hobby):

  • Java
  • C# (Unity Platform)
  • React
  • Typescript

Others projects:

  • OrionCMS - A modern and secure habbo CMS for Arcturus Emulator (Laravel, AlpineJS+)
  • Orion Emulator - A Habbo emulator made with Java (From scratch)
  • HydraPHP - A Habbo emulator made with PHP (From scratch)
  • Ruby Comet - A custom Habbo emulator based on Comet (by LeonHartley)
  • And several others..

minasrouter's People

Contributors

nicollassilva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bbroger1 rdrgzma

minasrouter's Issues

Problemas al recibir parámetros en las rutas

Para empezar estoy usan xampp para el entorno local, al enviar una ruta sin parámetros funciona muy bien, pero cuando envio un parámetro, este toma como parámetro el nombre de la carpeta donde esta el proyecto.

git

Realice las configuraciones.
En la carpeta raiz

RewriteEngine on
Options All -Indexes

RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} (www\.)?localhost
RewriteRule (.*) https://%{HTTP_HOST} [L,R=301]

RewriteCond %{REQUEST_URI} !public/
RewriteRule ^(.*) public/$1 [L]

Dentro de la carpeta publica


RewriteEngine On
#Options All -Indexes

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# URL Rewrite
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php?route=/$1 [L,QSA]

y el dominio lo deje así y no funciona.
Route::start("http://localhost", "@");

Y tampoco agregándole la carpeta del proyecto.
Route::start("http://localhost/api-gp-git", "@");

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.