Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-11-24 (3 hours ago) | Not yet rated by the users | Total: Not yet counted | Not yet ranked |
Version | License | PHP version | Categories | |||
urlshortenerapi 1.0 | MIT/X Consortium ... | 5 | HTTP, PHP 5, Web services, Applications |
Description | Author | |
This package provides an API to create and access short URLs. |
How to Implement a Simple PHP URL Shortener Using the Package
<?php |
Files (46) |
File | Role | Description | ||
---|---|---|---|---|
app (9 directories) | ||||
bootstrap (1 file) | ||||
config (1 file) | ||||
database (3 directories) | ||||
public (2 files) | ||||
routes (1 file) | ||||
tests (2 files) | ||||
.editorconfig | Data | Auxiliary data | ||
.env.example | Data | Auxiliary data | ||
.styleci.yml | Data | Auxiliary data | ||
artisan | Example | Example script | ||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
phpcs.xml | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (46) | / | app |
Files (46) | / | app | / | Events |
File | Role | Description |
---|---|---|
Event.php | Class | Class source |
ExampleEvent.php | Class | Class source |
Files (46) | / | app | / | Helpers |
File | Role | Description |
---|---|---|
MetricDataHandler.php | Class | Class source |
ResponseFormatter.php | Class | Class source |
Files (46) | / | app | / | Http |
File | Role | Description | ||
---|---|---|---|---|
Controllers (1 file, 1 directory) | ||||
Middleware (2 files) |
Files (46) | / | app | / | Http | / | Controllers |
File | Role | Description | ||
---|---|---|---|---|
UrlManagement (3 files) | ||||
Controller.php | Class | Class source |
Files (46) | / | app | / | Http | / | Controllers | / | UrlManagement |
File | Role | Description |
---|---|---|
CreateUrlController.php | Class | Class source |
GetUrlInfoController.php | Class | Class source |
RedirectController.php | Class | Class source |
Files (46) | / | app | / | Http | / | Middleware |
File | Role | Description |
---|---|---|
Authenticate.php | Class | Class source |
ExampleMiddleware.php | Class | Class source |
Files (46) | / | app | / | Jobs |
File | Role | Description |
---|---|---|
ExampleJob.php | Class | Class source |
Job.php | Class | Class source |
Files (46) | / | app | / | Models |
File | Role | Description |
---|---|---|
Metric.php | Class | Class source |
Url.php | Class | Class source |
Files (46) | / | app | / | Providers |
File | Role | Description |
---|---|---|
AppServiceProvider.php | Class | Class source |
AuthServiceProvider.php | Class | Class source |
EventServiceProvider.php | Class | Class source |
Files (46) | / | database |
File | Role | Description | ||
---|---|---|---|---|
factories (2 files) | ||||
migrations (5 files) | ||||
seeders (3 files) |
Files (46) | / | database | / | factories |
File | Role | Description |
---|---|---|
MetricFactory.php | Class | Class source |
UrlFactory.php | Class | Class source |
Files (46) | / | database | / | migrations |
File | Role | Description |
---|---|---|
2024_10_28_014000_create_urls_table.php | Class | Class source |
2024_10_30_003245_...e_metrics_table.php | Class | Class source |
2024_10_31_235948_...gent_to_metrics.php | Class | Class source |
2024_11_01_003510_...ks_from_metrics.php | Class | Class source |
2024_11_01_003603_..._clicks_to_urls.php | Class | Class source |
Files (46) | / | database | / | seeders |
File | Role | Description |
---|---|---|
DatabaseSeeder.php | Class | Class source |
MetricSeeder.php | Class | Class source |
UrlSeeder.php | Class | Class source |
Files (46) | / | public |
Files (46) | / | tests |
File | Role | Description |
---|---|---|
ExampleTest.php | Class | Class source |
TestCase.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | |||||||
100% |
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.