phpsrbija / unfinished Goto Github PK
View Code? Open in Web Editor NEWProject Unfinished is a PHP open source project | Behind http://phpsrbija.rs website
License: MIT License
Project Unfinished is a PHP open source project | Behind http://phpsrbija.rs website
License: MIT License
Consider:
That's it for now :)
Consider switching to some mass mail service (mailchimp, mailgun) and subscribing through service API's.
Or implementing reCAPTCHA (similar protection system) because DB 'll be filled with spam subscriptions if not already (bots are madness :) ).
I advise using from the beginning of the project some Translation component, as from my experience, it would be much harder to implement it later.
I advice using Symfony translation component.
I will help with integration.
Consider using Twig template engine(or some other), to avoid having PHP statements in template files.
Also to get rid of PHP short tag expressions :)
Just Sing up it is free and allow this repo to be scanned. Visit link: https://styleci.io/
How to add badges: https://styleci.readme.io/docs/badges
Why styleCi:
StyleCI provides checks for both your open and closed source repos.
By analyzing every push or pull request made on your repo,
StyleCI ensures that your code is always written against the standards you want it to be.
[![StyleCI](https://styleci.io/repos/65193755/shield)](https://styleci.io/repos/65193755)
FP: Pacages\Page\Controller\PageController
....
public function edit($errors = []): HtmlResponse
{
$id = $this->request->getAttribute('id');
$page = $this->pageService->getPage($id);
if ($this->request->getParsedBody()) {
$page = new \Page\Entity\Page();
$page->exchangeArray($this->request->getParsedBody() + (array) $page);
}
}
Here: $page->exchangeArray($this->request->getParsedBody() + (array) $page);
ID of page is not part of Parsedbody so you will not hydrate page_id property of Page Entity class.
And if there where some errors as part of response you will get bad form action URL.
For easier project and PR tracking and categorization, would be nice to have milestones, like project versions, and also labels for easier Issues filtering, like API
, UI
, i18n
, High Priority
, etc.
Move declare(strict_types = 1);
to single point.
Maybe to index.php
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.